#CFC686#CFC686
#CFC686 is a light, moderate yellow. Relative luminance 0.554; OKLCH L 81.9% C 0.084 H 101.2°. Best body text is #000000 at 12.08:1 contrast (WCAG AA passes).
Color values
| HEX | #CFC686 |
|---|---|
| RGB | rgb(207, 198, 134) |
| HSL | hsl(53, 43%, 67%) |
| HSV | hsv(53, 35%, 81%) |
| CMYK | cmyk(0%, 4.3%, 35.3%, 18.8%) |
| CIE-LAB | lab(79.26, -6.35, 33.24) |
| CIE-LCH | lch(79.26, 33.84, 100.81°) |
| OKLab | oklab(81.9% -0.0163 0.0822) |
| OKLCH | oklch(81.9% 0.084 101.2) |
| XYZ | xyz(50.2300, 55.3760, 30.5923) |
| Luminance | 0.5537 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Darkkhaki
#BDB76B
ΔE00 4.94
Sand (survey)
#E2CA76
ΔE00 5.69
Beige (survey)
#E6DAA6
ΔE00 5.90
Sand
#C2B280
ΔE00 6.14
Greenish Beige
#C9D179
ΔE00 6.28
Greenish Tan
#BCCB7A
ΔE00 7.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CFC686 #868FCF
analogous
#CFA286 #CFC686 #B4CF86
triadic
#CFC686 #86CFC6 #C686CF
tetradic
#CFC686 #86CFA2 #868FCF #CF86B4
square
#CFC686 #86CFA2 #868FCF #CF86B4
split-complementary
#CFC686 #86B4CF #A286CF
monochromatic
#9D913E #BEB15A #CFC686 #E0DBB2 #F2EFDE
Accessibility & contrast
On white
1.74
#CFC686 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
12.08
#CFC686 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CFC686
12.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CFC686 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CFC686 | 1.00 | 1.74 | 12.08 | 12.08 |
| #FFFFFF | 1.74 | 1.00 | 21.00 | 21.00 |
| #000000 | 12.08 | 21.00 | 1.00 | 1.00 |
| ##000000 | 12.08 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D1C281
Deuteranopia (green-blind)
#D4C688
Tritanopia (blue-blind)
#D9BEB6
Achromatopsia (no color)
#C4C4C4
Design tokens & code
CSS
--color: #cfc686; /* rgb */ color: rgb(207, 198, 134); /* oklch */ color: oklch(81.9% 0.084 101.2);
Tailwind
colors: {
custom: {
50: '#ded7aa',
500: '#cfc686',
950: '#000000',
},
}SCSS
$custom: #cfc686; $custom-light: #ded7aa; $custom-dark: #000000;
JSON
{
"hex": "#cfc686",
"rgb": {
"r": 207,
"g": 198,
"b": 134
},
"hsl": {
"h": 52.603,
"s": 43.195,
"l": 66.863
},
"oklch": {
"l": 0.81897,
"c": 0.08381,
"h": 101.2
},
"luminance": 0.55375
}Semantic roles & 50–950 ramp
primary
#CFC686
secondary
#5760A2
accent
#40B62F
background
#FEFEFD
surface
#FCFBF7
border
#D5D4D0
text
#151410
muted
#848381