#A2B122#A2B122
#A2B122 is a light, vivid yellow. Relative luminance 0.392; OKLCH L 72.5% C 0.156 H 115.9°. Best body text is #000000 at 8.85:1 contrast (WCAG AA passes).
Color values
| HEX | #A2B122 |
|---|---|
| RGB | rgb(162, 177, 34) |
| HSL | hsl(66, 68%, 41%) |
| HSV | hsv(66, 81%, 69%) |
| CMYK | cmyk(8.5%, 0%, 80.8%, 30.6%) |
| CIE-LAB | lab(68.93, -22.21, 64.59) |
| CIE-LCH | lch(68.93, 68.30, 108.98°) |
| OKLab | oklab(72.45% -0.0681 0.1403) |
| OKLCH | oklch(72.45% 0.156 115.9) |
| XYZ | xyz(30.9121, 39.2416, 7.4590) |
| Luminance | 0.3924 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Puke Green
#9AAE07
ΔE00 1.71
Mustard Green
#A8B504
ΔE00 2.21
Barf Green
#94AC02
ΔE00 2.73
Booger Green
#96B403
ΔE00 3.03
Sickly Green
#94B21C
ΔE00 3.18
Snot
#ACBB0D
ΔE00 3.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A2B122 #3122B1
analogous
#B17922 #A2B122 #5BB122
triadic
#A2B122 #22A2B1 #B122A2
tetradic
#A2B122 #22B179 #3122B1 #B1225B
square
#A2B122 #22B179 #3122B1 #B1225B
split-complementary
#A2B122 #225BB1 #7922B1
monochromatic
#444A0E #737E18 #A2B122 #C8D938 #D6E36B
Accessibility & contrast
On white
2.37
#A2B122 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.85
#A2B122 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A2B122
8.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A2B122 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A2B122 | 1.00 | 2.37 | 8.85 | 8.85 |
| #FFFFFF | 2.37 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.85 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.85 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BEA700
Deuteranopia (green-blind)
#BDA930
Tritanopia (blue-blind)
#ADA697
Achromatopsia (no color)
#A8A8A8
Design tokens & code
CSS
--color: #a2b122; /* rgb */ color: rgb(162, 177, 34); /* oklch */ color: oklch(72.5% 0.156 115.9);
Tailwind
colors: {
custom: {
50: '#c1c86b',
500: '#a2b122',
950: '#000000',
},
}SCSS
$custom: #a2b122; $custom-light: #c1c86b; $custom-dark: #000000;
JSON
{
"hex": "#a2b122",
"rgb": {
"r": 162,
"g": 177,
"b": 34
},
"hsl": {
"h": 66.294,
"s": 67.773,
"l": 41.373
},
"oklch": {
"l": 0.72453,
"c": 0.15595,
"h": 115.9
},
"luminance": 0.39241
}Semantic roles & 50–950 ramp
primary
#A2B122
secondary
#7166C9
accent
#3DEB4F
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131307
muted
#82827A