#C8B362#C8B362
#C8B362 is a light, moderate yellow. Relative luminance 0.454; OKLCH L 76.8% C 0.104 H 95.2°. Best body text is #000000 at 10.08:1 contrast (WCAG AA passes).
Color values
| HEX | #C8B362 |
|---|---|
| RGB | rgb(200, 179, 98) |
| HSL | hsl(48, 48%, 58%) |
| HSV | hsv(48, 51%, 78%) |
| CMYK | cmyk(0%, 10.5%, 51%, 21.6%) |
| CIE-LAB | lab(73.16, -3.02, 43.76) |
| CIE-LCH | lch(73.16, 43.86, 93.95°) |
| OKLab | oklab(76.76% -0.0094 0.104) |
| OKLCH | oklch(76.76% 0.104 95.2) |
| XYZ | xyz(42.1455, 45.4032, 18.0966) |
| Luminance | 0.4540 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Desert
#CCAD60
ΔE00 3.46
Tan (survey)
#D1B26F
ΔE00 4.45
Darkkhaki
#BDB76B
ΔE00 4.61
Sandy Brown
#C4A661
ΔE00 4.92
Sandstone
#C9AE74
ΔE00 5.24
Sand (survey)
#E2CA76
ΔE00 6.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C8B362 #6277C8
analogous
#C88062 #C8B362 #AAC862
triadic
#C8B362 #62C8B3 #B362C8
tetradic
#C8B362 #62C880 #6277C8 #C862AA
square
#C8B362 #62C880 #6277C8 #C862AA
split-complementary
#C8B362 #62AAC8 #8062C8
monochromatic
#82712E #AF983D #C8B362 #D8C98F #E8DFBD
Accessibility & contrast
On white
2.08
#C8B362 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.08
#C8B362 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C8B362
10.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C8B362 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C8B362 | 1.00 | 2.08 | 10.08 | 10.08 |
| #FFFFFF | 2.08 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.08 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.08 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C2B05B
Deuteranopia (green-blind)
#C7B765
Tritanopia (blue-blind)
#D5A8A0
Achromatopsia (no color)
#B4B4B4
Design tokens & code
CSS
--color: #c8b362; /* rgb */ color: rgb(200, 179, 98); /* oklch */ color: oklch(76.8% 0.104 95.2);
Tailwind
colors: {
custom: {
50: '#dbc990',
500: '#c8b362',
950: '#000000',
},
}SCSS
$custom: #c8b362; $custom-light: #dbc990; $custom-dark: #000000;
JSON
{
"hex": "#c8b362",
"rgb": {
"r": 200,
"g": 179,
"b": 98
},
"hsl": {
"h": 47.647,
"s": 48.113,
"l": 58.431
},
"oklch": {
"l": 0.76759,
"c": 0.10446,
"h": 95.2
},
"luminance": 0.45401
}Semantic roles & 50–950 ramp
primary
#C8B362
secondary
#AFB7D7
accent
#6CD850
background
#FDFCF9
surface
#FBF8F1
border
#D4D1CB
text
#15130D
muted
#83827E