#A2B52B#A2B52B
#A2B52B is a light, vivid yellow. Relative luminance 0.409; OKLCH L 73.4% C 0.156 H 117.4°. Best body text is #000000 at 9.18:1 contrast (WCAG AA passes).
Color values
| HEX | #A2B52B |
|---|---|
| RGB | rgb(162, 181, 43) |
| HSL | hsl(68, 62%, 44%) |
| HSV | hsv(68, 76%, 71%) |
| CMYK | cmyk(10.5%, 0%, 76.2%, 29%) |
| CIE-LAB | lab(70.11, -23.83, 62.98) |
| CIE-LCH | lch(70.11, 67.34, 110.72°) |
| OKLab | oklab(73.42% -0.0718 0.1385) |
| OKLCH | oklch(73.42% 0.156 117.4) |
| XYZ | xyz(31.8610, 40.9039, 8.5018) |
| Luminance | 0.4090 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sick Green
#9DB92C
ΔE00 1.98
Puke Green
#9AAE07
ΔE00 2.52
Booger Green
#96B403
ΔE00 2.59
Sickly Green
#94B21C
ΔE00 2.62
Booger
#9BB53C
ΔE00 2.72
Mustard Green
#A8B504
ΔE00 2.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A2B52B #3E2BB5
analogous
#B5832B #A2B52B #5DB52B
triadic
#A2B52B #2BA2B5 #B52BA2
tetradic
#A2B52B #2BB583 #3E2BB5 #B52B5D
square
#A2B52B #2BB583 #3E2BB5 #B52B5D
split-complementary
#A2B52B #2B5DB5 #832BB5
monochromatic
#495214 #76841F #A2B52B #C1D449 #D2E07B
Accessibility & contrast
On white
2.29
#A2B52B on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.18
#A2B52B on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A2B52B
9.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A2B52B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A2B52B | 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)
#C2AB06
Deuteranopia (green-blind)
#C0AC38
Tritanopia (blue-blind)
#ACAB9B
Achromatopsia (no color)
#ABABAB
Design tokens & code
CSS
--color: #a2b52b; /* rgb */ color: rgb(162, 181, 43); /* oklch */ color: oklch(73.4% 0.156 117.4);
Tailwind
colors: {
custom: {
50: '#c1cb70',
500: '#a2b52b',
950: '#000000',
},
}SCSS
$custom: #a2b52b; $custom-light: #c1cb70; $custom-dark: #000000;
JSON
{
"hex": "#a2b52b",
"rgb": {
"r": 162,
"g": 181,
"b": 43
},
"hsl": {
"h": 68.261,
"s": 61.607,
"l": 43.922
},
"oklch": {
"l": 0.73417,
"c": 0.15598,
"h": 117.4
},
"luminance": 0.40904
}Semantic roles & 50–950 ramp
primary
#A2B52B
secondary
#8074C8
accent
#43E559
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B