#C8AE51#C8AE51
#C8AE51 is a light, moderate yellow. Relative luminance 0.431; OKLCH L 75.5% C 0.117 H 93.8°. Best body text is #000000 at 9.63:1 contrast (WCAG AA passes).
Color values
| HEX | #C8AE51 |
|---|---|
| RGB | rgb(200, 174, 81) |
| HSL | hsl(47, 52%, 55%) |
| HSV | hsv(47, 60%, 78%) |
| CMYK | cmyk(0%, 13%, 59.5%, 21.6%) |
| CIE-LAB | lab(71.66, -1.75, 50.23) |
| CIE-LCH | lch(71.66, 50.26, 92.00°) |
| OKLab | oklab(75.51% -0.0078 0.1163) |
| OKLCH | oklch(75.51% 0.117 93.8) |
| XYZ | xyz(40.4424, 43.1475, 13.9811) |
| Luminance | 0.4315 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Desert
#CCAD60
ΔE00 3.26
Sandy Brown
#C4A661
ΔE00 4.83
Tan (survey)
#D1B26F
ΔE00 5.31
Mustard
#DBB42C
ΔE00 5.90
Sand Brown
#CBA560
ΔE00 6.40
Brownish Yellow
#C9B003
ΔE00 6.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C8AE51 #516BC8
analogous
#C87351 #C8AE51 #A6C851
triadic
#C8AE51 #51C8AE #AE51C8
tetradic
#C8AE51 #51C873 #516BC8 #C851A6
square
#C8AE51 #51C873 #516BC8 #C851A6
split-complementary
#C8AE51 #51A6C8 #7351C8
monochromatic
#796726 #A78E35 #C8AE51 #D7C480 #E5D9AE
Accessibility & contrast
On white
2.18
#C8AE51 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.63
#C8AE51 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C8AE51
9.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C8AE51 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C8AE51 | 1.00 | 2.18 | 9.63 | 9.63 |
| #FFFFFF | 2.18 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.63 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.63 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BEAB48
Deuteranopia (green-blind)
#C5B355
Tritanopia (blue-blind)
#D7A299
Achromatopsia (no color)
#B0B0B0
Design tokens & code
CSS
--color: #c8ae51; /* rgb */ color: rgb(200, 174, 81); /* oklch */ color: oklch(75.5% 0.117 93.8);
Tailwind
colors: {
custom: {
50: '#dcc585',
500: '#c8ae51',
950: '#000000',
},
}SCSS
$custom: #c8ae51; $custom-light: #dcc585; $custom-dark: #000000;
JSON
{
"hex": "#c8ae51",
"rgb": {
"r": 200,
"g": 174,
"b": 81
},
"hsl": {
"h": 46.891,
"s": 51.965,
"l": 55.098
},
"oklch": {
"l": 0.75511,
"c": 0.11658,
"h": 93.8
},
"luminance": 0.43146
}Semantic roles & 50–950 ramp
primary
#C8AE51
secondary
#A1ACD3
accent
#6CDB4C
background
#FDFCF8
surface
#FBF8EF
border
#D4D1CA
text
#15120B
muted
#83817C