#A1B322#A1B322
#A1B322 is a light, vivid yellow. Relative luminance 0.399; OKLCH L 72.8% C 0.158 H 117.0°. Best body text is #000000 at 8.99:1 contrast (WCAG AA passes).
Color values
| HEX | #A1B322 |
|---|---|
| RGB | rgb(161, 179, 34) |
| HSL | hsl(67, 68%, 42%) |
| HSV | hsv(67, 81%, 70%) |
| CMYK | cmyk(10.1%, 0%, 81%, 29.8%) |
| CIE-LAB | lab(69.42, -23.63, 65.00) |
| CIE-LCH | lch(69.42, 69.16, 109.98°) |
| OKLab | oklab(72.83% -0.0719 0.1412) |
| OKLCH | oklch(72.83% 0.158 117) |
| XYZ | xyz(31.1076, 39.9332, 7.5822) |
| Luminance | 0.3993 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Puke Green
#9AAE07
ΔE00 1.80
Mustard Green
#A8B504
ΔE00 2.31
Booger Green
#96B403
ΔE00 2.44
Sick Green
#9DB92C
ΔE00 2.58
Sickly Green
#94B21C
ΔE00 2.65
Barf Green
#94AC02
ΔE00 2.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A1B322 #3422B3
analogous
#B37D22 #A1B322 #59B322
triadic
#A1B322 #22A1B3 #B322A1
tetradic
#A1B322 #22B37D #3422B3 #B32259
square
#A1B322 #22B37D #3422B3 #B32259
split-complementary
#A1B322 #2259B3 #7D22B3
monochromatic
#444C0E #738018 #A1B322 #C5D939 #D4E36C
Accessibility & contrast
On white
2.34
#A1B322 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.99
#A1B322 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A1B322
8.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A1B322 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A1B322 | 1.00 | 2.34 | 8.99 | 8.99 |
| #FFFFFF | 2.34 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.99 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.99 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C0A900
Deuteranopia (green-blind)
#BEAA31
Tritanopia (blue-blind)
#ACA899
Achromatopsia (no color)
#A9A9A9
Design tokens & code
CSS
--color: #a1b322; /* rgb */ color: rgb(161, 179, 34); /* oklch */ color: oklch(72.8% 0.158 117.0);
Tailwind
colors: {
custom: {
50: '#c1c96c',
500: '#a1b322',
950: '#000000',
},
}SCSS
$custom: #a1b322; $custom-light: #c1c96c; $custom-dark: #000000;
JSON
{
"hex": "#a1b322",
"rgb": {
"r": 161,
"g": 179,
"b": 34
},
"hsl": {
"h": 67.448,
"s": 68.075,
"l": 41.765
},
"oklch": {
"l": 0.72833,
"c": 0.15847,
"h": 117
},
"luminance": 0.39933
}Semantic roles & 50–950 ramp
primary
#A1B322
secondary
#7468C9
accent
#3DEB52
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131308
muted
#82827A