#D8CA06

#d8ca06 ≈ Citrine

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

#d8ca06 is a color from the yellow family, with medium lightness and vivid saturation. In the RGB model it is made of 84.71% red, 79.22% green and 2.35% blue; printed in CMYK it uses 0% cyan, 6.48% magenta, 97.22% yellow and 15.29% black. Its hue angle is 56°, with 94.59% saturation and 43.53% 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.37:1 (WCAG AAA). The closest named color is Citrine (#e4d00a), ΔE 2.25.

Description generated from the measured properties of this color.

Conversions of #d8ca06 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.5685

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

Achromatopsia #c7c7c7 ≈ 0.003% of males
Achromatomaly #cec89e ≈ 0.001% of males
Protanopia #ddc300 ≈ 1.01% of males
Deuteranopia #e2ca26 ≈ 1.27% of males
Tritanopia #e9bbac ≈ 0.0001% of males
Protanomaly #dbc600 ≈ 1.08% of males
Deuteranomaly #deca1d ≈ 4.63% of males
Tritanomaly #e3c188 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-d8ca06 {
  color: #d8ca06;
}
Background
.bg-d8ca06 {
  background-color: #d8ca06;
  color: #000000;
}
Border
.border-d8ca06 {
  border: 2px solid #d8ca06;
}
CSS variables
:root {
  --color-primary: #d8ca06;
  --color-primary-rgb: 216 202 6;
  --color-primary-hsl: 56 95% 44%;
}
Gradient
.gradient-d8ca06 {
  background: linear-gradient(135deg, #d8ca06, #7dd806);
}
Colored shadow
.shadow-d8ca06 {
  box-shadow: 0 8px 24px rgb(216 202 6 / 0.35);
}

Citrine
#d8ca06  rgb(216, 202, 6)  hsl(56, 95%, 44%)  Citrine
#0614d8  rgb(6, 20, 216)  hsl(236, 95%, 44%)  Medium Blue
#06d8ca  rgb(6, 216, 202)  hsl(176, 95%, 44%)  Turquoise
#ca06d8  rgb(202, 6, 216)  hsl(296, 95%, 44%)  Electric Purple