#A2B322#A2B322
#A2B322 is a light, vivid yellow. Relative luminance 0.400; OKLCH L 72.9% C 0.158 H 116.6°. Best body text is #000000 at 9.01:1 contrast (WCAG AA passes).
Color values
| HEX | #A2B322 |
|---|---|
| RGB | rgb(162, 179, 34) |
| HSL | hsl(67, 68%, 42%) |
| HSV | hsv(67, 81%, 70%) |
| CMYK | cmyk(9.5%, 0%, 81%, 29.8%) |
| CIE-LAB | lab(69.50, -23.20, 65.09) |
| CIE-LCH | lch(69.50, 69.10, 109.62°) |
| OKLab | oklab(72.91% -0.0708 0.1414) |
| OKLCH | oklch(72.91% 0.158 116.6) |
| XYZ | xyz(31.3100, 40.0375, 7.5917) |
| Luminance | 0.4004 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Puke Green
#9AAE07
ΔE00 1.87
Mustard Green
#A8B504
ΔE00 2.13
Booger Green
#96B403
ΔE00 2.64
Sick Green
#9DB92C
ΔE00 2.76
Barf Green
#94AC02
ΔE00 2.84
Sickly Green
#94B21C
ΔE00 2.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A2B322 #3322B3
analogous
#B37B22 #A2B322 #5AB322
triadic
#A2B322 #22A2B3 #B322A2
tetradic
#A2B322 #22B37B #3322B3 #B3225A
square
#A2B322 #22B37B #3322B3 #B3225A
split-complementary
#A2B322 #225AB3 #7B22B3
monochromatic
#454C0E #738018 #A2B322 #C7D939 #D5E36C
Accessibility & contrast
On white
2.33
#A2B322 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.01
#A2B322 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A2B322
9.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A2B322 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A2B322 | 1.00 | 2.33 | 9.01 | 9.01 |
| #FFFFFF | 2.33 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.01 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.01 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C0A900
Deuteranopia (green-blind)
#BEAB31
Tritanopia (blue-blind)
#ADA899
Achromatopsia (no color)
#AAAAAA
Design tokens & code
CSS
--color: #a2b322; /* rgb */ color: rgb(162, 179, 34); /* oklch */ color: oklch(72.9% 0.158 116.6);
Tailwind
colors: {
custom: {
50: '#c1c96c',
500: '#a2b322',
950: '#000000',
},
}SCSS
$custom: #a2b322; $custom-light: #c1c96c; $custom-dark: #000000;
JSON
{
"hex": "#a2b322",
"rgb": {
"r": 162,
"g": 179,
"b": 34
},
"hsl": {
"h": 67.034,
"s": 68.075,
"l": 41.765
},
"oklch": {
"l": 0.72912,
"c": 0.15812,
"h": 116.6
},
"luminance": 0.40037
}Semantic roles & 50–950 ramp
primary
#A2B322
secondary
#7368C9
accent
#3DEB51
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131308
muted
#82827A