#A5B42A#A5B42A
#A5B42A is a light, vivid yellow. Relative luminance 0.408; OKLCH L 73.4% C 0.154 H 115.9°. Best body text is #000000 at 9.16:1 contrast (WCAG AA passes).
Color values
| HEX | #A5B42A |
|---|---|
| RGB | rgb(165, 180, 42) |
| HSL | hsl(67, 62%, 44%) |
| HSV | hsv(67, 77%, 71%) |
| CMYK | cmyk(8.3%, 0%, 76.7%, 29.4%) |
| CIE-LAB | lab(70.04, -22.11, 63.32) |
| CIE-LCH | lch(70.04, 67.07, 109.25°) |
| OKLab | oklab(73.42% -0.0673 0.1389) |
| OKLCH | oklch(73.42% 0.154 115.9) |
| XYZ | xyz(32.2571, 40.8095, 8.3678) |
| Luminance | 0.4081 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 2.24
Puke Green
#9AAE07
ΔE00 2.51
Snot
#ACBB0D
ΔE00 2.87
Sick Green
#9DB92C
ΔE00 2.87
Booger Green
#96B403
ΔE00 3.21
Sickly Green
#94B21C
ΔE00 3.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A5B42A #392AB4
analogous
#B47E2A #A5B42A #60B42A
triadic
#A5B42A #2AA5B4 #B42AA5
tetradic
#A5B42A #2AB47E #392AB4 #B42A60
square
#A5B42A #2AB47E #392AB4 #B42A60
split-complementary
#A5B42A #2A60B4 #7E2AB4
monochromatic
#4A5113 #78821E #A5B42A #C5D447 #D4E079
Accessibility & contrast
On white
2.29
#A5B42A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.16
#A5B42A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A5B42A
9.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A5B42A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A5B42A | 1.00 | 2.29 | 9.16 | 9.16 |
| #FFFFFF | 2.29 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.16 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.16 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C1AA03
Deuteranopia (green-blind)
#C0AC37
Tritanopia (blue-blind)
#B0A99A
Achromatopsia (no color)
#ABABAB
Design tokens & code
CSS
--color: #a5b42a; /* rgb */ color: rgb(165, 180, 42); /* oklch */ color: oklch(73.4% 0.154 115.9);
Tailwind
colors: {
custom: {
50: '#c3ca6f',
500: '#a5b42a',
950: '#000000',
},
}SCSS
$custom: #a5b42a; $custom-light: #c3ca6f; $custom-dark: #000000;
JSON
{
"hex": "#a5b42a",
"rgb": {
"r": 165,
"g": 180,
"b": 42
},
"hsl": {
"h": 66.522,
"s": 62.162,
"l": 43.529
},
"oklch": {
"l": 0.73418,
"c": 0.15436,
"h": 115.9
},
"luminance": 0.40809
}Semantic roles & 50–950 ramp
primary
#A5B42A
secondary
#7B72C8
accent
#43E554
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B