#C8B052#C8B052
#C8B052 is a light, moderate yellow. Relative luminance 0.439; OKLCH L 75.9% C 0.117 H 95.1°. Best body text is #000000 at 9.79:1 contrast (WCAG AA passes).
Color values
| HEX | #C8B052 |
|---|---|
| RGB | rgb(200, 176, 82) |
| HSL | hsl(48, 52%, 55%) |
| HSV | hsv(48, 59%, 78%) |
| CMYK | cmyk(0%, 12%, 59%, 21.6%) |
| CIE-LAB | lab(72.19, -2.74, 50.37) |
| CIE-LCH | lch(72.19, 50.44, 93.11°) |
| OKLab | oklab(75.94% -0.0105 0.1167) |
| OKLCH | oklch(75.94% 0.117 95.1) |
| XYZ | xyz(40.8694, 43.9411, 14.3098) |
| Luminance | 0.4394 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Desert
#CCAD60
ΔE00 3.78
Sandy Brown
#C4A661
ΔE00 5.39
Tan (survey)
#D1B26F
ΔE00 5.62
Mustard
#DBB42C
ΔE00 6.01
Darkkhaki
#BDB76B
ΔE00 6.16
Brownish Yellow
#C9B003
ΔE00 6.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C8B052 #526AC8
analogous
#C87552 #C8B052 #A5C852
triadic
#C8B052 #52C8B0 #B052C8
tetradic
#C8B052 #52C875 #526AC8 #C852A5
square
#C8B052 #52C875 #526AC8 #C852A5
split-complementary
#C8B052 #52A5C8 #7552C8
monochromatic
#796827 #A89035 #C8B052 #D7C580 #E6DAAF
Accessibility & contrast
On white
2.15
#C8B052 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.79
#C8B052 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C8B052
9.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C8B052 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C8B052 | 1.00 | 2.15 | 9.79 | 9.79 |
| #FFFFFF | 2.15 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.79 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.79 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C0AD48
Deuteranopia (green-blind)
#C6B456
Tritanopia (blue-blind)
#D7A49B
Achromatopsia (no color)
#B1B1B1
Design tokens & code
CSS
--color: #c8b052; /* rgb */ color: rgb(200, 176, 82); /* oklch */ color: oklch(75.9% 0.117 95.1);
Tailwind
colors: {
custom: {
50: '#dbc786',
500: '#c8b052',
950: '#000000',
},
}SCSS
$custom: #c8b052; $custom-light: #dbc786; $custom-dark: #000000;
JSON
{
"hex": "#c8b052",
"rgb": {
"r": 200,
"g": 176,
"b": 82
},
"hsl": {
"h": 47.797,
"s": 51.754,
"l": 55.294
},
"oklch": {
"l": 0.75936,
"c": 0.1172,
"h": 95.1
},
"luminance": 0.43939
}Semantic roles & 50–950 ramp
primary
#C8B052
secondary
#A2ACD4
accent
#6ADB4D
background
#FDFCF8
surface
#FBF8EF
border
#D4D1CA
text
#15130B
muted
#83827C