#A4B221#A4B221
#A4B221 is a light, vivid yellow. Relative luminance 0.398; OKLCH L 72.8% C 0.157 H 115.4°. Best body text is #000000 at 8.97:1 contrast (WCAG AA passes).
Color values
| HEX | #A4B221 |
|---|---|
| RGB | rgb(164, 178, 33) |
| HSL | hsl(66, 69%, 41%) |
| HSV | hsv(66, 81%, 70%) |
| CMYK | cmyk(7.9%, 0%, 81.5%, 30.2%) |
| CIE-LAB | lab(69.36, -21.89, 65.30) |
| CIE-LCH | lch(69.36, 68.87, 108.53°) |
| OKLab | oklab(72.84% -0.0673 0.1416) |
| OKLCH | oklch(72.84% 0.157 115.4) |
| XYZ | xyz(31.5057, 39.8436, 7.4695) |
| Luminance | 0.3984 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 1.81
Puke Green
#9AAE07
ΔE00 2.01
Snot
#ACBB0D
ΔE00 2.89
Barf Green
#94AC02
ΔE00 3.10
Booger Green
#96B403
ΔE00 3.23
Sick Green
#9DB92C
ΔE00 3.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A4B221 #2F21B2
analogous
#B27821 #A4B221 #5CB221
triadic
#A4B221 #21A4B2 #B221A4
tetradic
#A4B221 #21B278 #2F21B2 #B2215C
square
#A4B221 #21B278 #2F21B2 #B2215C
split-complementary
#A4B221 #215CB2 #7821B2
monochromatic
#454B0E #747E17 #A4B221 #CADA36 #D8E36A
Accessibility & contrast
On white
2.34
#A4B221 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.97
#A4B221 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A4B221
8.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A4B221 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A4B221 | 1.00 | 2.34 | 8.97 | 8.97 |
| #FFFFFF | 2.34 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.97 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.97 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BFA800
Deuteranopia (green-blind)
#BEAA30
Tritanopia (blue-blind)
#AFA798
Achromatopsia (no color)
#A9A9A9
Design tokens & code
CSS
--color: #a4b221; /* rgb */ color: rgb(164, 178, 33); /* oklch */ color: oklch(72.8% 0.157 115.4);
Tailwind
colors: {
custom: {
50: '#c3c86b',
500: '#a4b221',
950: '#000000',
},
}SCSS
$custom: #a4b221; $custom-light: #c3c86b; $custom-dark: #000000;
JSON
{
"hex": "#a4b221",
"rgb": {
"r": 164,
"g": 178,
"b": 33
},
"hsl": {
"h": 65.793,
"s": 68.72,
"l": 41.373
},
"oklch": {
"l": 0.72837,
"c": 0.15678,
"h": 115.4
},
"luminance": 0.39843
}Semantic roles & 50–950 ramp
primary
#A4B221
secondary
#6F66C9
accent
#3CEC4D
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131307
muted
#82827A