#A4B42E#A4B42E
#A4B42E is a light, vivid yellow. Relative luminance 0.407; OKLCH L 73.4% C 0.153 H 116.3°. Best body text is #000000 at 9.15:1 contrast (WCAG AA passes).
Color values
| HEX | #A4B42E |
|---|---|
| RGB | rgb(164, 180, 46) |
| HSL | hsl(67, 59%, 44%) |
| HSV | hsv(67, 74%, 71%) |
| CMYK | cmyk(8.9%, 0%, 74.4%, 29.4%) |
| CIE-LAB | lab(69.99, -22.35, 61.94) |
| CIE-LCH | lch(69.99, 65.84, 109.84°) |
| OKLab | oklab(73.36% -0.0676 0.1367) |
| OKLCH | oklch(73.36% 0.153 116.3) |
| XYZ | xyz(32.1251, 40.7327, 8.7541) |
| Luminance | 0.4073 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sick Green
#9DB92C
ΔE00 2.60
Puke Green
#9AAE07
ΔE00 2.62
Mustard Green
#A8B504
ΔE00 2.70
Booger
#9BB53C
ΔE00 3.01
Sickly Green
#94B21C
ΔE00 3.13
Booger Green
#96B403
ΔE00 3.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A4B42E #3E2EB4
analogous
#B4812E #A4B42E #61B42E
triadic
#A4B42E #2EA4B4 #B42EA4
tetradic
#A4B42E #2EB481 #3E2EB4 #B42E61
square
#A4B42E #2EB481 #3E2EB4 #B42E61
split-complementary
#A4B42E #2E61B4 #812EB4
monochromatic
#4B5315 #788322 #A4B42E #C2D24E #D3DE7E
Accessibility & contrast
On white
2.30
#A4B42E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.15
#A4B42E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A4B42E
9.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A4B42E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A4B42E | 1.00 | 2.30 | 9.15 | 9.15 |
| #FFFFFF | 2.30 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.15 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.15 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C1AA10
Deuteranopia (green-blind)
#BFAC3A
Tritanopia (blue-blind)
#AFAA9B
Achromatopsia (no color)
#ABABAB
Design tokens & code
CSS
--color: #a4b42e; /* rgb */ color: rgb(164, 180, 46); /* oklch */ color: oklch(73.4% 0.153 116.3);
Tailwind
colors: {
custom: {
50: '#c2ca71',
500: '#a4b42e',
950: '#000000',
},
}SCSS
$custom: #a4b42e; $custom-light: #c2ca71; $custom-dark: #000000;
JSON
{
"hex": "#a4b42e",
"rgb": {
"r": 164,
"g": 180,
"b": 46
},
"hsl": {
"h": 67.164,
"s": 59.292,
"l": 44.314
},
"oklch": {
"l": 0.73363,
"c": 0.15251,
"h": 116.3
},
"luminance": 0.40732
}Semantic roles & 50–950 ramp
primary
#A4B42E
secondary
#8177C7
accent
#45E258
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B