#CFCC6F#CFCC6F
#CFCC6F is a very light, moderate yellow. Relative luminance 0.576; OKLCH L 82.8% C 0.116 H 107.0°. Best body text is #000000 at 12.52:1 contrast (WCAG AA passes).
Color values
| HEX | #CFCC6F |
|---|---|
| RGB | rgb(207, 204, 111) |
| HSL | hsl(58, 50%, 62%) |
| HSV | hsv(58, 46%, 81%) |
| CMYK | cmyk(0%, 1.4%, 46.4%, 18.8%) |
| CIE-LAB | lab(80.52, -11.86, 46.42) |
| CIE-LCH | lch(80.52, 47.91, 104.34°) |
| OKLab | oklab(82.79% -0.034 0.1109) |
| OKLCH | oklch(82.79% 0.116 107) |
| XYZ | xyz(50.1953, 57.6001, 23.5096) |
| Luminance | 0.5760 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Greenish Beige
#C9D179
ΔE00 3.24
Greenish Tan
#BCCB7A
ΔE00 5.50
Darkkhaki
#BDB76B
ΔE00 5.78
Sand (survey)
#E2CA76
ΔE00 6.19
Khaki (CSS)
#F0E68C
ΔE00 6.66
Sandy
#F1DA7A
ΔE00 6.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CFCC6F #6F72CF
analogous
#CF9C6F #CFCC6F #A2CF6F
triadic
#CFCC6F #6FCFCC #CC6FCF
tetradic
#CFCC6F #6FCF9C #6F72CF #CF6FA2
square
#CFCC6F #6FCF9C #6F72CF #CF6FA2
split-complementary
#CFCC6F #6FA2CF #9C6FCF
monochromatic
#939031 #C0BC41 #CFCC6F #DEDC9D #EEEDCB
Accessibility & contrast
On white
1.68
#CFCC6F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
12.52
#CFCC6F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CFCC6F
12.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CFCC6F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CFCC6F | 1.00 | 1.68 | 12.52 | 12.52 |
| #FFFFFF | 1.68 | 1.00 | 21.00 | 21.00 |
| #000000 | 12.52 | 21.00 | 1.00 | 1.00 |
| ##000000 | 12.52 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#DAC667
Deuteranopia (green-blind)
#DCCA73
Tritanopia (blue-blind)
#DBC2B6
Achromatopsia (no color)
#C8C8C8
Design tokens & code
CSS
--color: #cfcc6f; /* rgb */ color: rgb(207, 204, 111); /* oklch */ color: oklch(82.8% 0.116 107.0);
Tailwind
colors: {
custom: {
50: '#dfdb9a',
500: '#cfcc6f',
950: '#000000',
},
}SCSS
$custom: #cfcc6f; $custom-light: #dfdb9a; $custom-dark: #000000;
JSON
{
"hex": "#cfcc6f",
"rgb": {
"r": 207,
"g": 204,
"b": 111
},
"hsl": {
"h": 58.125,
"s": 50,
"l": 62.353
},
"oklch": {
"l": 0.8279,
"c": 0.11594,
"h": 107
},
"luminance": 0.57599
}Semantic roles & 50–950 ramp
primary
#CFCC6F
secondary
#4A4C99
accent
#2DBD28
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15150E
muted
#84847F