#D2CB1E

#d2cb1e ≈ Citrine

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

#d2cb1e is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 82.35% red, 79.61% green and 11.76% blue; printed in CMYK it uses 0% cyan, 3.33% magenta, 85.71% yellow and 17.65% black. Its hue angle is 57.67°, with 75% 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 brand accents. Black text on this color reaches a contrast ratio of 12.3:1 (WCAG AAA). The closest named color is Citrine (#e4d00a), ΔE 3.8.

Description generated from the measured properties of this color.

Conversions of #d2cb1e 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.5651

Readable text 1.71:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 12.3:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #c6c6c6 ≈ 0.003% of males
Achromatomaly #cbc89e ≈ 0.001% of males
Protanopia #ddc300 ≈ 1.01% of males
Deuteranopia #e0c931 ≈ 1.27% of males
Tritanopia #e2bdad ≈ 0.0001% of males
Protanomaly #d9c600 ≈ 1.08% of males
Deuteranomaly #dbca2a ≈ 4.63% of males
Tritanomaly #dcc38b ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-d2cb1e {
  color: #d2cb1e;
}
Background
.bg-d2cb1e {
  background-color: #d2cb1e;
  color: #000000;
}
Border
.border-d2cb1e {
  border: 2px solid #d2cb1e;
}
CSS variables
:root {
  --color-primary: #d2cb1e;
  --color-primary-rgb: 210 203 30;
  --color-primary-hsl: 58 75% 47%;
}
Gradient
.gradient-d2cb1e {
  background: linear-gradient(135deg, #d2cb1e, #7fd21e);
}
Colored shadow
.shadow-d2cb1e {
  box-shadow: 0 8px 24px rgb(210 203 30 / 0.35);
}

Citrine
#d2cb1e  rgb(210, 203, 30)  hsl(58, 75%, 47%)  Citrine
#1e25d2  rgb(30, 37, 210)  hsl(238, 75%, 47%)  Medium Blue
#1ed2cb  rgb(30, 210, 203)  hsl(178, 75%, 47%)  Medium Turquoise
#cb1ed2  rgb(203, 30, 210)  hsl(298, 75%, 47%)  Medium Orchid