#DECF12

#decf12 ≈ Citrine

  • yellow
  • Lightness: medium
  • Saturation: vivid
  • Warm

#decf12 is a color from the yellow family, with medium lightness and vivid saturation. In the RGB model it is made of 87.06% red, 81.18% green and 7.06% blue; printed in CMYK it uses 0% cyan, 6.76% magenta, 91.89% yellow and 12.94% black. Its hue angle is 55.59°, with 85% saturation and 47.06% lightness in HSL. It is a warm color, often associated with optimism, attention and joy. Designers typically use it for highlights and warnings, children's products and call-to-action buttons. Black text on this color reaches a contrast ratio of 13.04:1 (WCAG AAA). The closest named color is Citrine (#e4d00a), ΔE 1.33.

Description generated from the measured properties of this color.

Conversions of #decf12 into other color spaces
HEX
RGB
RGB percent
CMY
CMYK
HSL
HSV / HSB
Web safe#cccc00
CIE-LAB
XYZ
xyY
CIE-LCH
CIE-LUV
Hunter-Lab
OKLab
Binary
Decimal
Relative luminance0.602

Readable text 1.61:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 13.04:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #cccccc ≈ 0.003% of males
Achromatomaly #d3cda2 ≈ 0.001% of males
Protanopia #e3c800 ≈ 1.01% of males
Deuteranopia #e8cf2b ≈ 1.27% of males
Tritanopia #f0c0b0 ≈ 0.0001% of males
Protanomaly #e1cb00 ≈ 1.08% of males
Deuteranomaly #e4cf23 ≈ 4.63% of males
Tritanomaly #e9c68d ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-decf12 {
  color: #decf12;
}
Background
.bg-decf12 {
  background-color: #decf12;
  color: #000000;
}
Border
.border-decf12 {
  border: 2px solid #decf12;
}
CSS variables
:root {
  --color-primary: #decf12;
  --color-primary-rgb: 222 207 18;
  --color-primary-hsl: 56 85% 47%;
}
Gradient
.gradient-decf12 {
  background: linear-gradient(135deg, #decf12, #87de12);
}
Colored shadow
.shadow-decf12 {
  box-shadow: 0 8px 24px rgb(222 207 18 / 0.35);
}

Citrine
#decf12  rgb(222, 207, 18)  hsl(56, 85%, 47%)  Citrine
#1221de  rgb(18, 33, 222)  hsl(236, 85%, 47%)  Blue
#12decf  rgb(18, 222, 207)  hsl(176, 85%, 47%)  Turquoise
#cf12de  rgb(207, 18, 222)  hsl(296, 85%, 47%)  Electric Purple