#DECD1F

#decd1f ≈ Citrine

  • yellow
  • Lightness: medium
  • Saturation: strong
  • Warm

#decd1f is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 87.06% red, 80.39% green and 12.16% blue; printed in CMYK it uses 0% cyan, 7.66% magenta, 86.04% yellow and 12.94% black. Its hue angle is 54.66°, with 75.49% saturation and 49.61% 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 brand accents. Black text on this color reaches a contrast ratio of 12.86:1 (WCAG AAA). The closest named color is Citrine (#e4d00a), ΔE 1.42.

Description generated from the measured properties of this color.

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

Readable text 1.63:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 12.86:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #cacaca ≈ 0.003% of males
Achromatomaly #d2cba2 ≈ 0.001% of males
Protanopia #e1c600 ≈ 1.01% of males
Deuteranopia #e6ce31 ≈ 1.27% of males
Tritanopia #f0beaf ≈ 0.0001% of males
Protanomaly #e0c900 ≈ 1.08% of males
Deuteranomaly #e3cd2b ≈ 4.63% of males
Tritanomaly #e9c48c ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-decd1f {
  color: #decd1f;
}
Background
.bg-decd1f {
  background-color: #decd1f;
  color: #000000;
}
Border
.border-decd1f {
  border: 2px solid #decd1f;
}
CSS variables
:root {
  --color-primary: #decd1f;
  --color-primary-rgb: 222 205 31;
  --color-primary-hsl: 55 75% 50%;
}
Gradient
.gradient-decd1f {
  background: linear-gradient(135deg, #decd1f, #90de1f);
}
Colored shadow
.shadow-decd1f {
  box-shadow: 0 8px 24px rgb(222 205 31 / 0.35);
}

Citrine
#decd1f  rgb(222, 205, 31)  hsl(55, 75%, 50%)  Citrine
#1f30de  rgb(31, 48, 222)  hsl(235, 75%, 50%)  Persian Blue
#1fdecd  rgb(31, 222, 205)  hsl(175, 75%, 50%)  Turquoise
#cd1fde  rgb(205, 31, 222)  hsl(295, 75%, 50%)  Electric Purple