#DEC942

#dec942 ≈ Citrine

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

#dec942 is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 87.06% red, 78.82% green and 25.88% blue; printed in CMYK it uses 0% cyan, 9.46% magenta, 70.27% yellow and 12.94% black. Its hue angle is 51.92°, with 70.27% saturation and 56.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 brand accents. Black text on this color reaches a contrast ratio of 12.54:1 (WCAG AAA). The closest named color is Citrine (#e4d00a), ΔE 3.89.

Description generated from the measured properties of this color.

Conversions of #dec942 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.577

Readable text 1.67:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 12.54:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #c8c8c8 ≈ 0.003% of males
Achromatomaly #d1c8a3 ≈ 0.001% of males
Protanopia #dcc32d ≈ 1.01% of males
Deuteranopia #e2cb4a ≈ 1.27% of males
Tritanopia #efbbae ≈ 0.0001% of males
Protanomaly #ddc637 ≈ 1.08% of males
Deuteranomaly #e0ca47 ≈ 4.63% of males
Tritanomaly #e8c18f ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-dec942 {
  color: #dec942;
}
Background
.bg-dec942 {
  background-color: #dec942;
  color: #000000;
}
Border
.border-dec942 {
  border: 2px solid #dec942;
}
CSS variables
:root {
  --color-primary: #dec942;
  --color-primary-rgb: 222 201 66;
  --color-primary-hsl: 52 70% 56%;
}
Gradient
.gradient-dec942 {
  background: linear-gradient(135deg, #dec942, #a5de42);
}
Colored shadow
.shadow-dec942 {
  box-shadow: 0 8px 24px rgb(222 201 66 / 0.35);
}

Citrine
#dec942  rgb(222, 201, 66)  hsl(52, 70%, 56%)  Citrine
#4257de  rgb(66, 87, 222)  hsl(232, 70%, 56%)  Iris
#42dec9  rgb(66, 222, 201)  hsl(172, 70%, 56%)  Turquoise
#c942de  rgb(201, 66, 222)  hsl(292, 70%, 56%)  Medium Orchid