#C8A947#C8A947
#C8A947 is a light, vivid yellow. Relative luminance 0.411; OKLCH L 74.4% C 0.121 H 91.6°. Best body text is #000000 at 9.22:1 contrast (WCAG AA passes).
Color values
| HEX | #C8A947 |
|---|---|
| RGB | rgb(200, 169, 71) |
| HSL | hsl(46, 54%, 53%) |
| HSV | hsv(46, 65%, 78%) |
| CMYK | cmyk(0%, 15.5%, 64.5%, 21.6%) |
| CIE-LAB | lab(70.25, 0.22, 53.27) |
| CIE-LCH | lch(70.25, 53.27, 89.76°) |
| OKLab | oklab(74.37% -0.0033 0.1214) |
| OKLCH | oklch(74.37% 0.121 91.6) |
| XYZ | xyz(39.1466, 41.1124, 11.8336) |
| Luminance | 0.4111 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Desert
#CCAD60
ΔE00 3.55
Sandy Brown
#C4A661
ΔE00 4.75
Mustard
#DBB42C
ΔE00 5.37
Ocher
#BF9B0C
ΔE00 5.48
Burnt Yellow
#D5AB09
ΔE00 5.55
Ocre
#C69C04
ΔE00 5.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C8A947 #4766C8
analogous
#C86847 #C8A947 #A7C847
triadic
#C8A947 #47C8A9 #A947C8
tetradic
#C8A947 #47C868 #4766C8 #C847A7
square
#C8A947 #47C868 #4766C8 #C847A7
split-complementary
#C8A947 #47A7C8 #6847C8
monochromatic
#725F22 #A28630 #C8A947 #D6BF76 #E4D5A5
Accessibility & contrast
On white
2.28
#C8A947 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.22
#C8A947 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C8A947
9.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C8A947 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C8A947 | 1.00 | 2.28 | 9.22 | 9.22 |
| #FFFFFF | 2.28 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.22 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.22 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BAA73C
Deuteranopia (green-blind)
#C2B04B
Tritanopia (blue-blind)
#D89C94
Achromatopsia (no color)
#ACACAC
Design tokens & code
CSS
--color: #c8a947; /* rgb */ color: rgb(200, 169, 71); /* oklch */ color: oklch(74.4% 0.121 91.6);
Tailwind
colors: {
custom: {
50: '#dcc27e',
500: '#c8a947',
950: '#000000',
},
}SCSS
$custom: #c8a947; $custom-light: #dcc27e; $custom-dark: #000000;
JSON
{
"hex": "#c8a947",
"rgb": {
"r": 200,
"g": 169,
"b": 71
},
"hsl": {
"h": 45.581,
"s": 53.975,
"l": 53.137
},
"oklch": {
"l": 0.74374,
"c": 0.12148,
"h": 91.6
},
"luminance": 0.4111
}Semantic roles & 50–950 ramp
primary
#C8A947
secondary
#9AA7D1
accent
#6EDD4A
background
#FDFBF7
surface
#FBF7EE
border
#D4D0C9
text
#15120A
muted
#83817C