#E2CF54

#e2cf54 ≈ Straw

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

#e2cf54 is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 88.63% red, 81.18% green and 32.94% blue; printed in CMYK it uses 0% cyan, 8.41% magenta, 62.83% yellow and 11.37% black. Its hue angle is 51.97°, with 71% saturation and 60.78% 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 13.29:1 (WCAG AAA). The closest named color is Straw (#e4d96f), ΔE 3.75.

Description generated from the measured properties of this color.

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

Readable text 1.58:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 13.29:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #cecece ≈ 0.003% of males
Achromatomaly #d6ceaa ≈ 0.001% of males
Protanopia #e1c945 ≈ 1.01% of males
Deuteranopia #e7d15b ≈ 1.27% of males
Tritanopia #f2c1b5 ≈ 0.0001% of males
Protanomaly #e2cc4c ≈ 1.08% of males
Deuteranomaly #e5d058 ≈ 4.63% of males
Tritanomaly #ecc798 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-e2cf54 {
  color: #e2cf54;
}
Background
.bg-e2cf54 {
  background-color: #e2cf54;
  color: #000000;
}
Border
.border-e2cf54 {
  border: 2px solid #e2cf54;
}
CSS variables
:root {
  --color-primary: #e2cf54;
  --color-primary-rgb: 226 207 84;
  --color-primary-hsl: 52 71% 61%;
}
Gradient
.gradient-e2cf54 {
  background: linear-gradient(135deg, #e2cf54, #aee254);
}
Colored shadow
.shadow-e2cf54 {
  box-shadow: 0 8px 24px rgb(226 207 84 / 0.35);
}

Straw
#e2cf54  rgb(226, 207, 84)  hsl(52, 71%, 61%)  Straw
#5467e2  rgb(84, 103, 226)  hsl(232, 71%, 61%)  Ultramarine Blue
#54e2cf  rgb(84, 226, 207)  hsl(172, 71%, 61%)  Turquoise
#cf54e2  rgb(207, 84, 226)  hsl(292, 71%, 61%)  Medium Orchid