#DEC71C

#dec71c ≈ Citrine

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

#dec71c is a color from the yellow family, with medium lightness and vivid saturation. In the RGB model it is made of 87.06% red, 78.04% green and 10.98% blue; printed in CMYK it uses 0% cyan, 10.36% magenta, 87.39% yellow and 12.94% black. Its hue angle is 52.89°, with 77.6% saturation and 49.02% 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.29:1 (WCAG AAA). The closest named color is Citrine (#e4d00a), ΔE 2.43.

Description generated from the measured properties of this color.

Conversions of #dec71c 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.5646

Readable text 1.71:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 12.29:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #c6c6c6 ≈ 0.003% of males
Achromatomaly #d0c69e ≈ 0.001% of males
Protanopia #dbc100 ≈ 1.01% of males
Deuteranopia #e2ca2e ≈ 1.27% of males
Tritanopia #f0b7aa ≈ 0.0001% of males
Protanomaly #dcc300 ≈ 1.08% of males
Deuteranomaly #e0c928 ≈ 4.63% of males
Tritanomaly #e9be88 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-dec71c {
  color: #dec71c;
}
Background
.bg-dec71c {
  background-color: #dec71c;
  color: #000000;
}
Border
.border-dec71c {
  border: 2px solid #dec71c;
}
CSS variables
:root {
  --color-primary: #dec71c;
  --color-primary-rgb: 222 199 28;
  --color-primary-hsl: 53 78% 49%;
}
Gradient
.gradient-dec71c {
  background: linear-gradient(135deg, #dec71c, #94de1c);
}
Colored shadow
.shadow-dec71c {
  box-shadow: 0 8px 24px rgb(222 199 28 / 0.35);
}

Citrine
#dec71c  rgb(222, 199, 28)  hsl(53, 78%, 49%)  Citrine
#1c33de  rgb(28, 51, 222)  hsl(233, 78%, 49%)  Persian Blue
#1cdec7  rgb(28, 222, 199)  hsl(173, 78%, 49%)  Turquoise
#c71cde  rgb(199, 28, 222)  hsl(293, 78%, 49%)  Electric Purple