#D5CC00

#d5cc00 ≈ Citrine

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

#d5cc00 is a color from the yellow family, with medium lightness and vivid saturation. In the RGB model it is made of 83.53% red, 80% green and 0% blue; printed in CMYK it uses 0% cyan, 4.23% magenta, 100% yellow and 16.47% black. Its hue angle is 57.46°, with 100% saturation and 41.76% 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.47:1 (WCAG AAA). The closest named color is Citrine (#e4d00a), ΔE 2.98.

Description generated from the measured properties of this color.

Conversions of #d5cc00 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.5733

Readable text 1.68:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 12.47:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #c7c7c7 ≈ 0.003% of males
Achromatomaly #cdc99e ≈ 0.001% of males
Protanopia #dfc400 ≈ 1.01% of males
Deuteranopia #e2ca24 ≈ 1.27% of males
Tritanopia #e6bdae ≈ 0.0001% of males
Protanomaly #dbc700 ≈ 1.08% of males
Deuteranomaly #ddcb1b ≈ 4.63% of males
Tritanomaly #dfc38a ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-d5cc00 {
  color: #d5cc00;
}
Background
.bg-d5cc00 {
  background-color: #d5cc00;
  color: #000000;
}
Border
.border-d5cc00 {
  border: 2px solid #d5cc00;
}
CSS variables
:root {
  --color-primary: #d5cc00;
  --color-primary-rgb: 213 204 0;
  --color-primary-hsl: 57 100% 42%;
}
Gradient
.gradient-d5cc00 {
  background: linear-gradient(135deg, #d5cc00, #74d500);
}
Colored shadow
.shadow-d5cc00 {
  box-shadow: 0 8px 24px rgb(213 204 0 / 0.35);
}

Citrine
#d5cc00  rgb(213, 204, 0)  hsl(57, 100%, 42%)  Citrine
#0009d5  rgb(0, 9, 213)  hsl(237, 100%, 42%)  Medium Blue
#00d5cc  rgb(0, 213, 204)  hsl(177, 100%, 42%)  Medium Turquoise
#cc00d5  rgb(204, 0, 213)  hsl(297, 100%, 42%)  Electric Purple