#CFB862#CFB862
#CFB862 is a light, moderate yellow. Relative luminance 0.484; OKLCH L 78.4% C 0.110 H 94.7°. Best body text is #000000 at 10.69:1 contrast (WCAG AA passes).
Color values
| HEX | #CFB862 |
|---|---|
| RGB | rgb(207, 184, 98) |
| HSL | hsl(47, 53%, 60%) |
| HSV | hsv(47, 53%, 81%) |
| CMYK | cmyk(0%, 11.1%, 52.7%, 18.8%) |
| CIE-LAB | lab(75.10, -2.73, 46.24) |
| CIE-LCH | lch(75.10, 46.32, 93.38°) |
| OKLab | oklab(78.44% -0.009 0.1094) |
| OKLCH | oklch(78.44% 0.11 94.7) |
| XYZ | xyz(45.0788, 48.4302, 18.5264) |
| Luminance | 0.4843 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Desert
#CCAD60
ΔE00 3.99
Sand (survey)
#E2CA76
ΔE00 4.66
Tan (survey)
#D1B26F
ΔE00 4.72
Darkkhaki
#BDB76B
ΔE00 5.38
Sandy Brown
#C4A661
ΔE00 5.98
Sandstone
#C9AE74
ΔE00 6.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CFB862 #6279CF
analogous
#CF8162 #CFB862 #B0CF62
triadic
#CFB862 #62CFB8 #B862CF
tetradic
#CFB862 #62CF81 #6279CF #CF62B0
square
#CFB862 #62CF81 #6279CF #CF62B0
split-complementary
#CFB862 #62B0CF #8162CF
monochromatic
#8C772B #BB9F39 #CFB862 #DDCD91 #ECE2C0
Accessibility & contrast
On white
1.97
#CFB862 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.69
#CFB862 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CFB862
10.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CFB862 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CFB862 | 1.00 | 1.97 | 10.69 | 10.69 |
| #FFFFFF | 1.97 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.69 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.69 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C8B55A
Deuteranopia (green-blind)
#CEBC66
Tritanopia (blue-blind)
#DDADA4
Achromatopsia (no color)
#B9B9B9
Design tokens & code
CSS
--color: #cfb862; /* rgb */ color: rgb(207, 184, 98); /* oklch */ color: oklch(78.4% 0.110 94.7);
Tailwind
colors: {
custom: {
50: '#e0cd91',
500: '#cfb862',
950: '#000000',
},
}SCSS
$custom: #cfb862; $custom-light: #e0cd91; $custom-dark: #000000;
JSON
{
"hex": "#cfb862",
"rgb": {
"r": 207,
"g": 184,
"b": 98
},
"hsl": {
"h": 47.339,
"s": 53.171,
"l": 59.804
},
"oklch": {
"l": 0.78441,
"c": 0.10973,
"h": 94.7
},
"luminance": 0.48428
}Semantic roles & 50–950 ramp
primary
#CFB862
secondary
#B1BADB
accent
#6ADD4B
background
#FEFCF9
surface
#FCF8F1
border
#D5D1CB
text
#16130D
muted
#84827E