#A4B431#A4B431
#A4B431 is a light, vivid yellow. Relative luminance 0.408; OKLCH L 73.4% C 0.151 H 116.4°. Best body text is #000000 at 9.15:1 contrast (WCAG AA passes).
Color values
| HEX | #A4B431 |
|---|---|
| RGB | rgb(164, 180, 49) |
| HSL | hsl(67, 57%, 45%) |
| HSV | hsv(67, 73%, 71%) |
| CMYK | cmyk(8.9%, 0%, 72.8%, 29.4%) |
| CIE-LAB | lab(70.01, -22.20, 60.92) |
| CIE-LCH | lch(70.01, 64.84, 110.03°) |
| OKLab | oklab(73.38% -0.0669 0.1351) |
| OKLCH | oklch(73.38% 0.151 116.4) |
| XYZ | xyz(32.1863, 40.7572, 9.0765) |
| Luminance | 0.4076 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sick Green
#9DB92C
ΔE00 2.58
Puke Green
#9AAE07
ΔE00 2.79
Booger
#9BB53C
ΔE00 2.82
Mustard Green
#A8B504
ΔE00 2.97
Sickly Green
#94B21C
ΔE00 3.16
Booger Green
#96B403
ΔE00 3.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A4B431 #4131B4
analogous
#B48231 #A4B431 #63B431
triadic
#A4B431 #31A4B4 #B431A4
tetradic
#A4B431 #31B482 #4131B4 #B43163
square
#A4B431 #31B482 #4131B4 #B43163
split-complementary
#A4B431 #3163B4 #8231B4
monochromatic
#4C5417 #788424 #A4B431 #C1D052 #D2DD82
Accessibility & contrast
On white
2.29
#A4B431 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.15
#A4B431 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A4B431
9.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A4B431 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A4B431 | 1.00 | 2.29 | 9.15 | 9.15 |
| #FFFFFF | 2.29 | 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)
#C1AA18
Deuteranopia (green-blind)
#BFAC3C
Tritanopia (blue-blind)
#AEAA9B
Achromatopsia (no color)
#ABABAB
Design tokens & code
CSS
--color: #a4b431; /* rgb */ color: rgb(164, 180, 49); /* oklch */ color: oklch(73.4% 0.151 116.4);
Tailwind
colors: {
custom: {
50: '#c2ca72',
500: '#a4b431',
950: '#000000',
},
}SCSS
$custom: #a4b431; $custom-light: #c2ca72; $custom-dark: #000000;
JSON
{
"hex": "#a4b431",
"rgb": {
"r": 164,
"g": 180,
"b": 49
},
"hsl": {
"h": 67.328,
"s": 57.205,
"l": 44.902
},
"oklch": {
"l": 0.73382,
"c": 0.15076,
"h": 116.4
},
"luminance": 0.40757
}Semantic roles & 50–950 ramp
primary
#A4B431
secondary
#847BC6
accent
#47E05A
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B