#A1AB2D#A1AB2D
#A1AB2D is a light, vivid yellow. Relative luminance 0.369; OKLCH L 71.1% C 0.144 H 114.1°. Best body text is #000000 at 8.38:1 contrast (WCAG AA passes).
Color values
| HEX | #A1AB2D |
|---|---|
| RGB | rgb(161, 171, 45) |
| HSL | hsl(65, 58%, 42%) |
| HSV | hsv(65, 74%, 67%) |
| CMYK | cmyk(5.8%, 0%, 73.7%, 32.9%) |
| CIE-LAB | lab(67.20, -19.18, 59.55) |
| CIE-LCH | lch(67.20, 62.56, 107.85°) |
| OKLab | oklab(71.06% -0.0587 0.1316) |
| OKLCH | oklch(71.06% 0.144 114.1) |
| XYZ | xyz(29.7354, 36.8929, 8.0368) |
| Luminance | 0.3689 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup Green
#94A617
ΔE00 2.75
Puke Green
#9AAE07
ΔE00 2.82
Vomit
#A2A415
ΔE00 3.12
Barf Green
#94AC02
ΔE00 3.39
Puke
#A5A502
ΔE00 3.86
Mustard Green
#A8B504
ΔE00 3.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A1AB2D #372DAB
analogous
#AB762D #A1AB2D #62AB2D
triadic
#A1AB2D #2DA1AB #AB2DA1
tetradic
#A1AB2D #2DAB76 #372DAB #AB2D62
square
#A1AB2D #2DAB76 #372DAB #AB2D62
split-complementary
#A1AB2D #2D62AB #762DAB
monochromatic
#464A14 #737B20 #A1AB2D #C4CE47 #D3DB77
Accessibility & contrast
On white
2.51
#A1AB2D on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.38
#A1AB2D on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A1AB2D
8.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A1AB2D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A1AB2D | 1.00 | 2.51 | 8.38 | 8.38 |
| #FFFFFF | 2.51 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.38 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.38 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B8A213
Deuteranopia (green-blind)
#B7A537
Tritanopia (blue-blind)
#ACA193
Achromatopsia (no color)
#A4A4A4
Design tokens & code
CSS
--color: #a1ab2d; /* rgb */ color: rgb(161, 171, 45); /* oklch */ color: oklch(71.1% 0.144 114.1);
Tailwind
colors: {
custom: {
50: '#c0c36f',
500: '#a1ab2d',
950: '#000000',
},
}SCSS
$custom: #a1ab2d; $custom-light: #c0c36f; $custom-dark: #000000;
JSON
{
"hex": "#a1ab2d",
"rgb": {
"r": 161,
"g": 171,
"b": 45
},
"hsl": {
"h": 64.762,
"s": 58.333,
"l": 42.353
},
"oklch": {
"l": 0.71064,
"c": 0.1441,
"h": 114.1
},
"luminance": 0.36892
}Semantic roles & 50–950 ramp
primary
#A1AB2D
secondary
#7771C3
accent
#46E253
background
#FCFBF7
surface
#F8F7ED
border
#D1D0C8
text
#131208
muted
#82817B