#A4AB40#A4AB40
#A4AB40 is a light, vivid yellow. Relative luminance 0.374; OKLCH L 71.5% C 0.130 H 112.8°. Best body text is #000000 at 8.48:1 contrast (WCAG AA passes).
Color values
| HEX | #A4AB40 |
|---|---|
| RGB | rgb(164, 171, 64) |
| HSL | hsl(64, 46%, 46%) |
| HSV | hsv(64, 63%, 67%) |
| CMYK | cmyk(4.1%, 0%, 62.6%, 32.9%) |
| CIE-LAB | lab(67.57, -16.78, 52.53) |
| CIE-LCH | lch(67.57, 55.15, 107.71°) |
| OKLab | oklab(71.46% -0.0503 0.1198) |
| OKLCH | oklch(71.46% 0.13 112.8) |
| XYZ | xyz(30.7990, 37.3891, 10.4439) |
| Luminance | 0.3739 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup Green
#94A617
ΔE00 4.25
Vomit
#A2A415
ΔE00 4.27
Booger
#9BB53C
ΔE00 4.66
Puke Green
#9AAE07
ΔE00 4.71
Puke
#A5A502
ΔE00 5.08
Barf Green
#94AC02
ΔE00 5.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A4AB40 #4740AB
analogous
#AB7C40 #A4AB40 #6EAB40
triadic
#A4AB40 #40A4AB #AB40A4
tetradic
#A4AB40 #40AB7C #4740AB #AB406E
square
#A4AB40 #40AB7C #4740AB #AB406E
split-complementary
#A4AB40 #406EAB #7C40AB
monochromatic
#4F521F #797E2F #A4AB40 #BEC563 #D1D590
Accessibility & contrast
On white
2.48
#A4AB40 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.48
#A4AB40 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A4AB40
8.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A4AB40 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A4AB40 | 1.00 | 2.48 | 8.48 | 8.48 |
| #FFFFFF | 2.48 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.48 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.48 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B7A333
Deuteranopia (green-blind)
#B7A647
Tritanopia (blue-blind)
#AEA195
Achromatopsia (no color)
#A5A5A5
Design tokens & code
CSS
--color: #a4ab40; /* rgb */ color: rgb(164, 171, 64); /* oklch */ color: oklch(71.5% 0.130 112.8);
Tailwind
colors: {
custom: {
50: '#c2c37a',
500: '#a4ab40',
950: '#000000',
},
}SCSS
$custom: #a4ab40; $custom-light: #c2c37a; $custom-dark: #000000;
JSON
{
"hex": "#a4ab40",
"rgb": {
"r": 164,
"g": 171,
"b": 64
},
"hsl": {
"h": 63.925,
"s": 45.532,
"l": 46.078
},
"oklch": {
"l": 0.71463,
"c": 0.12993,
"h": 112.8
},
"luminance": 0.37388
}Semantic roles & 50–950 ramp
primary
#A4AB40
secondary
#8A86C1
accent
#53D55B
background
#FCFCF7
surface
#F8F8EE
border
#D1D1C9
text
#131209
muted
#82817B