#C8A942#C8A942
#C8A942 is a light, vivid yellow. Relative luminance 0.410; OKLCH L 74.3% C 0.125 H 92.2°. Best body text is #000000 at 9.21:1 contrast (WCAG AA passes).
Color values
| HEX | #C8A942 |
|---|---|
| RGB | rgb(200, 169, 66) |
| HSL | hsl(46, 55%, 52%) |
| HSV | hsv(46, 67%, 78%) |
| CMYK | cmyk(0%, 15.5%, 67%, 21.6%) |
| CIE-LAB | lab(70.21, -0.08, 55.43) |
| CIE-LCH | lch(70.21, 55.43, 90.08°) |
| OKLab | oklab(74.33% -0.0048 0.1252) |
| OKLCH | oklch(74.33% 0.125 92.2) |
| XYZ | xyz(38.9927, 41.0508, 11.0230) |
| Luminance | 0.4105 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Desert
#CCAD60
ΔE00 4.18
Mustard
#DBB42C
ΔE00 4.96
Burnt Yellow
#D5AB09
ΔE00 5.05
Ocher
#BF9B0C
ΔE00 5.08
Ocre
#C69C04
ΔE00 5.37
Sandy Brown
#C4A661
ΔE00 5.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C8A942 #4261C8
analogous
#C86642 #C8A942 #A4C842
triadic
#C8A942 #42C8A9 #A942C8
tetradic
#C8A942 #42C866 #4261C8 #C842A4
square
#C8A942 #42C866 #4261C8 #C842A4
split-complementary
#C8A942 #42A4C8 #6642C8
monochromatic
#6F5D20 #9F852E #C8A942 #D6BF71 #E4D4A1
Accessibility & contrast
On white
2.28
#C8A942 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.21
#C8A942 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C8A942
9.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C8A942 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C8A942 | 1.00 | 2.28 | 9.21 | 9.21 |
| #FFFFFF | 2.28 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.21 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.21 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BBA635
Deuteranopia (green-blind)
#C2AF47
Tritanopia (blue-blind)
#D89C93
Achromatopsia (no color)
#ACACAC
Design tokens & code
CSS
--color: #c8a942; /* rgb */ color: rgb(200, 169, 66); /* oklch */ color: oklch(74.3% 0.125 92.2);
Tailwind
colors: {
custom: {
50: '#dcc27b',
500: '#c8a942',
950: '#000000',
},
}SCSS
$custom: #c8a942; $custom-light: #dcc27b; $custom-dark: #000000;
JSON
{
"hex": "#c8a942",
"rgb": {
"r": 200,
"g": 169,
"b": 66
},
"hsl": {
"h": 46.119,
"s": 54.918,
"l": 52.157
},
"oklch": {
"l": 0.74326,
"c": 0.12532,
"h": 92.2
},
"luminance": 0.41049
}Semantic roles & 50–950 ramp
primary
#C8A942
secondary
#96A3D0
accent
#6CDE4A
background
#FEFBF7
surface
#FCF7EE
border
#D5D0C9
text
#16120A
muted
#84817C