#CFCF57

#cfcf57 ≈ Straw

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

#cfcf57 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 34.12% blue; printed in CMYK it uses 0% cyan, 0% magenta, 57.97% yellow and 18.82% black. Its hue angle is 60°, with 55.56% saturation and 57.65% 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.72:1 (WCAG AAA). The closest named color is Straw (#e4d96f), ΔE 4.33.

Description generated from the measured properties of this color.

Conversions of #cfcf57 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.5858

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

Achromatopsia #c9c9c9 ≈ 0.003% of males
Achromatomaly #cccca8 ≈ 0.001% of males
Protanopia #dec74a ≈ 1.01% of males
Deuteranopia #e0cb5e ≈ 1.27% of males
Tritanopia #dcc3b5 ≈ 0.0001% of males
Protanomaly #d8ca4f ≈ 1.08% of males
Deuteranomaly #d9cd5b ≈ 4.63% of males
Tritanomaly #d7c898 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-cfcf57 {
  color: #cfcf57;
}
Background
.bg-cfcf57 {
  background-color: #cfcf57;
  color: #000000;
}
Border
.border-cfcf57 {
  border: 2px solid #cfcf57;
}
CSS variables
:root {
  --color-primary: #cfcf57;
  --color-primary-rgb: 207 207 87;
  --color-primary-hsl: 60 56% 58%;
}
Gradient
.gradient-cfcf57 {
  background: linear-gradient(135deg, #cfcf57, #93cf57);
}
Colored shadow
.shadow-cfcf57 {
  box-shadow: 0 8px 24px rgb(207 207 87 / 0.35);
}

Straw
#cfcf57  rgb(207, 207, 87)  hsl(60, 56%, 58%)  Straw
#5757cf  rgb(87, 87, 207)  hsl(240, 56%, 58%)  Iris
#57cfcf  rgb(87, 207, 207)  hsl(180, 56%, 58%)  Medium Turquoise
#cf57cf  rgb(207, 87, 207)  hsl(300, 56%, 58%)  Medium Orchid