#CEC754

#cec754 ≈ Straw

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

#cec754 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.04% green and 32.94% blue; printed in CMYK it uses 0% cyan, 3.4% magenta, 59.22% yellow and 19.22% black. Its hue angle is 56.56°, with 55.45% saturation and 56.86% 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.92:1 (WCAG AAA). The closest named color is Straw (#e4d96f), ΔE 4.83.

Description generated from the measured properties of this color.

Conversions of #cec754 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.5461

Readable text 1.76:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 11.92:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #c3c3c3 ≈ 0.003% of males
Achromatomaly #c8c5a2 ≈ 0.001% of males
Protanopia #d7c047 ≈ 1.01% of males
Deuteranopia #dac55a ≈ 1.27% of males
Tritanopia #dcbbae ≈ 0.0001% of males
Protanomaly #d3c34d ≈ 1.08% of males
Deuteranomaly #d5c658 ≈ 4.63% of males
Tritanomaly #d7c093 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Straw
#cec754  rgb(206, 199, 84)  hsl(57, 55%, 57%)  Straw
#545bce  rgb(84, 91, 206)  hsl(237, 55%, 57%)  Slate Blue
#54cec7  rgb(84, 206, 199)  hsl(177, 55%, 57%)  Medium Turquoise
#c754ce  rgb(199, 84, 206)  hsl(297, 55%, 57%)  Medium Orchid