#C8B04D#C8B04D
#C8B04D is a light, vivid yellow. Relative luminance 0.439; OKLCH L 75.9% C 0.122 H 95.7°. Best body text is #000000 at 9.77:1 contrast (WCAG AA passes).
Color values
| HEX | #C8B04D |
|---|---|
| RGB | rgb(200, 176, 77) |
| HSL | hsl(48, 53%, 54%) |
| HSV | hsv(48, 62%, 78%) |
| CMYK | cmyk(0%, 12%, 61.5%, 21.6%) |
| CIE-LAB | lab(72.14, -3.09, 52.62) |
| CIE-LCH | lch(72.14, 52.71, 93.36°) |
| OKLab | oklab(75.88% -0.0121 0.1209) |
| OKLCH | oklch(75.88% 0.122 95.7) |
| XYZ | xyz(40.6861, 43.8678, 13.3440) |
| Luminance | 0.4387 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Desert
#CCAD60
ΔE00 4.35
Brownish Yellow
#C9B003
ΔE00 5.55
Mustard
#DBB42C
ΔE00 5.59
Muddy Yellow
#BFAC05
ΔE00 5.66
Mustard (survey)
#CEB301
ΔE00 5.86
Sandy Brown
#C4A661
ΔE00 5.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C8B04D #4D65C8
analogous
#C8734D #C8B04D #A3C84D
triadic
#C8B04D #4DC8B0 #B04DC8
tetradic
#C8B04D #4DC873 #4D65C8 #C84DA3
square
#C8B04D #4DC873 #4D65C8 #C84DA3
split-complementary
#C8B04D #4DA3C8 #734DC8
monochromatic
#766624 #A58F33 #C8B04D #D6C57C #E5DAAB
Accessibility & contrast
On white
2.15
#C8B04D on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.77
#C8B04D on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C8B04D
9.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C8B04D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C8B04D | 1.00 | 2.15 | 9.77 | 9.77 |
| #FFFFFF | 2.15 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.77 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.77 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C0AC42
Deuteranopia (green-blind)
#C7B452
Tritanopia (blue-blind)
#D7A49A
Achromatopsia (no color)
#B1B1B1
Design tokens & code
CSS
--color: #c8b04d; /* rgb */ color: rgb(200, 176, 77); /* oklch */ color: oklch(75.9% 0.122 95.7);
Tailwind
colors: {
custom: {
50: '#dcc783',
500: '#c8b04d',
950: '#000000',
},
}SCSS
$custom: #c8b04d; $custom-light: #dcc783; $custom-dark: #000000;
JSON
{
"hex": "#c8b04d",
"rgb": {
"r": 200,
"g": 176,
"b": 77
},
"hsl": {
"h": 48.293,
"s": 52.79,
"l": 54.314
},
"oklch": {
"l": 0.75882,
"c": 0.12151,
"h": 95.7
},
"luminance": 0.43866
}Semantic roles & 50–950 ramp
primary
#C8B04D
secondary
#9EA8D2
accent
#68DC4C
background
#FDFCF8
surface
#FBF8EF
border
#D4D1CA
text
#15130B
muted
#83827C