#A2B52A#A2B52A
#A2B52A is a light, vivid yellow. Relative luminance 0.409; OKLCH L 73.4% C 0.157 H 117.4°. Best body text is #000000 at 9.18:1 contrast (WCAG AA passes).
Color values
| HEX | #A2B52A |
|---|---|
| RGB | rgb(162, 181, 42) |
| HSL | hsl(68, 62%, 44%) |
| HSV | hsv(68, 77%, 71%) |
| CMYK | cmyk(10.5%, 0%, 76.8%, 29%) |
| CIE-LAB | lab(70.10, -23.87, 63.29) |
| CIE-LCH | lch(70.10, 67.64, 110.66°) |
| OKLab | oklab(73.41% -0.072 0.139) |
| OKLCH | oklch(73.41% 0.157 117.4) |
| XYZ | xyz(31.8429, 40.8967, 8.4064) |
| Luminance | 0.4090 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sick Green
#9DB92C
ΔE00 2.00
Puke Green
#9AAE07
ΔE00 2.48
Booger Green
#96B403
ΔE00 2.55
Sickly Green
#94B21C
ΔE00 2.62
Mustard Green
#A8B504
ΔE00 2.75
Booger
#9BB53C
ΔE00 2.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A2B52A #3D2AB5
analogous
#B5822A #A2B52A #5CB52A
triadic
#A2B52A #2AA2B5 #B52AA2
tetradic
#A2B52A #2AB582 #3D2AB5 #B52A5C
square
#A2B52A #2AB582 #3D2AB5 #B52A5C
split-complementary
#A2B52A #2A5CB5 #822AB5
monochromatic
#495213 #76831E #A2B52A #C1D448 #D2E079
Accessibility & contrast
On white
2.29
#A2B52A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.18
#A2B52A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A2B52A
9.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A2B52A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A2B52A | 1.00 | 2.29 | 9.18 | 9.18 |
| #FFFFFF | 2.29 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.18 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.18 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C2AB02
Deuteranopia (green-blind)
#C0AC37
Tritanopia (blue-blind)
#ACAB9B
Achromatopsia (no color)
#ABABAB
Design tokens & code
CSS
--color: #a2b52a; /* rgb */ color: rgb(162, 181, 42); /* oklch */ color: oklch(73.4% 0.157 117.4);
Tailwind
colors: {
custom: {
50: '#c1cb6f',
500: '#a2b52a',
950: '#000000',
},
}SCSS
$custom: #a2b52a; $custom-light: #c1cb6f; $custom-dark: #000000;
JSON
{
"hex": "#a2b52a",
"rgb": {
"r": 162,
"g": 181,
"b": 42
},
"hsl": {
"h": 68.201,
"s": 62.332,
"l": 43.725
},
"oklch": {
"l": 0.73411,
"c": 0.15651,
"h": 117.4
},
"luminance": 0.40896
}Semantic roles & 50–950 ramp
primary
#A2B52A
secondary
#7E73C8
accent
#42E559
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B