#CFC64E

#cfc64e ≈ Straw

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

#cfc64e is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 81.18% red, 77.65% green and 30.59% blue; printed in CMYK it uses 0% cyan, 4.35% magenta, 62.32% yellow and 18.82% black. Its hue angle is 55.81°, with 57.33% saturation and 55.88% 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.84:1 (WCAG AAA). The closest named color is Straw (#e4d96f), ΔE 5.12.

Description generated from the measured properties of this color.

Conversions of #cfc64e 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.542

Readable text 1.77:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 11.84:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #c2c2c2 ≈ 0.003% of males
Achromatomaly #c8c4a1 ≈ 0.001% of males
Protanopia #d6bf40 ≈ 1.01% of males
Deuteranopia #dac555 ≈ 1.27% of males
Tritanopia #ddb9ad ≈ 0.0001% of males
Protanomaly #d3c246 ≈ 1.08% of males
Deuteranomaly #d5c552 ≈ 4.63% of males
Tritanomaly #d8bf90 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Straw
#cfc64e  rgb(207, 198, 78)  hsl(56, 57%, 56%)  Straw
#4e57cf  rgb(78, 87, 207)  hsl(236, 57%, 56%)  Iris
#4ecfc6  rgb(78, 207, 198)  hsl(176, 57%, 56%)  Medium Turquoise
#c64ecf  rgb(198, 78, 207)  hsl(296, 57%, 56%)  Medium Orchid