#D5CC2F

#d5cc2f ≈ Citrine

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

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

Description generated from the measured properties of this color.

Conversions of #d5cc2f 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.5754

Readable text 1.68:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 12.51:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #c8c8c8 ≈ 0.003% of males
Achromatomaly #cdc9a1 ≈ 0.001% of males
Protanopia #dec400 ≈ 1.01% of males
Deuteranopia #e2ca3c ≈ 1.27% of males
Tritanopia #e5beaf ≈ 0.0001% of males
Protanomaly #dbc71a ≈ 1.08% of males
Deuteranomaly #ddcb37 ≈ 4.63% of males
Tritanomaly #dfc48e ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Citrine
#d5cc2f  rgb(213, 204, 47)  hsl(57, 66%, 51%)  Citrine
#2f38d5  rgb(47, 56, 213)  hsl(237, 66%, 51%)  Persian Blue
#2fd5cc  rgb(47, 213, 204)  hsl(177, 66%, 51%)  Medium Turquoise
#cc2fd5  rgb(204, 47, 213)  hsl(297, 66%, 51%)  Medium Orchid