#A8B22E#A8B22E
#A8B22E is a light, vivid yellow. Relative luminance 0.404; OKLCH L 73.2% C 0.149 H 113.9°. Best body text is #000000 at 9.07:1 contrast (WCAG AA passes).
Color values
| HEX | #A8B22E |
|---|---|
| RGB | rgb(168, 178, 46) |
| HSL | hsl(65, 59%, 44%) |
| HSV | hsv(65, 74%, 70%) |
| CMYK | cmyk(5.6%, 0%, 74.2%, 30.2%) |
| CIE-LAB | lab(69.73, -19.65, 61.80) |
| CIE-LCH | lch(69.73, 64.85, 107.64°) |
| OKLab | oklab(73.23% -0.0603 0.1363) |
| OKLCH | oklch(73.23% 0.149 113.9) |
| XYZ | xyz(32.5630, 40.3635, 8.6598) |
| Luminance | 0.4036 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 2.46
Puke Green
#9AAE07
ΔE00 3.02
Snot
#ACBB0D
ΔE00 3.35
Sick Green
#9DB92C
ΔE00 3.98
Barf Green
#94AC02
ΔE00 4.02
Booger
#9BB53C
ΔE00 4.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A8B22E #382EB2
analogous
#B27A2E #A8B22E #66B22E
triadic
#A8B22E #2EA8B2 #B22EA8
tetradic
#A8B22E #2EB27A #382EB2 #B22E66
square
#A8B22E #2EB27A #382EB2 #B22E66
split-complementary
#A8B22E #2E66B2 #7A2EB2
monochromatic
#4C5115 #7A8121 #A8B22E #C7D14C #D6DD7D
Accessibility & contrast
On white
2.31
#A8B22E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.07
#A8B22E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A8B22E
9.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A8B22E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A8B22E | 1.00 | 2.31 | 9.07 | 9.07 |
| #FFFFFF | 2.31 | 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)
#BFA911
Deuteranopia (green-blind)
#BFAC39
Tritanopia (blue-blind)
#B3A799
Achromatopsia (no color)
#AAAAAA
Design tokens & code
CSS
--color: #a8b22e; /* rgb */ color: rgb(168, 178, 46); /* oklch */ color: oklch(73.2% 0.149 113.9);
Tailwind
colors: {
custom: {
50: '#c5c871',
500: '#a8b22e',
950: '#000000',
},
}SCSS
$custom: #a8b22e; $custom-light: #c5c871; $custom-dark: #000000;
JSON
{
"hex": "#a8b22e",
"rgb": {
"r": 168,
"g": 178,
"b": 46
},
"hsl": {
"h": 64.545,
"s": 58.929,
"l": 43.922
},
"oklch": {
"l": 0.73229,
"c": 0.14904,
"h": 113.9
},
"luminance": 0.40363
}Semantic roles & 50–950 ramp
primary
#A8B22E
secondary
#7C76C6
accent
#46E252
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B