#D0C42E

#d0c42e ≈ Citrine

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

#d0c42e is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 81.57% red, 76.86% green and 18.04% blue; printed in CMYK it uses 0% cyan, 5.77% magenta, 77.88% yellow and 18.43% black. Its hue angle is 55.56°, with 63.78% saturation and 49.8% 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 11.62:1 (WCAG AAA). The closest named color is Citrine (#e4d00a), ΔE 4.55.

Description generated from the measured properties of this color.

Conversions of #d0c42e 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.5309

Readable text 1.81:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 11.62:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #c1c1c1 ≈ 0.003% of males
Achromatomaly #c7c29b ≈ 0.001% of males
Protanopia #d6bd00 ≈ 1.01% of males
Deuteranopia #dac43a ≈ 1.27% of males
Tritanopia #e0b6a8 ≈ 0.0001% of males
Protanomaly #d4c01b ≈ 1.08% of males
Deuteranomaly #d6c436 ≈ 4.63% of males
Tritanomaly #dabc88 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-d0c42e {
  color: #d0c42e;
}
Background
.bg-d0c42e {
  background-color: #d0c42e;
  color: #000000;
}
Border
.border-d0c42e {
  border: 2px solid #d0c42e;
}
CSS variables
:root {
  --color-primary: #d0c42e;
  --color-primary-rgb: 208 196 46;
  --color-primary-hsl: 56 64% 50%;
}
Gradient
.gradient-d0c42e {
  background: linear-gradient(135deg, #d0c42e, #8bd02e);
}
Colored shadow
.shadow-d0c42e {
  box-shadow: 0 8px 24px rgb(208 196 46 / 0.35);
}

Citrine
#d0c42e  rgb(208, 196, 46)  hsl(56, 64%, 50%)  Citrine
#2e3ad0  rgb(46, 58, 208)  hsl(236, 64%, 50%)  Persian Blue
#2ed0c4  rgb(46, 208, 196)  hsl(176, 64%, 50%)  Medium Turquoise
#c42ed0  rgb(196, 46, 208)  hsl(296, 64%, 50%)  Medium Orchid