#C8A846#C8A846
#C8A846 is a light, vivid yellow. Relative luminance 0.407; OKLCH L 74.2% C 0.122 H 91.0°. Best body text is #000000 at 9.15:1 contrast (WCAG AA passes).
Color values
| HEX | #C8A846 |
|---|---|
| RGB | rgb(200, 168, 70) |
| HSL | hsl(45, 54%, 53%) |
| HSV | hsv(45, 65%, 78%) |
| CMYK | cmyk(0%, 16%, 65%, 21.6%) |
| CIE-LAB | lab(69.99, 0.69, 53.43) |
| CIE-LCH | lch(69.99, 53.43, 89.26°) |
| OKLab | oklab(74.16% -0.002 0.1216) |
| OKLCH | oklch(74.16% 0.122 91) |
| XYZ | xyz(38.9295, 40.7290, 11.6042) |
| Luminance | 0.4073 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Desert
#CCAD60
ΔE00 3.59
Sandy Brown
#C4A661
ΔE00 4.68
Ocher
#BF9B0C
ΔE00 5.27
Mustard
#DBB42C
ΔE00 5.44
Ocre
#C69C04
ΔE00 5.47
Burnt Yellow
#D5AB09
ΔE00 5.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C8A846 #4666C8
analogous
#C86746 #C8A846 #A7C846
triadic
#C8A846 #46C8A8 #A846C8
tetradic
#C8A846 #46C867 #4666C8 #C846A7
square
#C8A846 #46C867 #4666C8 #C846A7
split-complementary
#C8A846 #46A7C8 #6746C8
monochromatic
#725E22 #A18530 #C8A846 #D6BE75 #E4D4A4
Accessibility & contrast
On white
2.30
#C8A846 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.15
#C8A846 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C8A846
9.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C8A846 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C8A846 | 1.00 | 2.30 | 9.15 | 9.15 |
| #FFFFFF | 2.30 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.15 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.15 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B9A63B
Deuteranopia (green-blind)
#C1AF4A
Tritanopia (blue-blind)
#D89B93
Achromatopsia (no color)
#ABABAB
Design tokens & code
CSS
--color: #c8a846; /* rgb */ color: rgb(200, 168, 70); /* oklch */ color: oklch(74.2% 0.122 91.0);
Tailwind
colors: {
custom: {
50: '#dcc17e',
500: '#c8a846',
950: '#000000',
},
}SCSS
$custom: #c8a846; $custom-light: #dcc17e; $custom-dark: #000000;
JSON
{
"hex": "#c8a846",
"rgb": {
"r": 200,
"g": 168,
"b": 70
},
"hsl": {
"h": 45.231,
"s": 54.167,
"l": 52.941
},
"oklch": {
"l": 0.74159,
"c": 0.12164,
"h": 91
},
"luminance": 0.40727
}Semantic roles & 50–950 ramp
primary
#C8A846
secondary
#99A7D1
accent
#6FDE4A
background
#FDFBF7
surface
#FBF7EE
border
#D4D0C9
text
#15120A
muted
#83817C