#DEC428

#dec428 ≈ Citrine

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

#dec428 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 15.69% blue; printed in CMYK it uses 0% cyan, 11.71% magenta, 81.98% yellow and 12.94% black. Its hue angle is 51.43°, with 73.39% saturation and 51.37% 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.03:1 (WCAG AAA). The closest named color is Citrine (#e4d00a), ΔE 3.6.

Description generated from the measured properties of this color.

Conversions of #dec428 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.5516

Readable text 1.75:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 12.03:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #c4c4c4 ≈ 0.003% of males
Achromatomaly #cfc49d ≈ 0.001% of males
Protanopia #d8bf00 ≈ 1.01% of males
Deuteranopia #dfc835 ≈ 1.27% of males
Tritanopia #f0b5a8 ≈ 0.0001% of males
Protanomaly #dbc10e ≈ 1.08% of males
Deuteranomaly #dfc630 ≈ 4.63% of males
Tritanomaly #e9bb87 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Citrine
#dec428  rgb(222, 196, 40)  hsl(51, 73%, 51%)  Citrine
#2842de  rgb(40, 66, 222)  hsl(231, 73%, 51%)  Persian Blue
#28dec4  rgb(40, 222, 196)  hsl(171, 73%, 51%)  Turquoise
#c428de  rgb(196, 40, 222)  hsl(291, 73%, 51%)  Electric Purple