#A4B42A#A4B42A
#A4B42A is a light, vivid yellow. Relative luminance 0.407; OKLCH L 73.3% C 0.155 H 116.3°. Best body text is #000000 at 9.14:1 contrast (WCAG AA passes).
Color values
| HEX | #A4B42A |
|---|---|
| RGB | rgb(164, 180, 42) |
| HSL | hsl(67, 62%, 44%) |
| HSV | hsv(67, 77%, 71%) |
| CMYK | cmyk(8.9%, 0%, 76.7%, 29.4%) |
| CIE-LAB | lab(69.97, -22.53, 63.22) |
| CIE-LCH | lch(69.97, 67.12, 109.62°) |
| OKLab | oklab(73.34% -0.0684 0.1387) |
| OKLCH | oklch(73.34% 0.155 116.3) |
| XYZ | xyz(32.0499, 40.7027, 8.3581) |
| Luminance | 0.4070 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 2.37
Puke Green
#9AAE07
ΔE00 2.43
Sick Green
#9DB92C
ΔE00 2.66
Snot
#ACBB0D
ΔE00 2.98
Booger Green
#96B403
ΔE00 3.02
Sickly Green
#94B21C
ΔE00 3.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A4B42A #3A2AB4
analogous
#B47F2A #A4B42A #5FB42A
triadic
#A4B42A #2AA4B4 #B42AA4
tetradic
#A4B42A #2AB47F #3A2AB4 #B42A5F
square
#A4B42A #2AB47F #3A2AB4 #B42A5F
split-complementary
#A4B42A #2A5FB4 #7F2AB4
monochromatic
#4A5113 #77821E #A4B42A #C4D447 #D4E079
Accessibility & contrast
On white
2.30
#A4B42A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.14
#A4B42A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A4B42A
9.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A4B42A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A4B42A | 1.00 | 2.30 | 9.14 | 9.14 |
| #FFFFFF | 2.30 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.14 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.14 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C1AA03
Deuteranopia (green-blind)
#BFAC37
Tritanopia (blue-blind)
#AFA99A
Achromatopsia (no color)
#ABABAB
Design tokens & code
CSS
--color: #a4b42a; /* rgb */ color: rgb(164, 180, 42); /* oklch */ color: oklch(73.3% 0.155 116.3);
Tailwind
colors: {
custom: {
50: '#c3ca6f',
500: '#a4b42a',
950: '#000000',
},
}SCSS
$custom: #a4b42a; $custom-light: #c3ca6f; $custom-dark: #000000;
JSON
{
"hex": "#a4b42a",
"rgb": {
"r": 164,
"g": 180,
"b": 42
},
"hsl": {
"h": 66.957,
"s": 62.162,
"l": 43.529
},
"oklch": {
"l": 0.73339,
"c": 0.1547,
"h": 116.3
},
"luminance": 0.40702
}Semantic roles & 50–950 ramp
primary
#A4B42A
secondary
#7C72C8
accent
#43E555
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B