#C8A22E#C8A22E
#C8A22E is a light, vivid yellow. Relative luminance 0.383; OKLCH L 72.7% C 0.134 H 89.6°. Best body text is #000000 at 8.66:1 contrast (WCAG AA passes).
Color values
| HEX | #C8A22E |
|---|---|
| RGB | rgb(200, 162, 46) |
| HSL | hsl(45, 63%, 48%) |
| HSV | hsv(45, 77%, 78%) |
| CMYK | cmyk(0%, 19%, 77%, 21.6%) |
| CIE-LAB | lab(68.26, 2.68, 61.43) |
| CIE-LCH | lch(68.26, 61.49, 87.50°) |
| OKLab | oklab(72.74% 0.0009 0.1342) |
| OKLCH | oklch(72.74% 0.134 89.6) |
| XYZ | xyz(37.2351, 38.3197, 8.0195) |
| Luminance | 0.3832 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Ocre
#C69C04
ΔE00 2.64
Yellow Ochre
#CB9D06
ΔE00 2.88
Ocher
#BF9B0C
ΔE00 2.89
Burnt Yellow
#D5AB09
ΔE00 4.04
Goldenrod
#DAA520
ΔE00 4.32
Yellow Brown
#B79400
ΔE00 4.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C8A22E #2E54C8
analogous
#C8552E #C8A22E #A1C82E
triadic
#C8A22E #2EC8A2 #A22EC8
tetradic
#C8A22E #2EC855 #2E54C8 #C82EA1
square
#C8A22E #2EC855 #2E54C8 #C82EA1
split-complementary
#C8A22E #2EA1C8 #552EC8
monochromatic
#645117 #967A23 #C8A22E #D9BA5A #E5CF8C
Accessibility & contrast
On white
2.42
#C8A22E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.66
#C8A22E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C8A22E
8.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C8A22E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C8A22E | 1.00 | 2.42 | 8.66 | 8.66 |
| #FFFFFF | 2.42 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.66 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.66 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B5A018
Deuteranopia (green-blind)
#BEAB35
Tritanopia (blue-blind)
#D9948C
Achromatopsia (no color)
#A6A6A6
Design tokens & code
CSS
--color: #c8a22e; /* rgb */ color: rgb(200, 162, 46); /* oklch */ color: oklch(72.7% 0.134 89.6);
Tailwind
colors: {
custom: {
50: '#ddbd70',
500: '#c8a22e',
950: '#000000',
},
}SCSS
$custom: #c8a22e; $custom-light: #ddbd70; $custom-dark: #000000;
JSON
{
"hex": "#c8a22e",
"rgb": {
"r": 200,
"g": 162,
"b": 46
},
"hsl": {
"h": 45.195,
"s": 62.602,
"l": 48.235
},
"oklch": {
"l": 0.72739,
"c": 0.13422,
"h": 89.6
},
"luminance": 0.38317
}Semantic roles & 50–950 ramp
primary
#C8A22E
secondary
#8396CF
accent
#6AE642
background
#FEFBF7
surface
#FCF6ED
border
#D5D0C8
text
#161208
muted
#84817B