#A8A22A#A8A22A
#A8A22A is a light, vivid yellow. Relative luminance 0.343; OKLCH L 69.6% C 0.135 H 106.5°. Best body text is #000000 at 7.87:1 contrast (WCAG AA passes).
Color values
| HEX | #A8A22A |
|---|---|
| RGB | rgb(168, 162, 42) |
| HSL | hsl(57, 60%, 41%) |
| HSV | hsv(57, 75%, 66%) |
| CMYK | cmyk(0%, 3.6%, 75%, 34.1%) |
| CIE-LAB | lab(65.23, -11.63, 58.93) |
| CIE-LCH | lch(65.23, 60.07, 101.16°) |
| OKLab | oklab(69.62% -0.0383 0.1295) |
| OKLCH | oklch(69.62% 0.135 106.5) |
| XYZ | xyz(29.4879, 34.3337, 7.2638) |
| Luminance | 0.3433 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 2.45
Puke
#A5A502
ΔE00 2.73
Pea Soup
#929901
ΔE00 5.04
Baby Poop Green
#8F9805
ΔE00 5.65
Pea Soup Green
#94A617
ΔE00 5.90
Muddy Yellow
#BFAC05
ΔE00 5.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A8A22A #2A30A8
analogous
#A8632A #A8A22A #6FA82A
triadic
#A8A22A #2AA8A2 #A22AA8
tetradic
#A8A22A #2AA863 #2A30A8 #A82A6F
square
#A8A22A #2AA863 #2A30A8 #A82A6F
split-complementary
#A8A22A #2A6FA8 #632AA8
monochromatic
#464412 #77731E #A8A22A #CFC840 #DBD671
Accessibility & contrast
On white
2.67
#A8A22A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.87
#A8A22A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A8A22A
7.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A8A22A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A8A22A | 1.00 | 2.67 | 7.87 | 7.87 |
| #FFFFFF | 2.67 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.87 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.87 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B09C11
Deuteranopia (green-blind)
#B3A033
Tritanopia (blue-blind)
#B5978B
Achromatopsia (no color)
#9E9E9E
Design tokens & code
CSS
--color: #a8a22a; /* rgb */ color: rgb(168, 162, 42); /* oklch */ color: oklch(69.6% 0.135 106.5);
Tailwind
colors: {
custom: {
50: '#c5bd6d',
500: '#a8a22a',
950: '#000000',
},
}SCSS
$custom: #a8a22a; $custom-light: #c5bd6d; $custom-dark: #000000;
JSON
{
"hex": "#a8a22a",
"rgb": {
"r": 168,
"g": 162,
"b": 42
},
"hsl": {
"h": 57.143,
"s": 60,
"l": 41.176
},
"oklch": {
"l": 0.69624,
"c": 0.13504,
"h": 106.5
},
"luminance": 0.34333
}Semantic roles & 50–950 ramp
primary
#A8A22A
secondary
#6B6FC3
accent
#4CE345
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131208
muted
#82817B