#C8B462#C8B462
#C8B462 is a light, moderate yellow. Relative luminance 0.458; OKLCH L 77.0% C 0.105 H 96.0°. Best body text is #000000 at 10.16:1 contrast (WCAG AA passes).
Color values
| HEX | #C8B462 |
|---|---|
| RGB | rgb(200, 180, 98) |
| HSL | hsl(48, 48%, 58%) |
| HSV | hsv(48, 51%, 78%) |
| CMYK | cmyk(0%, 10%, 51%, 21.6%) |
| CIE-LAB | lab(73.42, -3.54, 44.07) |
| CIE-LCH | lch(73.42, 44.22, 94.60°) |
| OKLab | oklab(76.97% -0.011 0.1047) |
| OKLCH | oklch(76.97% 0.105 96) |
| XYZ | xyz(42.3467, 45.8054, 18.1636) |
| Luminance | 0.4580 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Desert
#CCAD60
ΔE00 3.86
Darkkhaki
#BDB76B
ΔE00 4.32
Tan (survey)
#D1B26F
ΔE00 4.79
Sandy Brown
#C4A661
ΔE00 5.33
Sandstone
#C9AE74
ΔE00 5.57
Sand (survey)
#E2CA76
ΔE00 5.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C8B462 #6276C8
analogous
#C88162 #C8B462 #A9C862
triadic
#C8B462 #62C8B4 #B462C8
tetradic
#C8B462 #62C881 #6276C8 #C862A9
square
#C8B462 #62C881 #6276C8 #C862A9
split-complementary
#C8B462 #62A9C8 #8162C8
monochromatic
#82712E #AF993D #C8B462 #D8CA8F #E8DFBD
Accessibility & contrast
On white
2.07
#C8B462 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.16
#C8B462 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C8B462
10.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C8B462 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C8B462 | 1.00 | 2.07 | 10.16 | 10.16 |
| #FFFFFF | 2.07 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.16 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.16 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C3B15B
Deuteranopia (green-blind)
#C8B765
Tritanopia (blue-blind)
#D5A9A1
Achromatopsia (no color)
#B4B4B4
Design tokens & code
CSS
--color: #c8b462; /* rgb */ color: rgb(200, 180, 98); /* oklch */ color: oklch(77.0% 0.105 96.0);
Tailwind
colors: {
custom: {
50: '#dbca90',
500: '#c8b462',
950: '#000000',
},
}SCSS
$custom: #c8b462; $custom-light: #dbca90; $custom-dark: #000000;
JSON
{
"hex": "#c8b462",
"rgb": {
"r": 200,
"g": 180,
"b": 98
},
"hsl": {
"h": 48.235,
"s": 48.113,
"l": 58.431
},
"oklch": {
"l": 0.76967,
"c": 0.1053,
"h": 96
},
"luminance": 0.45804
}Semantic roles & 50–950 ramp
primary
#C8B462
secondary
#AFB7D7
accent
#6BD850
background
#FDFCF9
surface
#FBF8F1
border
#D4D1CB
text
#15130D
muted
#83827E