#A8B22A#A8B22A
#A8B22A is a light, vivid yellow. Relative luminance 0.403; OKLCH L 73.2% C 0.151 H 113.9°. Best body text is #000000 at 9.07:1 contrast (WCAG AA passes).
Color values
| HEX | #A8B22A |
|---|---|
| RGB | rgb(168, 178, 42) |
| HSL | hsl(64, 62%, 43%) |
| HSV | hsv(64, 76%, 70%) |
| CMYK | cmyk(5.6%, 0%, 76.4%, 30.2%) |
| CIE-LAB | lab(69.71, -19.83, 63.09) |
| CIE-LCH | lch(69.71, 66.13, 107.45°) |
| OKLab | oklab(73.21% -0.0612 0.1383) |
| OKLCH | oklch(73.21% 0.151 113.9) |
| XYZ | xyz(32.4878, 40.3335, 8.2638) |
| Luminance | 0.4033 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 2.14
Puke Green
#9AAE07
ΔE00 2.89
Snot
#ACBB0D
ΔE00 3.12
Barf Green
#94AC02
ΔE00 3.94
Sick Green
#9DB92C
ΔE00 4.05
Booger Green
#96B403
ΔE00 4.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A8B22A #342AB2
analogous
#B2782A #A8B22A #64B22A
triadic
#A8B22A #2AA8B2 #B22AA8
tetradic
#A8B22A #2AB278 #342AB2 #B22A64
square
#A8B22A #2AB278 #342AB2 #B22A64
split-complementary
#A8B22A #2A64B2 #782AB2
monochromatic
#4B4F13 #79801E #A8B22A #C9D346 #D7DF77
Accessibility & contrast
On white
2.32
#A8B22A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.07
#A8B22A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A8B22A
9.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A8B22A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A8B22A | 1.00 | 2.32 | 9.07 | 9.07 |
| #FFFFFF | 2.32 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.07 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.07 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BFA905
Deuteranopia (green-blind)
#BFAC36
Tritanopia (blue-blind)
#B3A799
Achromatopsia (no color)
#AAAAAA
Design tokens & code
CSS
--color: #a8b22a; /* rgb */ color: rgb(168, 178, 42); /* oklch */ color: oklch(73.2% 0.151 113.9);
Tailwind
colors: {
custom: {
50: '#c5c86f',
500: '#a8b22a',
950: '#000000',
},
}SCSS
$custom: #a8b22a; $custom-light: #c5c86f; $custom-dark: #000000;
JSON
{
"hex": "#a8b22a",
"rgb": {
"r": 168,
"g": 178,
"b": 42
},
"hsl": {
"h": 64.412,
"s": 61.818,
"l": 43.137
},
"oklch": {
"l": 0.73206,
"c": 0.15124,
"h": 113.9
},
"luminance": 0.40333
}Semantic roles & 50–950 ramp
primary
#A8B22A
secondary
#7771C7
accent
#43E54F
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B