#CFC86F#CFC86F
#CFC86F is a light, moderate yellow. Relative luminance 0.557; OKLCH L 81.9% C 0.112 H 104.6°. Best body text is #000000 at 12.14:1 contrast (WCAG AA passes).
Color values
| HEX | #CFC86F |
|---|---|
| RGB | rgb(207, 200, 111) |
| HSL | hsl(56, 50%, 62%) |
| HSV | hsv(56, 46%, 81%) |
| CMYK | cmyk(0%, 3.4%, 46.4%, 18.8%) |
| CIE-LAB | lab(79.46, -9.83, 45.13) |
| CIE-LCH | lch(79.46, 46.19, 102.29°) |
| OKLab | oklab(81.95% -0.0281 0.108) |
| OKLCH | oklch(81.95% 0.112 104.6) |
| XYZ | xyz(49.2568, 55.7230, 23.1968) |
| Luminance | 0.5572 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Greenish Beige
#C9D179
ΔE00 4.35
Darkkhaki
#BDB76B
ΔE00 4.81
Sand (survey)
#E2CA76
ΔE00 5.17
Greenish Tan
#BCCB7A
ΔE00 6.22
Sandy
#F1DA7A
ΔE00 6.68
Khaki (CSS)
#F0E68C
ΔE00 7.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CFC86F #6F76CF
analogous
#CF986F #CFC86F #A6CF6F
triadic
#CFC86F #6FCFC8 #C86FCF
tetradic
#CFC86F #6FCF98 #6F76CF #CF6FA6
square
#CFC86F #6FCF98 #6F76CF #CF6FA6
split-complementary
#CFC86F #6FA6CF #986FCF
monochromatic
#938C31 #C0B641 #CFC86F #DEDA9D #EEEBCB
Accessibility & contrast
On white
1.73
#CFC86F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
12.14
#CFC86F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CFC86F
12.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CFC86F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CFC86F | 1.00 | 1.73 | 12.14 | 12.14 |
| #FFFFFF | 1.73 | 1.00 | 21.00 | 21.00 |
| #000000 | 12.14 | 21.00 | 1.00 | 1.00 |
| ##000000 | 12.14 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D6C267
Deuteranopia (green-blind)
#D8C773
Tritanopia (blue-blind)
#DBBEB3
Achromatopsia (no color)
#C5C5C5
Design tokens & code
CSS
--color: #cfc86f; /* rgb */ color: rgb(207, 200, 111); /* oklch */ color: oklch(81.9% 0.112 104.6);
Tailwind
colors: {
custom: {
50: '#dfd89a',
500: '#cfc86f',
950: '#000000',
},
}SCSS
$custom: #cfc86f; $custom-light: #dfd89a; $custom-dark: #000000;
JSON
{
"hex": "#cfc86f",
"rgb": {
"r": 207,
"g": 200,
"b": 111
},
"hsl": {
"h": 55.625,
"s": 50,
"l": 62.353
},
"oklch": {
"l": 0.81948,
"c": 0.1116,
"h": 104.6
},
"luminance": 0.55722
}Semantic roles & 50–950 ramp
primary
#CFC86F
secondary
#4A4F99
accent
#33BD28
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F