#DEC70B

#dec70b ≈ Citrine

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

#dec70b 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 4.31% blue; printed in CMYK it uses 0% cyan, 10.36% magenta, 95.05% yellow and 12.94% black. Its hue angle is 53.46°, with 90.56% saturation and 45.69% 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 12.28:1 (WCAG AAA). The closest named color is Citrine (#e4d00a), ΔE 2.25.

Description generated from the measured properties of this color.

Conversions of #dec70b 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.564

Readable text 1.71:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 12.28: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 #e2ca26 ≈ 1.27% of males
Tritanopia #f0b7a9 ≈ 0.0001% of males
Protanomaly #dcc300 ≈ 1.08% of males
Deuteranomaly #e0c91e ≈ 4.63% of males
Tritanomaly #e9be87 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Citrine
#dec70b  rgb(222, 199, 11)  hsl(53, 91%, 46%)  Citrine
#0b22de  rgb(11, 34, 222)  hsl(233, 91%, 46%)  Blue
#0bdec7  rgb(11, 222, 199)  hsl(173, 91%, 46%)  Turquoise
#c70bde  rgb(199, 11, 222)  hsl(293, 91%, 46%)  Electric Purple