#A2B72C#A2B72C
#A2B72C 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.35:1 contrast (WCAG AA passes).
Color values
| HEX | #A2B72C |
|---|---|
| RGB | rgb(162, 183, 44) |
| HSL | hsl(69, 61%, 45%) |
| HSV | hsv(69, 76%, 72%) |
| CMYK | cmyk(11.5%, 0%, 76%, 28.2%) |
| CIE-LAB | lab(70.68, -24.76, 63.19) |
| CIE-LCH | lch(70.68, 67.87, 111.40°) |
| OKLab | oklab(73.88% -0.0743 0.1391) |
| OKLCH | oklch(73.88% 0.158 118.1) |
| XYZ | xyz(32.2891, 41.7305, 8.7362) |
| Luminance | 0.4173 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sick Green
#9DB92C
ΔE00 1.46
Pea
#A4BF20
ΔE00 2.44
Booger Green
#96B403
ΔE00 2.51
Bright Olive
#9CBB04
ΔE00 2.54
Booger
#9BB53C
ΔE00 2.56
Sickly Green
#94B21C
ΔE00 2.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A2B72C #412CB7
analogous
#B7872C #A2B72C #5CB72C
triadic
#A2B72C #2CA2B7 #B72CA2
tetradic
#A2B72C #2CB787 #412CB7 #B72C5C
square
#A2B72C #2CB787 #412CB7 #B72C5C
split-complementary
#A2B72C #2C5CB7 #872CB7
monochromatic
#4B5414 #768620 #A2B72C #BFD44C #D1E07E
Accessibility & contrast
On white
2.25
#A2B72C on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.35
#A2B72C on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A2B72C
9.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A2B72C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A2B72C | 1.00 | 2.25 | 9.35 | 9.35 |
| #FFFFFF | 2.25 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.35 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.35 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C3AD08
Deuteranopia (green-blind)
#C1AE39
Tritanopia (blue-blind)
#ACAD9D
Achromatopsia (no color)
#ADADAD
Design tokens & code
CSS
--color: #a2b72c; /* rgb */ color: rgb(162, 183, 44); /* oklch */ color: oklch(73.9% 0.158 118.1);
Tailwind
colors: {
custom: {
50: '#c1cc70',
500: '#a2b72c',
950: '#000000',
},
}SCSS
$custom: #a2b72c; $custom-light: #c1cc70; $custom-dark: #000000;
JSON
{
"hex": "#a2b72c",
"rgb": {
"r": 162,
"g": 183,
"b": 44
},
"hsl": {
"h": 69.065,
"s": 61.233,
"l": 44.51
},
"oklch": {
"l": 0.73882,
"c": 0.15771,
"h": 118.1
},
"luminance": 0.4173
}Semantic roles & 50–950 ramp
primary
#A2B72C
secondary
#8376C8
accent
#43E45C
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B