#E2CD51

#e2cd51 ≈ Straw

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

#e2cd51 is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 88.63% red, 80.39% green and 31.76% blue; printed in CMYK it uses 0% cyan, 9.29% magenta, 64.16% yellow and 11.37% black. Its hue angle is 51.31°, with 71.43% saturation and 60.2% 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.09:1 (WCAG AAA). The closest named color is Straw (#e4d96f), ΔE 4.36.

Description generated from the measured properties of this color.

Conversions of #e2cd51 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.6043

Readable text 1.6:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 13.09:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #cccccc ≈ 0.003% of males
Achromatomaly #d5cca9 ≈ 0.001% of males
Protanopia #dfc842 ≈ 1.01% of males
Deuteranopia #e5d058 ≈ 1.27% of males
Tritanopia #f3bfb3 ≈ 0.0001% of males
Protanomaly #e0ca48 ≈ 1.08% of males
Deuteranomaly #e4cf55 ≈ 4.63% of males
Tritanomaly #ecc596 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-e2cd51 {
  color: #e2cd51;
}
Background
.bg-e2cd51 {
  background-color: #e2cd51;
  color: #000000;
}
Border
.border-e2cd51 {
  border: 2px solid #e2cd51;
}
CSS variables
:root {
  --color-primary: #e2cd51;
  --color-primary-rgb: 226 205 81;
  --color-primary-hsl: 51 71% 60%;
}
Gradient
.gradient-e2cd51 {
  background: linear-gradient(135deg, #e2cd51, #afe251);
}
Colored shadow
.shadow-e2cd51 {
  box-shadow: 0 8px 24px rgb(226 205 81 / 0.35);
}

Straw
#e2cd51  rgb(226, 205, 81)  hsl(51, 71%, 60%)  Straw
#5166e2  rgb(81, 102, 226)  hsl(231, 71%, 60%)  Ultramarine Blue
#51e2cd  rgb(81, 226, 205)  hsl(171, 71%, 60%)  Turquoise
#cd51e2  rgb(205, 81, 226)  hsl(291, 71%, 60%)  Medium Orchid