#C8B762#C8B762
#C8B762 is a light, moderate yellow. Relative luminance 0.470; OKLCH L 77.6% C 0.108 H 98.3°. Best body text is #000000 at 10.41:1 contrast (WCAG AA passes).
Color values
| HEX | #C8B762 |
|---|---|
| RGB | rgb(200, 183, 98) |
| HSL | hsl(50, 48%, 58%) |
| HSV | hsv(50, 51%, 78%) |
| CMYK | cmyk(0%, 8.5%, 51%, 21.6%) |
| CIE-LAB | lab(74.21, -5.12, 45.02) |
| CIE-LCH | lch(74.21, 45.31, 96.48°) |
| OKLab | oklab(77.59% -0.0155 0.1068) |
| OKLCH | oklch(77.59% 0.108 98.3) |
| XYZ | xyz(42.9589, 47.0298, 18.3677) |
| Luminance | 0.4703 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Darkkhaki
#BDB76B
ΔE00 3.64
Desert
#CCAD60
ΔE00 5.07
Sand (survey)
#E2CA76
ΔE00 5.59
Tan (survey)
#D1B26F
ΔE00 5.85
Sandy Brown
#C4A661
ΔE00 6.55
Sandstone
#C9AE74
ΔE00 6.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C8B762 #6273C8
analogous
#C88462 #C8B762 #A6C862
triadic
#C8B762 #62C8B7 #B762C8
tetradic
#C8B762 #62C884 #6273C8 #C862A6
square
#C8B762 #62C884 #6273C8 #C862A6
split-complementary
#C8B762 #62A6C8 #8462C8
monochromatic
#82742E #AF9C3D #C8B762 #D8CC8F #E8E1BD
Accessibility & contrast
On white
2.02
#C8B762 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.41
#C8B762 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C8B762
10.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C8B762 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C8B762 | 1.00 | 2.02 | 10.41 | 10.41 |
| #FFFFFF | 2.02 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.41 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.41 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C5B35B
Deuteranopia (green-blind)
#CAB966
Tritanopia (blue-blind)
#D5ACA3
Achromatopsia (no color)
#B6B6B6
Design tokens & code
CSS
--color: #c8b762; /* rgb */ color: rgb(200, 183, 98); /* oklch */ color: oklch(77.6% 0.108 98.3);
Tailwind
colors: {
custom: {
50: '#dbcc91',
500: '#c8b762',
950: '#000000',
},
}SCSS
$custom: #c8b762; $custom-light: #dbcc91; $custom-dark: #000000;
JSON
{
"hex": "#c8b762",
"rgb": {
"r": 200,
"g": 183,
"b": 98
},
"hsl": {
"h": 50,
"s": 48.113,
"l": 58.431
},
"oklch": {
"l": 0.77592,
"c": 0.10794,
"h": 98.3
},
"luminance": 0.47028
}Semantic roles & 50–950 ramp
primary
#C8B762
secondary
#AFB5D7
accent
#67D850
background
#FDFCF9
surface
#FBF8F1
border
#D4D1CB
text
#15130D
muted
#83827E