#D2CE04

#d2ce04 ≈ Citrine

  • yellow
  • Lightness: medium
  • Saturation: vivid
  • Warm

#d2ce04 is a color from the yellow family, with medium lightness and vivid saturation. In the RGB model it is made of 82.35% red, 80.78% green and 1.57% blue; printed in CMYK it uses 0% cyan, 1.9% magenta, 98.1% yellow and 17.65% black. Its hue angle is 58.83°, with 96.26% saturation and 41.96% 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 call-to-action buttons. Black text on this color reaches a contrast ratio of 12.57:1 (WCAG AAA). The closest named color is Citrine (#e4d00a), ΔE 3.96.

Description generated from the measured properties of this color.

Conversions of #d2ce04 into other color spaces
HEX
RGB
RGB percent
CMY
CMYK
HSL
HSV / HSB
Web safe#cccc00
CIE-LAB
XYZ
xyY
CIE-LCH
CIE-LUV
Hunter-Lab
OKLab
Binary
Decimal
Relative luminance0.5785

Readable text 1.67:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 12.57:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #c8c8c8 ≈ 0.003% of males
Achromatomaly #cccb9f ≈ 0.001% of males
Protanopia #e0c500 ≈ 1.01% of males
Deuteranopia #e3cb27 ≈ 1.27% of males
Tritanopia #e2c0af ≈ 0.0001% of males
Protanomaly #dbc900 ≈ 1.08% of males
Deuteranomaly #dccc1d ≈ 4.63% of males
Tritanomaly #dcc58b ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-d2ce04 {
  color: #d2ce04;
}
Background
.bg-d2ce04 {
  background-color: #d2ce04;
  color: #000000;
}
Border
.border-d2ce04 {
  border: 2px solid #d2ce04;
}
CSS variables
:root {
  --color-primary: #d2ce04;
  --color-primary-rgb: 210 206 4;
  --color-primary-hsl: 59 96% 42%;
}
Gradient
.gradient-d2ce04 {
  background: linear-gradient(135deg, #d2ce04, #6fd204);
}
Colored shadow
.shadow-d2ce04 {
  box-shadow: 0 8px 24px rgb(210 206 4 / 0.35);
}

Citrine
#d2ce04  rgb(210, 206, 4)  hsl(59, 96%, 42%)  Citrine
#0408d2  rgb(4, 8, 210)  hsl(239, 96%, 42%)  Medium Blue
#04d2ce  rgb(4, 210, 206)  hsl(179, 96%, 42%)  Robin Egg Blue
#ce04d2  rgb(206, 4, 210)  hsl(299, 96%, 42%)  Electric Purple