#A2B52F#A2B52F
#A2B52F is a light, vivid yellow. Relative luminance 0.409; OKLCH L 73.4% C 0.154 H 117.5°. Best body text is #000000 at 9.19:1 contrast (WCAG AA passes).
Color values
| HEX | #A2B52F |
|---|---|
| RGB | rgb(162, 181, 47) |
| HSL | hsl(69, 59%, 45%) |
| HSV | hsv(69, 74%, 71%) |
| CMYK | cmyk(10.5%, 0%, 74%, 29%) |
| CIE-LAB | lab(70.13, -23.64, 61.68) |
| CIE-LCH | lch(70.13, 66.05, 110.97°) |
| OKLab | oklab(73.44% -0.071 0.1364) |
| OKLCH | oklch(73.44% 0.154 117.5) |
| XYZ | xyz(31.9380, 40.9347, 8.9075) |
| Luminance | 0.4093 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sick Green
#9DB92C
ΔE00 1.93
Booger
#9BB53C
ΔE00 2.43
Sickly Green
#94B21C
ΔE00 2.65
Puke Green
#9AAE07
ΔE00 2.74
Booger Green
#96B403
ΔE00 2.77
Pea
#A4BF20
ΔE00 3.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A2B52F #422FB5
analogous
#B5852F #A2B52F #5FB52F
triadic
#A2B52F #2FA2B5 #B52FA2
tetradic
#A2B52F #2FB585 #422FB5 #B52F5F
square
#A2B52F #2FB585 #422FB5 #B52F5F
split-complementary
#A2B52F #2F5FB5 #852FB5
monochromatic
#4B5416 #778422 #A2B52F #BFD150 #D1DE80
Accessibility & contrast
On white
2.29
#A2B52F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.19
#A2B52F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A2B52F
9.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A2B52F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A2B52F | 1.00 | 2.29 | 9.19 | 9.19 |
| #FFFFFF | 2.29 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.19 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.19 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C1AB12
Deuteranopia (green-blind)
#BFAC3B
Tritanopia (blue-blind)
#ACAB9B
Achromatopsia (no color)
#ABABAB
Design tokens & code
CSS
--color: #a2b52f; /* rgb */ color: rgb(162, 181, 47); /* oklch */ color: oklch(73.4% 0.154 117.5);
Tailwind
colors: {
custom: {
50: '#c1cb72',
500: '#a2b52f',
950: '#000000',
},
}SCSS
$custom: #a2b52f; $custom-light: #c1cb72; $custom-dark: #000000;
JSON
{
"hex": "#a2b52f",
"rgb": {
"r": 162,
"g": 181,
"b": 47
},
"hsl": {
"h": 68.507,
"s": 58.772,
"l": 44.706
},
"oklch": {
"l": 0.73441,
"c": 0.15376,
"h": 117.5
},
"luminance": 0.40934
}Semantic roles & 50–950 ramp
primary
#A2B52F
secondary
#8479C7
accent
#46E25C
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B