#DEC42E

#dec42e ≈ Citrine

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

#dec42e is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 87.06% red, 76.86% green and 18.04% blue; printed in CMYK it uses 0% cyan, 11.71% magenta, 79.28% yellow and 12.94% black. Its hue angle is 51.14°, with 72.73% saturation and 52.55% 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 12.04:1 (WCAG AAA). The closest named color is Citrine (#e4d00a), ΔE 3.82.

Description generated from the measured properties of this color.

Conversions of #dec42e 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.5521

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

Achromatopsia #c4c4c4 ≈ 0.003% of males
Achromatomaly #cfc49e ≈ 0.001% of males
Protanopia #d8bf00 ≈ 1.01% of males
Deuteranopia #dfc839 ≈ 1.27% of males
Tritanopia #f0b5a8 ≈ 0.0001% of males
Protanomaly #dac11a ≈ 1.08% of males
Deuteranomaly #dfc635 ≈ 4.63% of males
Tritanomaly #e9bb88 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Citrine
#dec42e  rgb(222, 196, 46)  hsl(51, 73%, 53%)  Citrine
#2e48de  rgb(46, 72, 222)  hsl(231, 73%, 53%)  Iris
#2edec4  rgb(46, 222, 196)  hsl(171, 73%, 53%)  Turquoise
#c42ede  rgb(196, 46, 222)  hsl(291, 73%, 53%)  Electric Purple