#D2CA18

#d2ca18 ≈ Citrine

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

#d2ca18 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 9.41% blue; printed in CMYK it uses 0% cyan, 3.81% magenta, 88.57% yellow and 17.65% black. Its hue angle is 57.42°, with 79.49% saturation and 45.88% 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.2:1 (WCAG AAA). The closest named color is Citrine (#e4d00a), ΔE 3.63.

Description generated from the measured properties of this color.

Conversions of #d2ca18 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.5601

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

Achromatopsia #c5c5c5 ≈ 0.003% of males
Achromatomaly #cac79e ≈ 0.001% of males
Protanopia #dcc200 ≈ 1.01% of males
Deuteranopia #e0c82d ≈ 1.27% of males
Tritanopia #e2bcac ≈ 0.0001% of males
Protanomaly #d8c500 ≈ 1.08% of males
Deuteranomaly #dac926 ≈ 4.63% of males
Tritanomaly #dcc289 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Citrine
#d2ca18  rgb(210, 202, 24)  hsl(57, 79%, 46%)  Citrine
#1820d2  rgb(24, 32, 210)  hsl(237, 79%, 46%)  Medium Blue
#18d2ca  rgb(24, 210, 202)  hsl(177, 79%, 46%)  Medium Turquoise
#ca18d2  rgb(202, 24, 210)  hsl(297, 79%, 46%)  Electric Purple