#A2B72B#A2B72B
#A2B72B is a light, vivid yellow. Relative luminance 0.417; OKLCH L 73.9% C 0.158 H 118.1°. Best body text is #000000 at 9.34:1 contrast (WCAG AA passes).
Color values
| HEX | #A2B72B |
|---|---|
| RGB | rgb(162, 183, 43) |
| HSL | hsl(69, 62%, 44%) |
| HSV | hsv(69, 77%, 72%) |
| CMYK | cmyk(11.5%, 0%, 76.5%, 28.2%) |
| CIE-LAB | lab(70.68, -24.81, 63.51) |
| CIE-LCH | lch(70.68, 68.18, 111.33°) |
| OKLab | oklab(73.88% -0.0745 0.1396) |
| OKLCH | oklch(73.88% 0.158 118.1) |
| XYZ | xyz(32.2706, 41.7231, 8.6384) |
| Luminance | 0.4172 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sick Green
#9DB92C
ΔE00 1.49
Pea
#A4BF20
ΔE00 2.40
Booger Green
#96B403
ΔE00 2.47
Bright Olive
#9CBB04
ΔE00 2.48
Sickly Green
#94B21C
ΔE00 2.60
Booger
#9BB53C
ΔE00 2.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A2B72B #402BB7
analogous
#B7862B #A2B72B #5CB72B
triadic
#A2B72B #2BA2B7 #B72BA2
tetradic
#A2B72B #2BB786 #402BB7 #B72B5C
square
#A2B72B #2BB786 #402BB7 #B72B5C
split-complementary
#A2B72B #2B5CB7 #862BB7
monochromatic
#4A5414 #76851F #A2B72B #C0D54B #D1E07C
Accessibility & contrast
On white
2.25
#A2B72B on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.34
#A2B72B on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A2B72B
9.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A2B72B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A2B72B | 1.00 | 2.25 | 9.34 | 9.34 |
| #FFFFFF | 2.25 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.34 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.34 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C3AD04
Deuteranopia (green-blind)
#C1AE38
Tritanopia (blue-blind)
#ACAD9D
Achromatopsia (no color)
#ADADAD
Design tokens & code
CSS
--color: #a2b72b; /* rgb */ color: rgb(162, 183, 43); /* oklch */ color: oklch(73.9% 0.158 118.1);
Tailwind
colors: {
custom: {
50: '#c1cc70',
500: '#a2b72b',
950: '#000000',
},
}SCSS
$custom: #a2b72b; $custom-light: #c1cc70; $custom-dark: #000000;
JSON
{
"hex": "#a2b72b",
"rgb": {
"r": 162,
"g": 183,
"b": 43
},
"hsl": {
"h": 69,
"s": 61.947,
"l": 44.314
},
"oklch": {
"l": 0.73876,
"c": 0.15823,
"h": 118.1
},
"luminance": 0.41723
}Semantic roles & 50–950 ramp
primary
#A2B72B
secondary
#8275C9
accent
#43E55B
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B