#A9B42A#A9B42A
#A9B42A is a light, vivid yellow. Relative luminance 0.412; OKLCH L 73.7% C 0.153 H 114.2°. Best body text is #000000 at 9.25:1 contrast (WCAG AA passes).
Color values
| HEX | #A9B42A |
|---|---|
| RGB | rgb(169, 180, 42) |
| HSL | hsl(65, 62%, 44%) |
| HSV | hsv(65, 77%, 71%) |
| CMYK | cmyk(6.1%, 0%, 76.7%, 29.4%) |
| CIE-LAB | lab(70.35, -20.40, 63.71) |
| CIE-LCH | lch(70.35, 66.90, 107.76°) |
| OKLab | oklab(73.74% -0.0628 0.1396) |
| OKLCH | oklch(73.74% 0.153 114.2) |
| XYZ | xyz(33.1024, 41.2454, 8.4074) |
| Luminance | 0.4124 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 1.90
Snot
#ACBB0D
ΔE00 2.64
Puke Green
#9AAE07
ΔE00 3.04
Sick Green
#9DB92C
ΔE00 3.75
Pea
#A4BF20
ΔE00 3.98
Booger Green
#96B403
ΔE00 4.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A9B42A #352AB4
analogous
#B47A2A #A9B42A #64B42A
triadic
#A9B42A #2AA9B4 #B42AA9
tetradic
#A9B42A #2AB47A #352AB4 #B42A64
square
#A9B42A #2AB47A #352AB4 #B42A64
split-complementary
#A9B42A #2A64B4 #7A2AB4
monochromatic
#4C5113 #7A821E #A9B42A #C9D447 #D7E079
Accessibility & contrast
On white
2.27
#A9B42A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.25
#A9B42A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A9B42A
9.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A9B42A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A9B42A | 1.00 | 2.27 | 9.25 | 9.25 |
| #FFFFFF | 2.27 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.25 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.25 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C1AB03
Deuteranopia (green-blind)
#C1AD36
Tritanopia (blue-blind)
#B4A99A
Achromatopsia (no color)
#ACACAC
Design tokens & code
CSS
--color: #a9b42a; /* rgb */ color: rgb(169, 180, 42); /* oklch */ color: oklch(73.7% 0.153 114.2);
Tailwind
colors: {
custom: {
50: '#c6ca6f',
500: '#a9b42a',
950: '#000000',
},
}SCSS
$custom: #a9b42a; $custom-light: #c6ca6f; $custom-dark: #000000;
JSON
{
"hex": "#a9b42a",
"rgb": {
"r": 169,
"g": 180,
"b": 42
},
"hsl": {
"h": 64.783,
"s": 62.162,
"l": 43.529
},
"oklch": {
"l": 0.73739,
"c": 0.15308,
"h": 114.2
},
"luminance": 0.41245
}Semantic roles & 50–950 ramp
primary
#A9B42A
secondary
#7972C8
accent
#43E550
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#131308
muted
#82827B