#DEC508

#dec508 ≈ Citrine

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

#dec508 is a color from the yellow family, with medium lightness and vivid saturation. In the RGB model it is made of 87.06% red, 77.25% green and 3.14% blue; printed in CMYK it uses 0% cyan, 11.26% magenta, 96.4% yellow and 12.94% black. Its hue angle is 52.99°, with 93.04% saturation and 45.1% 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.1:1 (WCAG AAA). The closest named color is Citrine (#e4d00a), ΔE 2.83.

Description generated from the measured properties of this color.

Conversions of #dec508 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.5548

Readable text 1.74:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 12.1:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #c4c4c4 ≈ 0.003% of males
Achromatomaly #cfc59c ≈ 0.001% of males
Protanopia #dabf00 ≈ 1.01% of males
Deuteranopia #e0c824 ≈ 1.27% of males
Tritanopia #f0b5a8 ≈ 0.0001% of males
Protanomaly #dbc200 ≈ 1.08% of males
Deuteranomaly #dfc71c ≈ 4.63% of males
Tritanomaly #e9bc85 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-dec508 {
  color: #dec508;
}
Background
.bg-dec508 {
  background-color: #dec508;
  color: #000000;
}
Border
.border-dec508 {
  border: 2px solid #dec508;
}
CSS variables
:root {
  --color-primary: #dec508;
  --color-primary-rgb: 222 197 8;
  --color-primary-hsl: 53 93% 45%;
}
Gradient
.gradient-dec508 {
  background: linear-gradient(135deg, #dec508, #8cde08);
}
Colored shadow
.shadow-dec508 {
  box-shadow: 0 8px 24px rgb(222 197 8 / 0.35);
}

Citrine
#dec508  rgb(222, 197, 8)  hsl(53, 93%, 45%)  Citrine
#0821de  rgb(8, 33, 222)  hsl(233, 93%, 45%)  Blue
#08dec5  rgb(8, 222, 197)  hsl(173, 93%, 45%)  Turquoise
#c508de  rgb(197, 8, 222)  hsl(293, 93%, 45%)  Electric Purple