#ECD31B

#ecd31b ≈ Citrine

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

#ecd31b is a color from the yellow family, with medium lightness and vivid saturation. In the RGB model it is made of 92.55% red, 82.75% green and 10.59% blue; printed in CMYK it uses 0% cyan, 10.59% magenta, 88.56% yellow and 7.45% black. Its hue angle is 52.82°, with 84.62% saturation and 51.57% 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 13.9:1 (WCAG AAA). The closest named color is Citrine (#e4d00a), ΔE 1.52.

Description generated from the measured properties of this color.

Conversions of #ecd31b into other color spaces
HEX
RGB
RGB percent
CMY
CMYK
HSL
HSV / HSB
Web safe#ffcc33
CIE-LAB
XYZ
xyY
CIE-LCH
CIE-LUV
Hunter-Lab
OKLab
Binary
Decimal
Relative luminance0.645

Readable text 1.51:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 13.9:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #d2d2d2 ≈ 0.003% of males
Achromatomaly #ddd2a8 ≈ 0.001% of males
Protanopia #e9cd00 ≈ 1.01% of males
Deuteranopia #efd62f ≈ 1.27% of males
Tritanopia #ffc2b4 ≈ 0.0001% of males
Protanomaly #eacf00 ≈ 1.08% of males
Deuteranomaly #eed528 ≈ 4.63% of males
Tritanomaly #f8c990 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-ecd31b {
  color: #ecd31b;
}
Background
.bg-ecd31b {
  background-color: #ecd31b;
  color: #000000;
}
Border
.border-ecd31b {
  border: 2px solid #ecd31b;
}
CSS variables
:root {
  --color-primary: #ecd31b;
  --color-primary-rgb: 236 211 27;
  --color-primary-hsl: 53 85% 52%;
}
Gradient
.gradient-ecd31b {
  background: linear-gradient(135deg, #ecd31b, #9dec1b);
}
Colored shadow
.shadow-ecd31b {
  box-shadow: 0 8px 24px rgb(236 211 27 / 0.35);
}

Citrine
#ecd31b  rgb(236, 211, 27)  hsl(53, 85%, 52%)  Citrine
#1b34ec  rgb(27, 52, 236)  hsl(233, 85%, 52%)  Han Purple
#1becd3  rgb(27, 236, 211)  hsl(173, 85%, 52%)  Turquoise
#d31bec  rgb(211, 27, 236)  hsl(293, 85%, 52%)  Electric Purple