#CBC662

#cbc662 ≈ Straw

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

#cbc662 is a color from the yellow family, with medium lightness and moderate saturation. In the RGB model it is made of 79.61% red, 77.65% green and 38.43% blue; printed in CMYK it uses 0% cyan, 2.46% magenta, 51.72% yellow and 20.39% black. Its hue angle is 57.14°, with 50.24% saturation and 59.02% 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 5.12.

Description generated from the measured properties of this color.

Conversions of #cbc662 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.5397

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 #c6c4a4 ≈ 0.001% of males
Protanopia #d4c059 ≈ 1.01% of males
Deuteranopia #d7c467 ≈ 1.27% of males
Tritanopia #d8bbaf ≈ 0.0001% of males
Protanomaly #d1c25d ≈ 1.08% of males
Deuteranomaly #d2c565 ≈ 4.63% of males
Tritanomaly #d3bf96 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-cbc662 {
  color: #cbc662;
}
Background
.bg-cbc662 {
  background-color: #cbc662;
  color: #000000;
}
Border
.border-cbc662 {
  border: 2px solid #cbc662;
}
CSS variables
:root {
  --color-primary: #cbc662;
  --color-primary-rgb: 203 198 98;
  --color-primary-hsl: 57 50% 59%;
}
Gradient
.gradient-cbc662 {
  background: linear-gradient(135deg, #cbc662, #9ccb62);
}
Colored shadow
.shadow-cbc662 {
  box-shadow: 0 8px 24px rgb(203 198 98 / 0.35);
}

Straw
#cbc662  rgb(203, 198, 98)  hsl(57, 50%, 59%)  Straw
#6267cb  rgb(98, 103, 203)  hsl(237, 50%, 59%)  Slate Blue
#62cbc6  rgb(98, 203, 198)  hsl(177, 50%, 59%)  Medium Turquoise
#c662cb  rgb(198, 98, 203)  hsl(297, 50%, 59%)  Medium Orchid