#D0CA02

#d0ca02 ≈ Citrine

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

#d0ca02 is a color from the yellow family, with medium lightness and vivid saturation. In the RGB model it is made of 81.57% red, 79.22% green and 0.78% blue; printed in CMYK it uses 0% cyan, 2.88% magenta, 99.04% yellow and 18.43% black. Its hue angle is 58.25°, with 98.1% saturation and 41.18% 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.13:1 (WCAG AAA). The closest named color is Citrine (#e4d00a), ΔE 3.92.

Description generated from the measured properties of this color.

Conversions of #d0ca02 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.5566

Readable text 1.73:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 12.13:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #c5c5c5 ≈ 0.003% of males
Achromatomaly #c9c79c ≈ 0.001% of males
Protanopia #dcc200 ≈ 1.01% of males
Deuteranopia #dfc725 ≈ 1.27% of males
Tritanopia #e0bcac ≈ 0.0001% of males
Protanomaly #d7c500 ≈ 1.08% of males
Deuteranomaly #d9c81c ≈ 4.63% of males
Tritanomaly #dac288 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-d0ca02 {
  color: #d0ca02;
}
Background
.bg-d0ca02 {
  background-color: #d0ca02;
  color: #000000;
}
Border
.border-d0ca02 {
  border: 2px solid #d0ca02;
}
CSS variables
:root {
  --color-primary: #d0ca02;
  --color-primary-rgb: 208 202 2;
  --color-primary-hsl: 58 98% 41%;
}
Gradient
.gradient-d0ca02 {
  background: linear-gradient(135deg, #d0ca02, #6fd002);
}
Colored shadow
.shadow-d0ca02 {
  box-shadow: 0 8px 24px rgb(208 202 2 / 0.35);
}

Citrine
#d0ca02  rgb(208, 202, 2)  hsl(58, 98%, 41%)  Citrine
#0208d0  rgb(2, 8, 208)  hsl(238, 98%, 41%)  Medium Blue
#02d0ca  rgb(2, 208, 202)  hsl(178, 98%, 41%)  Medium Turquoise
#ca02d0  rgb(202, 2, 208)  hsl(298, 98%, 41%)  Electric Purple