#CFCF4F

#cfcf4f ≈ Straw

  • yellow
  • Lightness: medium
  • Saturation: strong
  • Warm

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

Description generated from the measured properties of this color.

Conversions of #cfcf4f 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.5846

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

Achromatopsia #c9c9c9 ≈ 0.003% of males
Achromatomaly #cbcba6 ≈ 0.001% of males
Protanopia #dfc73f ≈ 1.01% of males
Deuteranopia #e0cb57 ≈ 1.27% of males
Tritanopia #ddc3b4 ≈ 0.0001% of males
Protanomaly #d9ca46 ≈ 1.08% of males
Deuteranomaly #dacd54 ≈ 4.63% of males
Tritanomaly #d7c896 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Straw
#cfcf4f  rgb(207, 207, 79)  hsl(60, 57%, 56%)  Straw
#4f4fcf  rgb(79, 79, 207)  hsl(240, 57%, 56%)  Iris
#4fcfcf  rgb(79, 207, 207)  hsl(180, 57%, 56%)  Medium Turquoise
#cf4fcf  rgb(207, 79, 207)  hsl(300, 57%, 56%)  Medium Orchid