#CEC852

#cec852 ≈ Straw

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

#cec852 is a color from the yellow family, with medium lightness and moderate saturation. In the RGB model it is made of 80.78% red, 78.43% green and 32.16% blue; printed in CMYK it uses 0% cyan, 2.91% magenta, 60.19% yellow and 19.22% black. Its hue angle is 57.1°, with 55.86% saturation and 56.47% 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 12.01:1 (WCAG AAA). The closest named color is Straw (#e4d96f), ΔE 4.81.

Description generated from the measured properties of this color.

Conversions of #cec852 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.5504

Readable text 1.75:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 12.01:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #c4c4c4 ≈ 0.003% of males
Achromatomaly #c8c5a3 ≈ 0.001% of males
Protanopia #d8c144 ≈ 1.01% of males
Deuteranopia #dac659 ≈ 1.27% of males
Tritanopia #dcbcaf ≈ 0.0001% of males
Protanomaly #d4c44a ≈ 1.08% of males
Deuteranomaly #d6c756 ≈ 4.63% of males
Tritanomaly #d7c193 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-cec852 {
  color: #cec852;
}
Background
.bg-cec852 {
  background-color: #cec852;
  color: #000000;
}
Border
.border-cec852 {
  border: 2px solid #cec852;
}
CSS variables
:root {
  --color-primary: #cec852;
  --color-primary-rgb: 206 200 82;
  --color-primary-hsl: 57 56% 56%;
}
Gradient
.gradient-cec852 {
  background: linear-gradient(135deg, #cec852, #96ce52);
}
Colored shadow
.shadow-cec852 {
  box-shadow: 0 8px 24px rgb(206 200 82 / 0.35);
}

Straw
#cec852  rgb(206, 200, 82)  hsl(57, 56%, 56%)  Straw
#5258ce  rgb(82, 88, 206)  hsl(237, 56%, 56%)  Iris
#52cec8  rgb(82, 206, 200)  hsl(177, 56%, 56%)  Medium Turquoise
#c852ce  rgb(200, 82, 206)  hsl(297, 56%, 56%)  Medium Orchid