#C8A742#C8A742
#C8A742 is a light, vivid yellow. Relative luminance 0.403; OKLCH L 73.9% C 0.124 H 90.8°. Best body text is #000000 at 9.06:1 contrast (WCAG AA passes).
Color values
| HEX | #C8A742 |
|---|---|
| RGB | rgb(200, 167, 66) |
| HSL | hsl(45, 55%, 52%) |
| HSV | hsv(45, 67%, 78%) |
| CMYK | cmyk(0%, 16.5%, 67%, 21.6%) |
| CIE-LAB | lab(69.69, 0.99, 54.88) |
| CIE-LCH | lch(69.69, 54.89, 88.97°) |
| OKLab | oklab(73.92% -0.0017 0.1241) |
| OKLCH | oklch(73.92% 0.124 90.8) |
| XYZ | xyz(38.6235, 40.3124, 10.8999) |
| Luminance | 0.4031 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Desert
#CCAD60
ΔE00 4.03
Ocher
#BF9B0C
ΔE00 4.80
Ocre
#C69C04
ΔE00 4.97
Sandy Brown
#C4A661
ΔE00 5.03
Burnt Yellow
#D5AB09
ΔE00 5.12
Yellow Ochre
#CB9D06
ΔE00 5.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C8A742 #4263C8
analogous
#C86442 #C8A742 #A6C842
triadic
#C8A742 #42C8A7 #A742C8
tetradic
#C8A742 #42C864 #4263C8 #C842A6
square
#C8A742 #42C864 #4263C8 #C842A6
split-complementary
#C8A742 #42A6C8 #6442C8
monochromatic
#6F5C20 #9F832E #C8A742 #D6BD71 #E4D3A1
Accessibility & contrast
On white
2.32
#C8A742 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.06
#C8A742 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C8A742
9.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C8A742 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C8A742 | 1.00 | 2.32 | 9.06 | 9.06 |
| #FFFFFF | 2.32 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.06 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.06 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B9A536
Deuteranopia (green-blind)
#C1AE47
Tritanopia (blue-blind)
#D89A92
Achromatopsia (no color)
#AAAAAA
Design tokens & code
CSS
--color: #c8a742; /* rgb */ color: rgb(200, 167, 66); /* oklch */ color: oklch(73.9% 0.124 90.8);
Tailwind
colors: {
custom: {
50: '#dcc07b',
500: '#c8a742',
950: '#000000',
},
}SCSS
$custom: #c8a742; $custom-light: #dcc07b; $custom-dark: #000000;
JSON
{
"hex": "#c8a742",
"rgb": {
"r": 200,
"g": 167,
"b": 66
},
"hsl": {
"h": 45.224,
"s": 54.918,
"l": 52.157
},
"oklch": {
"l": 0.73916,
"c": 0.12407,
"h": 90.8
},
"luminance": 0.4031
}Semantic roles & 50–950 ramp
primary
#C8A742
secondary
#96A4D0
accent
#6EDE4A
background
#FEFBF7
surface
#FCF7EE
border
#D5D0C9
text
#16120A
muted
#84817C