#CFCD6F#CFCD6F
#CFCD6F is a very light, moderate yellow. Relative luminance 0.581; OKLCH L 83.0% C 0.117 H 107.6°. Best body text is #000000 at 12.62:1 contrast (WCAG AA passes).
Color values
| HEX | #CFCD6F |
|---|---|
| RGB | rgb(207, 205, 111) |
| HSL | hsl(59, 50%, 62%) |
| HSV | hsv(59, 46%, 81%) |
| CMYK | cmyk(0%, 1%, 46.4%, 18.8%) |
| CIE-LAB | lab(80.78, -12.37, 46.75) |
| CIE-LCH | lch(80.78, 48.35, 104.82°) |
| OKLab | oklab(83% -0.0354 0.1116) |
| OKLCH | oklch(83% 0.117 107.6) |
| XYZ | xyz(50.4338, 58.0770, 23.5891) |
| Luminance | 0.5808 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Greenish Beige
#C9D179
ΔE00 3.01
Greenish Tan
#BCCB7A
ΔE00 5.37
Darkkhaki
#BDB76B
ΔE00 6.04
Sand (survey)
#E2CA76
ΔE00 6.46
Khaki (CSS)
#F0E68C
ΔE00 6.57
Pale Olive
#B9CC81
ΔE00 6.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CFCD6F #6F71CF
analogous
#CF9D6F #CFCD6F #A1CF6F
triadic
#CFCD6F #6FCFCD #CD6FCF
tetradic
#CFCD6F #6FCF9D #6F71CF #CF6FA1
square
#CFCD6F #6FCF9D #6F71CF #CF6FA1
split-complementary
#CFCD6F #6FA1CF #9D6FCF
monochromatic
#939131 #C0BD41 #CFCD6F #DEDD9D #EEEDCB
Accessibility & contrast
On white
1.66
#CFCD6F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
12.62
#CFCD6F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CFCD6F
12.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CFCD6F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CFCD6F | 1.00 | 1.66 | 12.62 | 12.62 |
| #FFFFFF | 1.66 | 1.00 | 21.00 | 21.00 |
| #000000 | 12.62 | 21.00 | 1.00 | 1.00 |
| ##000000 | 12.62 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#DBC667
Deuteranopia (green-blind)
#DCCA73
Tritanopia (blue-blind)
#DBC3B7
Achromatopsia (no color)
#C8C8C8
Design tokens & code
CSS
--color: #cfcd6f; /* rgb */ color: rgb(207, 205, 111); /* oklch */ color: oklch(83.0% 0.117 107.6);
Tailwind
colors: {
custom: {
50: '#dfdc9a',
500: '#cfcd6f',
950: '#000000',
},
}SCSS
$custom: #cfcd6f; $custom-light: #dfdc9a; $custom-dark: #000000;
JSON
{
"hex": "#cfcd6f",
"rgb": {
"r": 207,
"g": 205,
"b": 111
},
"hsl": {
"h": 58.75,
"s": 50,
"l": 62.353
},
"oklch": {
"l": 0.83002,
"c": 0.11706,
"h": 107.6
},
"luminance": 0.58076
}Semantic roles & 50–950 ramp
primary
#CFCD6F
secondary
#4A4B99
accent
#2BBD28
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15150E
muted
#84847F