#A2BA31#A2BA31
#A2BA31 is a light, vivid yellow-green. Relative luminance 0.430; OKLCH L 74.6% C 0.158 H 119.2°. Best body text is #000000 at 9.60:1 contrast (WCAG AA passes).
Color values
| HEX | #A2BA31 |
|---|---|
| RGB | rgb(162, 186, 49) |
| HSL | hsl(71, 58%, 46%) |
| HSV | hsv(71, 74%, 73%) |
| CMYK | cmyk(12.9%, 0%, 73.7%, 27.1%) |
| CIE-LAB | lab(71.57, -25.98, 62.37) |
| CIE-LCH | lch(71.57, 67.57, 112.62°) |
| OKLab | oklab(74.6% -0.0773 0.1382) |
| OKLCH | oklch(74.6% 0.158 119.2) |
| XYZ | xyz(33.0142, 43.0212, 9.4698) |
| Luminance | 0.4302 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Sick Green
#9DB92C
ΔE00 0.92
Pea
#A4BF20
ΔE00 1.97
Gross Green
#A0BF16
ΔE00 2.35
Booger
#9BB53C
ΔE00 2.35
Bright Olive
#9CBB04
ΔE00 2.40
Booger Green
#96B403
ΔE00 2.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A2BA31 #4931BA
analogous
#BA8D31 #A2BA31 #5DBA31
triadic
#A2BA31 #31A2BA #BA31A2
tetradic
#A2BA31 #31BA8D #4931BA #BA315D
square
#A2BA31 #31BA8D #4931BA #BA315D
split-complementary
#A2BA31 #315DBA #8D31BA
monochromatic
#4E5917 #788A24 #A2BA31 #BDD256 #D0DF86
Accessibility & contrast
On white
2.19
#A2BA31 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.60
#A2BA31 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A2BA31
9.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A2BA31 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A2BA31 | 1.00 | 2.19 | 9.60 | 9.60 |
| #FFFFFF | 2.19 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.60 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.60 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C6AF15
Deuteranopia (green-blind)
#C3B03D
Tritanopia (blue-blind)
#ACB0A0
Achromatopsia (no color)
#AFAFAF
Design tokens & code
CSS
--color: #a2ba31; /* rgb */ color: rgb(162, 186, 49); /* oklch */ color: oklch(74.6% 0.158 119.2);
Tailwind
colors: {
custom: {
50: '#c1ce73',
500: '#a2ba31',
950: '#000000',
},
}SCSS
$custom: #a2ba31; $custom-light: #c1ce73; $custom-dark: #000000;
JSON
{
"hex": "#a2ba31",
"rgb": {
"r": 162,
"g": 186,
"b": 49
},
"hsl": {
"h": 70.511,
"s": 58.298,
"l": 46.078
},
"oklch": {
"l": 0.74603,
"c": 0.15833,
"h": 119.2
},
"luminance": 0.43021
}Semantic roles & 50–950 ramp
primary
#A2BA31
secondary
#8B7EC9
accent
#46E261
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131309
muted
#82827B