#CFCB5A

#cfcb5a ≈ Straw

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

#cfcb5a is a color from the yellow family, with medium lightness and moderate saturation. In the RGB model it is made of 81.18% red, 79.61% green and 35.29% blue; printed in CMYK it uses 0% cyan, 1.93% magenta, 56.52% yellow and 18.82% black. Its hue angle is 57.95°, with 54.93% saturation and 58.24% 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.34:1 (WCAG AAA). The closest named color is Straw (#e4d96f), ΔE 4.2.

Description generated from the measured properties of this color.

Conversions of #cfcb5a 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.5672

Readable text 1.7:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 12.34:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #c6c6c6 ≈ 0.003% of males
Achromatomaly #cac8a6 ≈ 0.001% of males
Protanopia #dac44e ≈ 1.01% of males
Deuteranopia #ddc960 ≈ 1.27% of males
Tritanopia #dcbfb2 ≈ 0.0001% of males
Protanomaly #d6c753 ≈ 1.08% of males
Deuteranomaly #d7ca5e ≈ 4.63% of males
Tritanomaly #d7c497 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-cfcb5a {
  color: #cfcb5a;
}
Background
.bg-cfcb5a {
  background-color: #cfcb5a;
  color: #000000;
}
Border
.border-cfcb5a {
  border: 2px solid #cfcb5a;
}
CSS variables
:root {
  --color-primary: #cfcb5a;
  --color-primary-rgb: 207 203 90;
  --color-primary-hsl: 58 55% 58%;
}
Gradient
.gradient-cfcb5a {
  background: linear-gradient(135deg, #cfcb5a, #99cf5a);
}
Colored shadow
.shadow-cfcb5a {
  box-shadow: 0 8px 24px rgb(207 203 90 / 0.35);
}

Straw
#cfcb5a  rgb(207, 203, 90)  hsl(58, 55%, 58%)  Straw
#5a5ecf  rgb(90, 94, 207)  hsl(238, 55%, 58%)  Slate Blue
#5acfcb  rgb(90, 207, 203)  hsl(178, 55%, 58%)  Medium Turquoise
#cb5acf  rgb(203, 90, 207)  hsl(298, 55%, 58%)  Medium Orchid