#CEC562

#cec562 ≈ Straw

  • yellow
  • Lightness: medium
  • Saturation: moderate
  • Warm

#cec562 is a color from the yellow family, with medium lightness and moderate saturation. In the RGB model it is made of 80.78% red, 77.25% green and 38.43% blue; printed in CMYK it uses 0% cyan, 4.37% magenta, 52.43% yellow and 19.22% black. Its hue angle is 55°, with 52.43% saturation and 59.61% 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 11.79:1 (WCAG AAA). The closest named color is Straw (#e4d96f), ΔE 4.97.

Description generated from the measured properties of this color.

Conversions of #cec562 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.5394

Readable text 1.78:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 11.79:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #c2c2c2 ≈ 0.003% of males
Achromatomaly #c7c3a4 ≈ 0.001% of males
Protanopia #d4bf59 ≈ 1.01% of males
Deuteranopia #d7c467 ≈ 1.27% of males
Tritanopia #dbbaaf ≈ 0.0001% of males
Protanomaly #d1c25d ≈ 1.08% of males
Deuteranomaly #d3c565 ≈ 4.63% of males
Tritanomaly #d6be96 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-cec562 {
  color: #cec562;
}
Background
.bg-cec562 {
  background-color: #cec562;
  color: #000000;
}
Border
.border-cec562 {
  border: 2px solid #cec562;
}
CSS variables
:root {
  --color-primary: #cec562;
  --color-primary-rgb: 206 197 98;
  --color-primary-hsl: 55 52% 60%;
}
Gradient
.gradient-cec562 {
  background: linear-gradient(135deg, #cec562, #a1ce62);
}
Colored shadow
.shadow-cec562 {
  box-shadow: 0 8px 24px rgb(206 197 98 / 0.35);
}

Straw
#cec562  rgb(206, 197, 98)  hsl(55, 52%, 60%)  Straw
#626bce  rgb(98, 107, 206)  hsl(235, 52%, 60%)  Royal Blue
#62cec5  rgb(98, 206, 197)  hsl(175, 52%, 60%)  Medium Turquoise
#c562ce  rgb(197, 98, 206)  hsl(295, 52%, 60%)  Medium Orchid