#C8B252#C8B252
#C8B252 is a light, moderate yellow. Relative luminance 0.447; OKLCH L 76.4% C 0.119 H 96.5°. Best body text is #000000 at 9.95:1 contrast (WCAG AA passes).
Color values
| HEX | #C8B252 |
|---|---|
| RGB | rgb(200, 178, 82) |
| HSL | hsl(49, 52%, 55%) |
| HSV | hsv(49, 59%, 78%) |
| CMYK | cmyk(0%, 11%, 59%, 21.6%) |
| CIE-LAB | lab(72.71, -3.79, 50.96) |
| CIE-LCH | lch(72.71, 51.10, 94.25°) |
| OKLab | oklab(76.35% -0.0135 0.118) |
| OKLCH | oklch(76.35% 0.119 96.5) |
| XYZ | xyz(41.2645, 44.7312, 14.4414) |
| Luminance | 0.4473 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Desert
#CCAD60
ΔE00 4.46
Darkkhaki
#BDB76B
ΔE00 5.74
Brownish Yellow
#C9B003
ΔE00 6.03
Muddy Yellow
#BFAC05
ΔE00 6.08
Sandy Brown
#C4A661
ΔE00 6.10
Tan (survey)
#D1B26F
ΔE00 6.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C8B252 #5268C8
analogous
#C87752 #C8B252 #A3C852
triadic
#C8B252 #52C8B2 #B252C8
tetradic
#C8B252 #52C877 #5268C8 #C852A3
square
#C8B252 #52C877 #5268C8 #C852A3
split-complementary
#C8B252 #52A3C8 #7752C8
monochromatic
#796A27 #A89235 #C8B252 #D7C780 #E6DBAF
Accessibility & contrast
On white
2.11
#C8B252 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.95
#C8B252 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C8B252
9.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C8B252 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C8B252 | 1.00 | 2.11 | 9.95 | 9.95 |
| #FFFFFF | 2.11 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.95 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.95 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C2AE48
Deuteranopia (green-blind)
#C8B656
Tritanopia (blue-blind)
#D6A69D
Achromatopsia (no color)
#B2B2B2
Design tokens & code
CSS
--color: #c8b252; /* rgb */ color: rgb(200, 178, 82); /* oklch */ color: oklch(76.4% 0.119 96.5);
Tailwind
colors: {
custom: {
50: '#dbc886',
500: '#c8b252',
950: '#000000',
},
}SCSS
$custom: #c8b252; $custom-light: #dbc886; $custom-dark: #000000;
JSON
{
"hex": "#c8b252",
"rgb": {
"r": 200,
"g": 178,
"b": 82
},
"hsl": {
"h": 48.814,
"s": 51.754,
"l": 55.294
},
"oklch": {
"l": 0.76352,
"c": 0.11878,
"h": 96.5
},
"luminance": 0.44729
}Semantic roles & 50–950 ramp
primary
#C8B252
secondary
#A2ABD4
accent
#67DB4D
background
#FDFCF8
surface
#FBF8F0
border
#D4D1CB
text
#15130B
muted
#83827C