#D2CA28

#d2ca28 ≈ Citrine

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

#d2ca28 is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 82.35% red, 79.22% green and 15.69% blue; printed in CMYK it uses 0% cyan, 3.81% magenta, 80.95% yellow and 17.65% black. Its hue angle is 57.18°, with 68% saturation and 49.02% 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.22:1 (WCAG AAA). The closest named color is Citrine (#e4d00a), ΔE 3.95.

Description generated from the measured properties of this color.

Conversions of #d2ca28 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.561

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

Achromatopsia #c5c5c5 ≈ 0.003% of males
Achromatomaly #cbc79f ≈ 0.001% of males
Protanopia #dcc200 ≈ 1.01% of males
Deuteranopia #dfc837 ≈ 1.27% of males
Tritanopia #e2bcad ≈ 0.0001% of males
Protanomaly #d8c50b ≈ 1.08% of males
Deuteranomaly #dac932 ≈ 4.63% of males
Tritanomaly #dcc28b ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-d2ca28 {
  color: #d2ca28;
}
Background
.bg-d2ca28 {
  background-color: #d2ca28;
  color: #000000;
}
Border
.border-d2ca28 {
  border: 2px solid #d2ca28;
}
CSS variables
:root {
  --color-primary: #d2ca28;
  --color-primary-rgb: 210 202 40;
  --color-primary-hsl: 57 68% 49%;
}
Gradient
.gradient-d2ca28 {
  background: linear-gradient(135deg, #d2ca28, #85d228);
}
Colored shadow
.shadow-d2ca28 {
  box-shadow: 0 8px 24px rgb(210 202 40 / 0.35);
}

Citrine
#d2ca28  rgb(210, 202, 40)  hsl(57, 68%, 49%)  Citrine
#2830d2  rgb(40, 48, 210)  hsl(237, 68%, 49%)  Persian Blue
#28d2ca  rgb(40, 210, 202)  hsl(177, 68%, 49%)  Medium Turquoise
#ca28d2  rgb(202, 40, 210)  hsl(297, 68%, 49%)  Medium Orchid