#C8A842#C8A842
#C8A842 is a light, vivid yellow. Relative luminance 0.407; OKLCH L 74.1% C 0.125 H 91.5°. Best body text is #000000 at 9.14:1 contrast (WCAG AA passes).
Color values
| HEX | #C8A842 |
|---|---|
| RGB | rgb(200, 168, 66) |
| HSL | hsl(46, 55%, 52%) |
| HSV | hsv(46, 67%, 78%) |
| CMYK | cmyk(0%, 16%, 67%, 21.6%) |
| CIE-LAB | lab(69.95, 0.45, 55.15) |
| CIE-LCH | lch(69.95, 55.16, 89.53°) |
| OKLab | oklab(74.12% -0.0032 0.1247) |
| OKLCH | oklch(74.12% 0.125 91.5) |
| XYZ | xyz(38.8074, 40.6802, 10.9612) |
| Luminance | 0.4068 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Desert
#CCAD60
ΔE00 4.08
Ocher
#BF9B0C
ΔE00 4.92
Burnt Yellow
#D5AB09
ΔE00 5.07
Mustard
#DBB42C
ΔE00 5.11
Ocre
#C69C04
ΔE00 5.15
Sandy Brown
#C4A661
ΔE00 5.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C8A842 #4262C8
analogous
#C86542 #C8A842 #A5C842
triadic
#C8A842 #42C8A8 #A842C8
tetradic
#C8A842 #42C865 #4262C8 #C842A5
square
#C8A842 #42C865 #4262C8 #C842A5
split-complementary
#C8A842 #42A5C8 #6542C8
monochromatic
#6F5C20 #9F842E #C8A842 #D6BE71 #E4D4A1
Accessibility & contrast
On white
2.30
#C8A842 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.14
#C8A842 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C8A842
9.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C8A842 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C8A842 | 1.00 | 2.30 | 9.14 | 9.14 |
| #FFFFFF | 2.30 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.14 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.14 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BAA635
Deuteranopia (green-blind)
#C2AF47
Tritanopia (blue-blind)
#D89B93
Achromatopsia (no color)
#ABABAB
Design tokens & code
CSS
--color: #c8a842; /* rgb */ color: rgb(200, 168, 66); /* oklch */ color: oklch(74.1% 0.125 91.5);
Tailwind
colors: {
custom: {
50: '#dcc17b',
500: '#c8a842',
950: '#000000',
},
}SCSS
$custom: #c8a842; $custom-light: #dcc17b; $custom-dark: #000000;
JSON
{
"hex": "#c8a842",
"rgb": {
"r": 200,
"g": 168,
"b": 66
},
"hsl": {
"h": 45.672,
"s": 54.918,
"l": 52.157
},
"oklch": {
"l": 0.74121,
"c": 0.12469,
"h": 91.5
},
"luminance": 0.40678
}Semantic roles & 50–950 ramp
primary
#C8A842
secondary
#96A4D0
accent
#6DDE4A
background
#FEFBF7
surface
#FCF7EE
border
#D5D0C9
text
#16120A
muted
#84817C