#D5C42E

#d5c42e ≈ Citrine

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

#d5c42e is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 83.53% red, 76.86% green and 18.04% blue; printed in CMYK it uses 0% cyan, 7.98% magenta, 78.4% yellow and 16.47% black. Its hue angle is 53.89°, with 66.53% saturation and 50.78% 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.76:1 (WCAG AAA). The closest named color is Citrine (#e4d00a), ΔE 3.91.

Description generated from the measured properties of this color.

Conversions of #d5c42e 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.5382

Readable text 1.79:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 11.76:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #c2c2c2 ≈ 0.003% of males
Achromatomaly #cac39c ≈ 0.001% of males
Protanopia #d7be00 ≈ 1.01% of males
Deuteranopia #dcc53a ≈ 1.27% of males
Tritanopia #e6b6a8 ≈ 0.0001% of males
Protanomaly #d6c01b ≈ 1.08% of males
Deuteranomaly #d9c536 ≈ 4.63% of males
Tritanomaly #dfbc88 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-d5c42e {
  color: #d5c42e;
}
Background
.bg-d5c42e {
  background-color: #d5c42e;
  color: #000000;
}
Border
.border-d5c42e {
  border: 2px solid #d5c42e;
}
CSS variables
:root {
  --color-primary: #d5c42e;
  --color-primary-rgb: 213 196 46;
  --color-primary-hsl: 54 67% 51%;
}
Gradient
.gradient-d5c42e {
  background: linear-gradient(135deg, #d5c42e, #92d52e);
}
Colored shadow
.shadow-d5c42e {
  box-shadow: 0 8px 24px rgb(213 196 46 / 0.35);
}

Citrine
#d5c42e  rgb(213, 196, 46)  hsl(54, 67%, 51%)  Citrine
#2e3fd5  rgb(46, 63, 213)  hsl(234, 67%, 51%)  Persian Blue
#2ed5c4  rgb(46, 213, 196)  hsl(174, 67%, 51%)  Turquoise
#c42ed5  rgb(196, 46, 213)  hsl(294, 67%, 51%)  Medium Orchid