#CFB866#CFB866
#CFB866 is a light, moderate yellow. Relative luminance 0.485; OKLCH L 78.5% C 0.106 H 94.1°. Best body text is #000000 at 10.70:1 contrast (WCAG AA passes).
Color values
| HEX | #CFB866 |
|---|---|
| RGB | rgb(207, 184, 102) |
| HSL | hsl(47, 52%, 61%) |
| HSV | hsv(47, 51%, 81%) |
| CMYK | cmyk(0%, 11.1%, 50.7%, 18.8%) |
| CIE-LAB | lab(75.14, -2.38, 44.32) |
| CIE-LCH | lch(75.14, 44.39, 93.07°) |
| OKLab | oklab(78.5% -0.0076 0.1055) |
| OKLCH | oklch(78.5% 0.106 94.1) |
| XYZ | xyz(45.2724, 48.5076, 19.5460) |
| Luminance | 0.4851 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Desert
#CCAD60
ΔE00 3.74
Tan (survey)
#D1B26F
ΔE00 4.22
Sand (survey)
#E2CA76
ΔE00 4.61
Darkkhaki
#BDB76B
ΔE00 5.27
Sandstone
#C9AE74
ΔE00 5.50
Sandy Brown
#C4A661
ΔE00 5.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CFB866 #667DCF
analogous
#CF8366 #CFB866 #B1CF66
triadic
#CFB866 #66CFB8 #B866CF
tetradic
#CFB866 #66CF83 #667DCF #CF66B1
square
#CFB866 #66CF83 #667DCF #CF66B1
split-complementary
#CFB866 #66B1CF #8366CF
monochromatic
#8E792D #BDA03B #CFB866 #DECE95 #ECE3C3
Accessibility & contrast
On white
1.96
#CFB866 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.70
#CFB866 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CFB866
10.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CFB866 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CFB866 | 1.00 | 1.96 | 10.70 | 10.70 |
| #FFFFFF | 1.96 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.70 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.70 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C7B55F
Deuteranopia (green-blind)
#CDBC69
Tritanopia (blue-blind)
#DDADA5
Achromatopsia (no color)
#B9B9B9
Design tokens & code
CSS
--color: #cfb866; /* rgb */ color: rgb(207, 184, 102); /* oklch */ color: oklch(78.5% 0.106 94.1);
Tailwind
colors: {
custom: {
50: '#e0cd93',
500: '#cfb866',
950: '#000000',
},
}SCSS
$custom: #cfb866; $custom-light: #e0cd93; $custom-dark: #000000;
JSON
{
"hex": "#cfb866",
"rgb": {
"r": 207,
"g": 184,
"b": 102
},
"hsl": {
"h": 46.857,
"s": 52.239,
"l": 60.588
},
"oklch": {
"l": 0.78496,
"c": 0.10577,
"h": 94.1
},
"luminance": 0.48506
}Semantic roles & 50–950 ramp
primary
#CFB866
secondary
#B4BDDC
accent
#48C026
background
#FEFCF9
surface
#FCF8F1
border
#D5D1CB
text
#15130D
muted
#84827E