#D2CB20

#d2cb20 ≈ Citrine

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

#d2cb20 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 12.55% blue; printed in CMYK it uses 0% cyan, 3.33% magenta, 84.76% yellow and 17.65% black. Its hue angle is 57.64°, with 73.55% saturation and 47.45% 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.83.

Description generated from the measured properties of this color.

Conversions of #d2cb20 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.5652

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 #cbc89f ≈ 0.001% of males
Protanopia #ddc300 ≈ 1.01% of males
Deuteranopia #e0c932 ≈ 1.27% of males
Tritanopia #e2bdad ≈ 0.0001% of males
Protanomaly #d9c600 ≈ 1.08% of males
Deuteranomaly #dbca2c ≈ 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-d2cb20 {
  color: #d2cb20;
}
Background
.bg-d2cb20 {
  background-color: #d2cb20;
  color: #000000;
}
Border
.border-d2cb20 {
  border: 2px solid #d2cb20;
}
CSS variables
:root {
  --color-primary: #d2cb20;
  --color-primary-rgb: 210 203 32;
  --color-primary-hsl: 58 74% 47%;
}
Gradient
.gradient-d2cb20 {
  background: linear-gradient(135deg, #d2cb20, #80d220);
}
Colored shadow
.shadow-d2cb20 {
  box-shadow: 0 8px 24px rgb(210 203 32 / 0.35);
}

Citrine
#d2cb20  rgb(210, 203, 32)  hsl(58, 74%, 47%)  Citrine
#2027d2  rgb(32, 39, 210)  hsl(238, 74%, 47%)  Medium Blue
#20d2cb  rgb(32, 210, 203)  hsl(178, 74%, 47%)  Medium Turquoise
#cb20d2  rgb(203, 32, 210)  hsl(298, 74%, 47%)  Medium Orchid