#A4B31A#A4B31A
#A4B31A is a light, vivid yellow. Relative luminance 0.402; OKLCH L 73.0% C 0.161 H 115.8°. Best body text is #000000 at 9.04:1 contrast (WCAG AA passes).
Color values
| HEX | #A4B31A |
|---|---|
| RGB | rgb(164, 179, 26) |
| HSL | hsl(66, 75%, 40%) |
| HSV | hsv(66, 85%, 70%) |
| CMYK | cmyk(8.4%, 0%, 85.5%, 29.8%) |
| CIE-LAB | lab(69.62, -22.60, 67.22) |
| CIE-LCH | lch(69.62, 70.92, 108.58°) |
| OKLab | oklab(73.04% -0.0697 0.1446) |
| OKLCH | oklch(73.04% 0.161 115.8) |
| XYZ | xyz(31.6173, 40.2078, 7.0724) |
| Luminance | 0.4021 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 1.38
Puke Green
#9AAE07
ΔE00 2.01
Snot
#ACBB0D
ΔE00 2.47
Booger Green
#96B403
ΔE00 3.04
Barf Green
#94AC02
ΔE00 3.14
Sick Green
#9DB92C
ΔE00 3.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A4B31A #291AB3
analogous
#B3751A #A4B31A #58B31A
triadic
#A4B31A #1AA4B3 #B31AA4
tetradic
#A4B31A #1AB375 #291AB3 #B31A58
square
#A4B31A #1AB375 #291AB3 #B31A58
split-complementary
#A4B31A #1A58B3 #751AB3
monochromatic
#42480A #737E12 #A4B31A #CEE02A #DAE860
Accessibility & contrast
On white
2.32
#A4B31A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.04
#A4B31A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A4B31A
9.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A4B31A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A4B31A | 1.00 | 2.32 | 9.04 | 9.04 |
| #FFFFFF | 2.32 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.04 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.04 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C0A900
Deuteranopia (green-blind)
#BFAB2C
Tritanopia (blue-blind)
#AFA899
Achromatopsia (no color)
#AAAAAA
Design tokens & code
CSS
--color: #a4b31a; /* rgb */ color: rgb(164, 179, 26); /* oklch */ color: oklch(73.0% 0.161 115.8);
Tailwind
colors: {
custom: {
50: '#c3c969',
500: '#a4b31a',
950: '#000000',
},
}SCSS
$custom: #a4b31a; $custom-light: #c3c969; $custom-dark: #000000;
JSON
{
"hex": "#a4b31a",
"rgb": {
"r": 164,
"g": 179,
"b": 26
},
"hsl": {
"h": 65.882,
"s": 74.634,
"l": 40.196
},
"oklch": {
"l": 0.73037,
"c": 0.16051,
"h": 115.8
},
"luminance": 0.40207
}Semantic roles & 50–950 ramp
primary
#A4B31A
secondary
#685DCC
accent
#37F149
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131307
muted
#82827A