#D0C30E

#d0c30e ≈ Citrine

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

#d0c30e is a color from the yellow family, with medium lightness and vivid saturation. In the RGB model it is made of 81.57% red, 76.47% green and 5.49% blue; printed in CMYK it uses 0% cyan, 6.25% magenta, 93.27% yellow and 18.43% black. Its hue angle is 55.98°, with 87.39% saturation and 43.53% 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 11.49:1 (WCAG AAA). The closest named color is Citrine (#e4d00a), ΔE 3.98.

Description generated from the measured properties of this color.

Conversions of #d0c30e 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.5247

Readable text 1.83:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 11.49:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #c0c0c0 ≈ 0.003% of males
Achromatomaly #c6c199 ≈ 0.001% of males
Protanopia #d6bc00 ≈ 1.01% of males
Deuteranopia #dac327 ≈ 1.27% of males
Tritanopia #e1b4a6 ≈ 0.0001% of males
Protanomaly #d3bf00 ≈ 1.08% of males
Deuteranomaly #d6c31f ≈ 4.63% of males
Tritanomaly #daba84 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-d0c30e {
  color: #d0c30e;
}
Background
.bg-d0c30e {
  background-color: #d0c30e;
  color: #000000;
}
Border
.border-d0c30e {
  border: 2px solid #d0c30e;
}
CSS variables
:root {
  --color-primary: #d0c30e;
  --color-primary-rgb: 208 195 14;
  --color-primary-hsl: 56 87% 44%;
}
Gradient
.gradient-d0c30e {
  background: linear-gradient(135deg, #d0c30e, #7cd00e);
}
Colored shadow
.shadow-d0c30e {
  box-shadow: 0 8px 24px rgb(208 195 14 / 0.35);
}

Citrine
#d0c30e  rgb(208, 195, 14)  hsl(56, 87%, 44%)  Citrine
#0e1bd0  rgb(14, 27, 208)  hsl(236, 87%, 44%)  Medium Blue
#0ed0c3  rgb(14, 208, 195)  hsl(176, 87%, 44%)  Medium Turquoise
#c30ed0  rgb(195, 14, 208)  hsl(296, 87%, 44%)  Electric Purple