#D2CF2B

#d2cf2b ≈ Citrine

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

#d2cf2b is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 82.35% red, 81.18% green and 16.86% blue; printed in CMYK it uses 0% cyan, 1.43% magenta, 79.52% yellow and 17.65% black. Its hue angle is 58.92°, with 66.01% saturation and 49.61% 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.7:1 (WCAG AAA). The closest named color is Citrine (#e4d00a), ΔE 4.59.

Description generated from the measured properties of this color.

Conversions of #d2cf2b 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.585

Readable text 1.65:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 12.7:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #c9c9c9 ≈ 0.003% of males
Achromatomaly #cdcca2 ≈ 0.001% of males
Protanopia #e1c600 ≈ 1.01% of males
Deuteranopia #e3cc3a ≈ 1.27% of males
Tritanopia #e2c1b1 ≈ 0.0001% of males
Protanomaly #dbca11 ≈ 1.08% of males
Deuteranomaly #dccd35 ≈ 4.63% of males
Tritanomaly #dbc78f ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-d2cf2b {
  color: #d2cf2b;
}
Background
.bg-d2cf2b {
  background-color: #d2cf2b;
  color: #000000;
}
Border
.border-d2cf2b {
  border: 2px solid #d2cf2b;
}
CSS variables
:root {
  --color-primary: #d2cf2b;
  --color-primary-rgb: 210 207 43;
  --color-primary-hsl: 59 66% 50%;
}
Gradient
.gradient-d2cf2b {
  background: linear-gradient(135deg, #d2cf2b, #82d22b);
}
Colored shadow
.shadow-d2cf2b {
  box-shadow: 0 8px 24px rgb(210 207 43 / 0.35);
}

Citrine
#d2cf2b  rgb(210, 207, 43)  hsl(59, 66%, 50%)  Citrine
#2b2ed2  rgb(43, 46, 210)  hsl(239, 66%, 50%)  Persian Blue
#2bd2cf  rgb(43, 210, 207)  hsl(179, 66%, 50%)  Medium Turquoise
#cf2bd2  rgb(207, 43, 210)  hsl(299, 66%, 50%)  Medium Orchid