#A8A22E#A8A22E
#A8A22E is a light, vivid yellow. Relative luminance 0.344; OKLCH L 69.7% C 0.133 H 106.4°. Best body text is #000000 at 7.87:1 contrast (WCAG AA passes).
Color values
| HEX | #A8A22E |
|---|---|
| RGB | rgb(168, 162, 46) |
| HSL | hsl(57, 57%, 42%) |
| HSV | hsv(57, 73%, 66%) |
| CMYK | cmyk(0%, 3.6%, 72.6%, 34.1%) |
| CIE-LAB | lab(65.25, -11.45, 57.52) |
| CIE-LCH | lch(65.25, 58.65, 101.25°) |
| OKLab | oklab(69.65% -0.0374 0.1273) |
| OKLCH | oklch(69.65% 0.133 106.4) |
| XYZ | xyz(29.5631, 34.3638, 7.6599) |
| Luminance | 0.3436 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 2.68
Puke
#A5A502
ΔE00 3.05
Pea Soup
#929901
ΔE00 5.14
Baby Poop Green
#8F9805
ΔE00 5.72
Pea Soup Green
#94A617
ΔE00 5.95
Muddy Yellow
#BFAC05
ΔE00 6.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A8A22E #2E34A8
analogous
#A8652E #A8A22E #71A82E
triadic
#A8A22E #2EA8A2 #A22EA8
tetradic
#A8A22E #2EA865 #2E34A8 #A82E71
square
#A8A22E #2EA865 #2E34A8 #A82E71
split-complementary
#A8A22E #2E71A8 #652EA8
monochromatic
#484514 #787421 #A8A22E #CDC647 #DAD577
Accessibility & contrast
On white
2.67
#A8A22E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.87
#A8A22E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A8A22E
7.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A8A22E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A8A22E | 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)
#B09C19
Deuteranopia (green-blind)
#B3A036
Tritanopia (blue-blind)
#B4978B
Achromatopsia (no color)
#9E9E9E
Design tokens & code
CSS
--color: #a8a22e; /* rgb */ color: rgb(168, 162, 46); /* oklch */ color: oklch(69.7% 0.133 106.4);
Tailwind
colors: {
custom: {
50: '#c5bd6f',
500: '#a8a22e',
950: '#000000',
},
}SCSS
$custom: #a8a22e; $custom-light: #c5bd6f; $custom-dark: #000000;
JSON
{
"hex": "#a8a22e",
"rgb": {
"r": 168,
"g": 162,
"b": 46
},
"hsl": {
"h": 57.049,
"s": 57.009,
"l": 41.961
},
"oklch": {
"l": 0.69651,
"c": 0.13264,
"h": 106.4
},
"luminance": 0.34363
}Semantic roles & 50–950 ramp
primary
#A8A22E
secondary
#7074C2
accent
#4FE048
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#131208
muted
#82817B