#CFCC7B

#cfcc7b ≈ Dark Khaki

  • yellow
  • Lightness: high
  • Saturation: moderate
  • Warm

#cfcc7b is a color from the yellow family, with high lightness and moderate saturation. In the RGB model it is made of 81.18% red, 80% green and 48.24% blue; printed in CMYK it uses 0% cyan, 1.45% magenta, 40.58% yellow and 18.82% black. Its hue angle is 57.86°, with 46.67% saturation and 64.71% 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.58:1 (WCAG AAA). The closest named color is Dark Khaki (#bdb76b), ΔE 5.34.

Description generated from the measured properties of this color.

Conversions of #cfcc7b 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.5788

Readable text 1.67:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 12.58:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #c8c8c8 ≈ 0.003% of males
Achromatomaly #cbcaaf ≈ 0.001% of males
Protanopia #d8c675 ≈ 1.01% of males
Deuteranopia #daca7f ≈ 1.27% of males
Tritanopia #dac2b8 ≈ 0.0001% of males
Protanomaly #d5c977 ≈ 1.08% of males
Deuteranomaly #d6cb7d ≈ 4.63% of males
Tritanomaly #d6c6a3 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-cfcc7b {
  color: #cfcc7b;
}
Background
.bg-cfcc7b {
  background-color: #cfcc7b;
  color: #000000;
}
Border
.border-cfcc7b {
  border: 2px solid #cfcc7b;
}
CSS variables
:root {
  --color-primary: #cfcc7b;
  --color-primary-rgb: 207 204 123;
  --color-primary-hsl: 58 47% 65%;
}
Gradient
.gradient-cfcc7b {
  background: linear-gradient(135deg, #cfcc7b, #a8cf7b);
}
Colored shadow
.shadow-cfcc7b {
  box-shadow: 0 8px 24px rgb(207 204 123 / 0.35);
}

Dark Khaki
#cfcc7b  rgb(207, 204, 123)  hsl(58, 47%, 65%)  Dark Khaki
#7b7ecf  rgb(123, 126, 207)  hsl(238, 47%, 65%)  Glaucous
#7bcfcc  rgb(123, 207, 204)  hsl(178, 47%, 65%)  Medium Turquoise
#cc7bcf  rgb(204, 123, 207)  hsl(298, 47%, 65%)  Orchid