#D5CF2F

#d5cf2f ≈ Citrine

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

#d5cf2f is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 83.53% red, 81.18% green and 18.43% blue; printed in CMYK it uses 0% cyan, 2.82% magenta, 77.93% yellow and 16.47% black. Its hue angle is 57.83°, with 66.4% saturation and 50.98% 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.8:1 (WCAG AAA). The closest named color is Citrine (#e4d00a), ΔE 4.02.

Description generated from the measured properties of this color.

Conversions of #d5cf2f 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.5898

Readable text 1.64:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 12.8:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #cacaca ≈ 0.003% of males
Achromatomaly #cecca3 ≈ 0.001% of males
Protanopia #e1c700 ≈ 1.01% of males
Deuteranopia #e4cd3d ≈ 1.27% of males
Tritanopia #e5c1b2 ≈ 0.0001% of males
Protanomaly #dcca19 ≈ 1.08% of males
Deuteranomaly #dece38 ≈ 4.63% of males
Tritanomaly #dfc790 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-d5cf2f {
  color: #d5cf2f;
}
Background
.bg-d5cf2f {
  background-color: #d5cf2f;
  color: #000000;
}
Border
.border-d5cf2f {
  border: 2px solid #d5cf2f;
}
CSS variables
:root {
  --color-primary: #d5cf2f;
  --color-primary-rgb: 213 207 47;
  --color-primary-hsl: 58 66% 51%;
}
Gradient
.gradient-d5cf2f {
  background: linear-gradient(135deg, #d5cf2f, #88d52f);
}
Colored shadow
.shadow-d5cf2f {
  box-shadow: 0 8px 24px rgb(213 207 47 / 0.35);
}

Citrine
#d5cf2f  rgb(213, 207, 47)  hsl(58, 66%, 51%)  Citrine
#2f35d5  rgb(47, 53, 213)  hsl(238, 66%, 51%)  Persian Blue
#2fd5cf  rgb(47, 213, 207)  hsl(178, 66%, 51%)  Medium Turquoise
#cf2fd5  rgb(207, 47, 213)  hsl(298, 66%, 51%)  Medium Orchid