#A4BA31#A4BA31
#A4BA31 is a light, vivid yellow. Relative luminance 0.432; OKLCH L 74.8% C 0.158 H 118.5°. Best body text is #000000 at 9.65:1 contrast (WCAG AA passes).
Color values
| HEX | #A4BA31 |
|---|---|
| RGB | rgb(164, 186, 49) |
| HSL | hsl(70, 58%, 46%) |
| HSV | hsv(70, 74%, 73%) |
| CMYK | cmyk(11.8%, 0%, 73.7%, 27.1%) |
| CIE-LAB | lab(71.71, -25.15, 62.56) |
| CIE-LCH | lch(71.71, 67.42, 111.90°) |
| OKLab | oklab(74.75% -0.0751 0.1385) |
| OKLCH | oklch(74.75% 0.158 118.5) |
| XYZ | xyz(33.4239, 43.2324, 9.4890) |
| Luminance | 0.4323 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sick Green
#9DB92C
ΔE00 1.33
Pea
#A4BF20
ΔE00 1.95
Gross Green
#A0BF16
ΔE00 2.45
Bright Olive
#9CBB04
ΔE00 2.52
Booger
#9BB53C
ΔE00 2.63
Booger Green
#96B403
ΔE00 3.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A4BA31 #4731BA
analogous
#BA8B31 #A4BA31 #5FBA31
triadic
#A4BA31 #31A4BA #BA31A4
tetradic
#A4BA31 #31BA8B #4731BA #BA315F
square
#A4BA31 #31BA8B #4731BA #BA315F
split-complementary
#A4BA31 #315FBA #8B31BA
monochromatic
#4F5917 #798A24 #A4BA31 #BED256 #D1DF86
Accessibility & contrast
On white
2.18
#A4BA31 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.65
#A4BA31 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A4BA31
9.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A4BA31 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A4BA31 | 1.00 | 2.18 | 9.65 | 9.65 |
| #FFFFFF | 2.18 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.65 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.65 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C6B014
Deuteranopia (green-blind)
#C4B03D
Tritanopia (blue-blind)
#AEB0A0
Achromatopsia (no color)
#B0B0B0
Design tokens & code
CSS
--color: #a4ba31; /* rgb */ color: rgb(164, 186, 49); /* oklch */ color: oklch(74.8% 0.158 118.5);
Tailwind
colors: {
custom: {
50: '#c2ce73',
500: '#a4ba31',
950: '#000000',
},
}SCSS
$custom: #a4ba31; $custom-light: #c2ce73; $custom-dark: #000000;
JSON
{
"hex": "#a4ba31",
"rgb": {
"r": 164,
"g": 186,
"b": 49
},
"hsl": {
"h": 69.635,
"s": 58.298,
"l": 46.078
},
"oklch": {
"l": 0.74754,
"c": 0.15757,
"h": 118.5
},
"luminance": 0.43232
}Semantic roles & 50–950 ramp
primary
#A4BA31
secondary
#8A7EC9
accent
#46E25F
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131309
muted
#82827B