#DEC30F

#dec30f ≈ Citrine

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

#dec30f is a color from the yellow family, with medium lightness and vivid saturation. In the RGB model it is made of 87.06% red, 76.47% green and 5.88% blue; printed in CMYK it uses 0% cyan, 12.16% magenta, 93.24% yellow and 12.94% black. Its hue angle is 52.17°, with 87.34% saturation and 46.47% 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.92:1 (WCAG AAA). The closest named color is Citrine (#e4d00a), ΔE 3.49.

Description generated from the measured properties of this color.

Conversions of #dec30f 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.5459

Readable text 1.76:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 11.92:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #c3c3c3 ≈ 0.003% of males
Achromatomaly #cec39b ≈ 0.001% of males
Protanopia #d8be00 ≈ 1.01% of males
Deuteranopia #dfc726 ≈ 1.27% of males
Tritanopia #f0b3a6 ≈ 0.0001% of males
Protanomaly #dac000 ≈ 1.08% of males
Deuteranomaly #dfc51f ≈ 4.63% of males
Tritanomaly #e9ba84 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-dec30f {
  color: #dec30f;
}
Background
.bg-dec30f {
  background-color: #dec30f;
  color: #000000;
}
Border
.border-dec30f {
  border: 2px solid #dec30f;
}
CSS variables
:root {
  --color-primary: #dec30f;
  --color-primary-rgb: 222 195 15;
  --color-primary-hsl: 52 87% 46%;
}
Gradient
.gradient-dec30f {
  background: linear-gradient(135deg, #dec30f, #92de0f);
}
Colored shadow
.shadow-dec30f {
  box-shadow: 0 8px 24px rgb(222 195 15 / 0.35);
}

Citrine
#dec30f  rgb(222, 195, 15)  hsl(52, 87%, 46%)  Citrine
#0f2ade  rgb(15, 42, 222)  hsl(232, 87%, 46%)  Blue
#0fdec3  rgb(15, 222, 195)  hsl(172, 87%, 46%)  Turquoise
#c30fde  rgb(195, 15, 222)  hsl(292, 87%, 46%)  Electric Purple