#A8B22B#A8B22B
#A8B22B 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 | #A8B22B |
|---|---|
| RGB | rgb(168, 178, 43) |
| HSL | hsl(64, 61%, 43%) |
| HSV | hsv(64, 76%, 70%) |
| CMYK | cmyk(5.6%, 0%, 75.8%, 30.2%) |
| CIE-LAB | lab(69.71, -19.79, 62.78) |
| CIE-LCH | lch(69.71, 65.82, 107.50°) |
| OKLab | oklab(73.21% -0.061 0.1378) |
| OKLCH | oklch(73.21% 0.151 113.9) |
| XYZ | xyz(32.5059, 40.3407, 8.3592) |
| Luminance | 0.4034 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 2.22
Puke Green
#9AAE07
ΔE00 2.92
Snot
#ACBB0D
ΔE00 3.17
Barf Green
#94AC02
ΔE00 3.96
Sick Green
#9DB92C
ΔE00 4.03
Booger Green
#96B403
ΔE00 4.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A8B22B #352BB2
analogous
#B2782B #A8B22B #65B22B
triadic
#A8B22B #2BA8B2 #B22BA8
tetradic
#A8B22B #2BB278 #352BB2 #B22B65
square
#A8B22B #2BB278 #352BB2 #B22B65
split-complementary
#A8B22B #2B65B2 #782BB2
monochromatic
#4B4F13 #79811F #A8B22B #C8D348 #D7DF79
Accessibility & contrast
On white
2.32
#A8B22B on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.07
#A8B22B on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A8B22B
9.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A8B22B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A8B22B | 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)
#BFA908
Deuteranopia (green-blind)
#BFAC37
Tritanopia (blue-blind)
#B3A799
Achromatopsia (no color)
#AAAAAA
Design tokens & code
CSS
--color: #a8b22b; /* rgb */ color: rgb(168, 178, 43); /* oklch */ color: oklch(73.2% 0.151 113.9);
Tailwind
colors: {
custom: {
50: '#c5c86f',
500: '#a8b22b',
950: '#000000',
},
}SCSS
$custom: #a8b22b; $custom-light: #c5c86f; $custom-dark: #000000;
JSON
{
"hex": "#a8b22b",
"rgb": {
"r": 168,
"g": 178,
"b": 43
},
"hsl": {
"h": 64.444,
"s": 61.086,
"l": 43.333
},
"oklch": {
"l": 0.73211,
"c": 0.15071,
"h": 113.9
},
"luminance": 0.4034
}Semantic roles & 50–950 ramp
primary
#A8B22B
secondary
#7872C7
accent
#44E44F
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B