#A2BA34#A2BA34
#A2BA34 is a light, vivid yellow-green. Relative luminance 0.430; OKLCH L 74.6% C 0.157 H 119.3°. Best body text is #000000 at 9.61:1 contrast (WCAG AA passes).
Color values
| HEX | #A2BA34 |
|---|---|
| RGB | rgb(162, 186, 52) |
| HSL | hsl(71, 56%, 47%) |
| HSV | hsv(71, 72%, 73%) |
| CMYK | cmyk(12.9%, 0%, 72%, 27.1%) |
| CIE-LAB | lab(71.59, -25.83, 61.34) |
| CIE-LCH | lch(71.59, 66.55, 112.83°) |
| OKLab | oklab(74.62% -0.0766 0.1365) |
| OKLCH | oklch(74.62% 0.157 119.3) |
| XYZ | xyz(33.0797, 43.0473, 9.8144) |
| Luminance | 0.4305 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Sick Green
#9DB92C
ΔE00 0.98
Booger
#9BB53C
ΔE00 2.15
Pea
#A4BF20
ΔE00 2.19
Gross Green
#A0BF16
ΔE00 2.56
Bright Olive
#9CBB04
ΔE00 2.65
Sickly Green
#94B21C
ΔE00 2.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A2BA34 #4C34BA
analogous
#BA8F34 #A2BA34 #5FBA34
triadic
#A2BA34 #34A2BA #BA34A2
tetradic
#A2BA34 #34BA8F #4C34BA #BA345F
square
#A2BA34 #34BA8F #4C34BA #BA345F
split-complementary
#A2BA34 #345FBA #8F34BA
monochromatic
#4F5A19 #788A27 #A2BA34 #BCD15A #CFDE8A
Accessibility & contrast
On white
2.19
#A2BA34 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.61
#A2BA34 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A2BA34
9.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A2BA34 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A2BA34 | 1.00 | 2.19 | 9.61 | 9.61 |
| #FFFFFF | 2.19 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.61 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.61 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C6AF1B
Deuteranopia (green-blind)
#C3B03F
Tritanopia (blue-blind)
#ABB0A0
Achromatopsia (no color)
#AFAFAF
Design tokens & code
CSS
--color: #a2ba34; /* rgb */ color: rgb(162, 186, 52); /* oklch */ color: oklch(74.6% 0.157 119.3);
Tailwind
colors: {
custom: {
50: '#c1ce75',
500: '#a2ba34',
950: '#000000',
},
}SCSS
$custom: #a2ba34; $custom-light: #c1ce75; $custom-dark: #000000;
JSON
{
"hex": "#a2ba34",
"rgb": {
"r": 162,
"g": 186,
"b": 52
},
"hsl": {
"h": 70.746,
"s": 56.303,
"l": 46.667
},
"oklch": {
"l": 0.74623,
"c": 0.15654,
"h": 119.3
},
"luminance": 0.43047
}Semantic roles & 50–950 ramp
primary
#A2BA34
secondary
#8E81C8
accent
#48E063
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131309
muted
#82827B