#CFCF5E

#cfcf5e ≈ Straw

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

#cfcf5e is a color from the yellow family, with medium lightness and moderate saturation. In the RGB model it is made of 81.18% red, 81.18% green and 36.86% blue; printed in CMYK it uses 0% cyan, 0% magenta, 54.59% yellow and 18.82% black. Its hue angle is 60°, with 54.07% 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 12.74:1 (WCAG AAA). The closest named color is Straw (#e4d96f), ΔE 4.1.

Description generated from the measured properties of this color.

Conversions of #cfcf5e 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.587

Readable text 1.65:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 12.74:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #c9c9c9 ≈ 0.003% of males
Achromatomaly #cccca9 ≈ 0.001% of males
Protanopia #dec752 ≈ 1.01% of males
Deuteranopia #dfcb64 ≈ 1.27% of males
Tritanopia #dcc3b6 ≈ 0.0001% of males
Protanomaly #d8ca57 ≈ 1.08% of males
Deuteranomaly #d9cd62 ≈ 4.63% of males
Tritanomaly #d7c89b ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-cfcf5e {
  color: #cfcf5e;
}
Background
.bg-cfcf5e {
  background-color: #cfcf5e;
  color: #000000;
}
Border
.border-cfcf5e {
  border: 2px solid #cfcf5e;
}
CSS variables
:root {
  --color-primary: #cfcf5e;
  --color-primary-rgb: 207 207 94;
  --color-primary-hsl: 60 54% 59%;
}
Gradient
.gradient-cfcf5e {
  background: linear-gradient(135deg, #cfcf5e, #97cf5e);
}
Colored shadow
.shadow-cfcf5e {
  box-shadow: 0 8px 24px rgb(207 207 94 / 0.35);
}

Straw
#cfcf5e  rgb(207, 207, 94)  hsl(60, 54%, 59%)  Straw
#5e5ecf  rgb(94, 94, 207)  hsl(240, 54%, 59%)  Slate Blue
#5ecfcf  rgb(94, 207, 207)  hsl(180, 54%, 59%)  Medium Turquoise
#cf5ecf  rgb(207, 94, 207)  hsl(300, 54%, 59%)  Orchid