#CFC86D#CFC86D
#CFC86D is a light, moderate yellow. Relative luminance 0.557; OKLCH L 81.9% C 0.114 H 104.7°. Best body text is #000000 at 12.14:1 contrast (WCAG AA passes).
Color values
| HEX | #CFC86D |
|---|---|
| RGB | rgb(207, 200, 109) |
| HSL | hsl(56, 51%, 62%) |
| HSV | hsv(56, 47%, 81%) |
| CMYK | cmyk(0%, 3.4%, 47.3%, 18.8%) |
| CIE-LAB | lab(79.43, -10.02, 46.08) |
| CIE-LCH | lch(79.43, 47.16, 102.27°) |
| OKLab | oklab(81.92% -0.0289 0.1099) |
| OKLCH | oklch(81.92% 0.114 104.7) |
| XYZ | xyz(49.1479, 55.6795, 22.6233) |
| Luminance | 0.5568 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Greenish Beige
#C9D179
ΔE00 4.42
Darkkhaki
#BDB76B
ΔE00 4.93
Sand (survey)
#E2CA76
ΔE00 5.23
Greenish Tan
#BCCB7A
ΔE00 6.33
Sandy
#F1DA7A
ΔE00 6.66
Khaki (CSS)
#F0E68C
ΔE00 7.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CFC86D #6D74CF
analogous
#CF976D #CFC86D #A5CF6D
triadic
#CFC86D #6DCFC8 #C86DCF
tetradic
#CFC86D #6DCF97 #6D74CF #CF6DA5
square
#CFC86D #6DCF97 #6D74CF #CF6DA5
split-complementary
#CFC86D #6DA5CF #976DCF
monochromatic
#928B30 #C0B73F #CFC86D #DED99B #EDEBC9
Accessibility & contrast
On white
1.73
#CFC86D on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
12.14
#CFC86D on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CFC86D
12.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CFC86D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CFC86D | 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)
#D6C265
Deuteranopia (green-blind)
#D9C771
Tritanopia (blue-blind)
#DBBDB3
Achromatopsia (no color)
#C5C5C5
Design tokens & code
CSS
--color: #cfc86d; /* rgb */ color: rgb(207, 200, 109); /* oklch */ color: oklch(81.9% 0.114 104.7);
Tailwind
colors: {
custom: {
50: '#dfd899',
500: '#cfc86d',
950: '#000000',
},
}SCSS
$custom: #cfc86d; $custom-light: #dfd899; $custom-dark: #000000;
JSON
{
"hex": "#cfc86d",
"rgb": {
"r": 207,
"g": 200,
"b": 109
},
"hsl": {
"h": 55.714,
"s": 50.515,
"l": 61.961
},
"oklch": {
"l": 0.8192,
"c": 0.11367,
"h": 104.7
},
"luminance": 0.55678
}Semantic roles & 50–950 ramp
primary
#CFC86D
secondary
#484E98
accent
#32BE28
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F