#CFC76A

#cfc76a ≈ Straw

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

#cfc76a is a color from the yellow family, with medium lightness and moderate saturation. In the RGB model it is made of 81.18% red, 78.04% green and 41.57% blue; printed in CMYK it uses 0% cyan, 3.86% magenta, 48.79% yellow and 18.82% black. Its hue angle is 55.25°, with 51.27% saturation and 61.37% 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.03:1 (WCAG AAA). The closest named color is Straw (#e4d96f), ΔE 4.76.

Description generated from the measured properties of this color.

Conversions of #cfc76a 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.5515

Readable text 1.75:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 12.03:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #c4c4c4 ≈ 0.003% of males
Achromatomaly #c8c5a7 ≈ 0.001% of males
Protanopia #d5c162 ≈ 1.01% of males
Deuteranopia #d8c66e ≈ 1.27% of males
Tritanopia #dcbcb1 ≈ 0.0001% of males
Protanomaly #d3c465 ≈ 1.08% of males
Deuteranomaly #d5c66d ≈ 4.63% of males
Tritanomaly #d7c19a ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-cfc76a {
  color: #cfc76a;
}
Background
.bg-cfc76a {
  background-color: #cfc76a;
  color: #000000;
}
Border
.border-cfc76a {
  border: 2px solid #cfc76a;
}
CSS variables
:root {
  --color-primary: #cfc76a;
  --color-primary-rgb: 207 199 106;
  --color-primary-hsl: 55 51% 61%;
}
Gradient
.gradient-cfc76a {
  background: linear-gradient(135deg, #cfc76a, #a4cf6a);
}
Colored shadow
.shadow-cfc76a {
  box-shadow: 0 8px 24px rgb(207 199 106 / 0.35);
}

Straw
#cfc76a  rgb(207, 199, 106)  hsl(55, 51%, 61%)  Straw
#6a72cf  rgb(106, 114, 207)  hsl(235, 51%, 61%)  Medium Slate Blue
#6acfc7  rgb(106, 207, 199)  hsl(175, 51%, 61%)  Medium Turquoise
#c76acf  rgb(199, 106, 207)  hsl(295, 51%, 61%)  Orchid