#D4CB2C

#d4cb2c ≈ Citrine

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

#d4cb2c is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 83.14% red, 79.61% green and 17.25% blue; printed in CMYK it uses 0% cyan, 4.25% magenta, 79.25% yellow and 16.86% black. Its hue angle is 56.79°, with 66.14% saturation and 50.2% 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.38:1 (WCAG AAA). The closest named color is Citrine (#e4d00a), ΔE 3.71.

Description generated from the measured properties of this color.

Conversions of #d4cb2c 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.5689

Readable text 1.7:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 12.38:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #c7c7c7 ≈ 0.003% of males
Achromatomaly #ccc8a0 ≈ 0.001% of males
Protanopia #ddc300 ≈ 1.01% of males
Deuteranopia #e1c93a ≈ 1.27% of males
Tritanopia #e4bdae ≈ 0.0001% of males
Protanomaly #dac614 ≈ 1.08% of males
Deuteranomaly #dcca35 ≈ 4.63% of males
Tritanomaly #dec38c ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-d4cb2c {
  color: #d4cb2c;
}
Background
.bg-d4cb2c {
  background-color: #d4cb2c;
  color: #000000;
}
Border
.border-d4cb2c {
  border: 2px solid #d4cb2c;
}
CSS variables
:root {
  --color-primary: #d4cb2c;
  --color-primary-rgb: 212 203 44;
  --color-primary-hsl: 57 66% 50%;
}
Gradient
.gradient-d4cb2c {
  background: linear-gradient(135deg, #d4cb2c, #89d42c);
}
Colored shadow
.shadow-d4cb2c {
  box-shadow: 0 8px 24px rgb(212 203 44 / 0.35);
}

Citrine
#d4cb2c  rgb(212, 203, 44)  hsl(57, 66%, 50%)  Citrine
#2c35d4  rgb(44, 53, 212)  hsl(237, 66%, 50%)  Persian Blue
#2cd4cb  rgb(44, 212, 203)  hsl(177, 66%, 50%)  Medium Turquoise
#cb2cd4  rgb(203, 44, 212)  hsl(297, 66%, 50%)  Medium Orchid