#A8B42A#A8B42A
#A8B42A is a light, vivid yellow. Relative luminance 0.411; OKLCH L 73.7% C 0.153 H 114.6°. Best body text is #000000 at 9.23:1 contrast (WCAG AA passes).
Color values
| HEX | #A8B42A |
|---|---|
| RGB | rgb(168, 180, 42) |
| HSL | hsl(65, 62%, 44%) |
| HSV | hsv(65, 77%, 71%) |
| CMYK | cmyk(6.7%, 0%, 76.7%, 29.4%) |
| CIE-LAB | lab(70.27, -20.83, 63.61) |
| CIE-LCH | lch(70.27, 66.93, 108.13°) |
| OKLab | oklab(73.66% -0.064 0.1394) |
| OKLCH | oklch(73.66% 0.153 114.6) |
| XYZ | xyz(32.8886, 41.1351, 8.3974) |
| Luminance | 0.4113 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 1.94
Snot
#ACBB0D
ΔE00 2.67
Puke Green
#9AAE07
ΔE00 2.89
Sick Green
#9DB92C
ΔE00 3.53
Booger Green
#96B403
ΔE00 3.83
Pea
#A4BF20
ΔE00 3.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A8B42A #362AB4
analogous
#B47B2A #A8B42A #63B42A
triadic
#A8B42A #2AA8B4 #B42AA8
tetradic
#A8B42A #2AB47B #362AB4 #B42A63
square
#A8B42A #2AB47B #362AB4 #B42A63
split-complementary
#A8B42A #2A63B4 #7B2AB4
monochromatic
#4B5113 #7A821E #A8B42A #C8D447 #D7E079
Accessibility & contrast
On white
2.28
#A8B42A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.23
#A8B42A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A8B42A
9.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A8B42A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A8B42A | 1.00 | 2.28 | 9.23 | 9.23 |
| #FFFFFF | 2.28 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.23 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.23 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C1AB03
Deuteranopia (green-blind)
#C1AD36
Tritanopia (blue-blind)
#B3A99A
Achromatopsia (no color)
#ACACAC
Design tokens & code
CSS
--color: #a8b42a; /* rgb */ color: rgb(168, 180, 42); /* oklch */ color: oklch(73.7% 0.153 114.6);
Tailwind
colors: {
custom: {
50: '#c5ca6f',
500: '#a8b42a',
950: '#000000',
},
}SCSS
$custom: #a8b42a; $custom-light: #c5ca6f; $custom-dark: #000000;
JSON
{
"hex": "#a8b42a",
"rgb": {
"r": 168,
"g": 180,
"b": 42
},
"hsl": {
"h": 65.217,
"s": 62.162,
"l": 43.529
},
"oklch": {
"l": 0.73658,
"c": 0.15338,
"h": 114.6
},
"luminance": 0.41135
}Semantic roles & 50–950 ramp
primary
#A8B42A
secondary
#7A72C8
accent
#43E551
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B