#A1B31E#A1B31E
#A1B31E is a light, vivid yellow. Relative luminance 0.399; OKLCH L 72.8% C 0.160 H 116.9°. Best body text is #000000 at 8.98:1 contrast (WCAG AA passes).
Color values
| HEX | #A1B31E |
|---|---|
| RGB | rgb(161, 179, 30) |
| HSL | hsl(67, 71%, 41%) |
| HSV | hsv(67, 83%, 70%) |
| CMYK | cmyk(10.1%, 0%, 83.2%, 29.8%) |
| CIE-LAB | lab(69.41, -23.76, 66.02) |
| CIE-LCH | lch(69.41, 70.16, 109.79°) |
| OKLab | oklab(72.82% -0.0725 0.1427) |
| OKLCH | oklch(72.82% 0.16 116.9) |
| XYZ | xyz(31.0532, 39.9114, 7.2958) |
| Luminance | 0.3991 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Puke Green
#9AAE07
ΔE00 1.69
Mustard Green
#A8B504
ΔE00 2.10
Booger Green
#96B403
ΔE00 2.40
Barf Green
#94AC02
ΔE00 2.67
Sick Green
#9DB92C
ΔE00 2.71
Sickly Green
#94B21C
ΔE00 2.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A1B31E #301EB3
analogous
#B37A1E #A1B31E #56B31E
triadic
#A1B31E #1EA1B3 #B31EA1
tetradic
#A1B31E #1EB37A #301EB3 #B31E56
square
#A1B31E #1EB37A #301EB3 #B31E56
split-complementary
#A1B31E #1E56B3 #7A1EB3
monochromatic
#434A0C #727F15 #A1B31E #C8DD32 #D6E566
Accessibility & contrast
On white
2.34
#A1B31E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.98
#A1B31E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A1B31E
8.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A1B31E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A1B31E | 1.00 | 2.34 | 8.98 | 8.98 |
| #FFFFFF | 2.34 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.98 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.98 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C0A900
Deuteranopia (green-blind)
#BEAA2E
Tritanopia (blue-blind)
#ACA899
Achromatopsia (no color)
#A9A9A9
Design tokens & code
CSS
--color: #a1b31e; /* rgb */ color: rgb(161, 179, 30); /* oklch */ color: oklch(72.8% 0.160 116.9);
Tailwind
colors: {
custom: {
50: '#c1c96a',
500: '#a1b31e',
950: '#000000',
},
}SCSS
$custom: #a1b31e; $custom-light: #c1c96a; $custom-dark: #000000;
JSON
{
"hex": "#a1b31e",
"rgb": {
"r": 161,
"g": 179,
"b": 30
},
"hsl": {
"h": 67.248,
"s": 71.292,
"l": 40.98
},
"oklch": {
"l": 0.72816,
"c": 0.16011,
"h": 116.9
},
"luminance": 0.39911
}Semantic roles & 50–950 ramp
primary
#A1B31E
secondary
#6F62CB
accent
#3AEE50
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131307
muted
#82827A