#D2CA02

#d2ca02 ≈ Citrine

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

#d2ca02 is a color from the yellow family, with medium lightness and vivid saturation. In the RGB model it is made of 82.35% red, 79.22% green and 0.78% blue; printed in CMYK it uses 0% cyan, 3.81% magenta, 99.05% yellow and 17.65% black. Its hue angle is 57.69°, with 98.11% saturation and 41.57% 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.19:1 (WCAG AAA). The closest named color is Citrine (#e4d00a), ΔE 3.48.

Description generated from the measured properties of this color.

Conversions of #d2ca02 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.5595

Readable text 1.72:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 12.19:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #c5c5c5 ≈ 0.003% of males
Achromatomaly #cac79d ≈ 0.001% of males
Protanopia #ddc200 ≈ 1.01% of males
Deuteranopia #e0c825 ≈ 1.27% of males
Tritanopia #e2bbac ≈ 0.0001% of males
Protanomaly #d8c500 ≈ 1.08% of males
Deuteranomaly #dbc91b ≈ 4.63% of males
Tritanomaly #dcc188 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Citrine
#d2ca02  rgb(210, 202, 2)  hsl(58, 98%, 42%)  Citrine
#020ad2  rgb(2, 10, 210)  hsl(238, 98%, 42%)  Medium Blue
#02d2ca  rgb(2, 210, 202)  hsl(178, 98%, 42%)  Medium Turquoise
#ca02d2  rgb(202, 2, 210)  hsl(298, 98%, 42%)  Electric Purple