#C8B04F#C8B04F
#C8B04F is a light, moderate yellow. Relative luminance 0.439; OKLCH L 75.9% C 0.120 H 95.5°. Best body text is #000000 at 9.78:1 contrast (WCAG AA passes).
Color values
| HEX | #C8B04F |
|---|---|
| RGB | rgb(200, 176, 79) |
| HSL | hsl(48, 52%, 55%) |
| HSV | hsv(48, 61%, 78%) |
| CMYK | cmyk(0%, 12%, 60.5%, 21.6%) |
| CIE-LAB | lab(72.16, -2.95, 51.73) |
| CIE-LCH | lch(72.16, 51.81, 93.27°) |
| OKLab | oklab(75.9% -0.0115 0.1193) |
| OKLCH | oklch(75.9% 0.12 95.5) |
| XYZ | xyz(40.7578, 43.8965, 13.7216) |
| Luminance | 0.4390 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Desert
#CCAD60
ΔE00 4.12
Sandy Brown
#C4A661
ΔE00 5.74
Mustard
#DBB42C
ΔE00 5.75
Brownish Yellow
#C9B003
ΔE00 5.82
Muddy Yellow
#BFAC05
ΔE00 5.92
Tan (survey)
#D1B26F
ΔE00 6.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C8B04F #4F67C8
analogous
#C8734F #C8B04F #A4C84F
triadic
#C8B04F #4FC8B0 #B04FC8
tetradic
#C8B04F #4FC873 #4F67C8 #C84FA4
square
#C8B04F #4FC873 #4F67C8 #C84FA4
split-complementary
#C8B04F #4FA4C8 #734FC8
monochromatic
#776725 #A68F34 #C8B04F #D7C57E #E5DAAC
Accessibility & contrast
On white
2.15
#C8B04F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.78
#C8B04F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C8B04F
9.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C8B04F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C8B04F | 1.00 | 2.15 | 9.78 | 9.78 |
| #FFFFFF | 2.15 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.78 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.78 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C0AD45
Deuteranopia (green-blind)
#C7B453
Tritanopia (blue-blind)
#D7A49B
Achromatopsia (no color)
#B1B1B1
Design tokens & code
CSS
--color: #c8b04f; /* rgb */ color: rgb(200, 176, 79); /* oklch */ color: oklch(75.9% 0.120 95.5);
Tailwind
colors: {
custom: {
50: '#dcc784',
500: '#c8b04f',
950: '#000000',
},
}SCSS
$custom: #c8b04f; $custom-light: #dcc784; $custom-dark: #000000;
JSON
{
"hex": "#c8b04f",
"rgb": {
"r": 200,
"g": 176,
"b": 79
},
"hsl": {
"h": 48.099,
"s": 52.381,
"l": 54.706
},
"oklch": {
"l": 0.75903,
"c": 0.11982,
"h": 95.5
},
"luminance": 0.43895
}Semantic roles & 50–950 ramp
primary
#C8B04F
secondary
#A0AAD3
accent
#69DC4C
background
#FDFCF8
surface
#FBF8EF
border
#D4D1CA
text
#15130B
muted
#83827C