#A1B127#A1B127
#A1B127 is a light, vivid yellow. Relative luminance 0.392; OKLCH L 72.4% C 0.154 H 116.3°. Best body text is #000000 at 8.83:1 contrast (WCAG AA passes).
Color values
| HEX | #A1B127 |
|---|---|
| RGB | rgb(161, 177, 39) |
| HSL | hsl(67, 64%, 42%) |
| HSV | hsv(67, 78%, 69%) |
| CMYK | cmyk(9%, 0%, 78%, 30.6%) |
| CIE-LAB | lab(68.87, -22.45, 63.07) |
| CIE-LCH | lch(68.87, 66.94, 109.59°) |
| OKLab | oklab(72.4% -0.0683 0.138) |
| OKLCH | oklch(72.4% 0.154 116.3) |
| XYZ | xyz(30.7871, 39.1683, 7.8575) |
| Luminance | 0.3917 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Puke Green
#9AAE07
ΔE00 1.81
Mustard Green
#A8B504
ΔE00 2.67
Barf Green
#94AC02
ΔE00 2.67
Sickly Green
#94B21C
ΔE00 2.89
Booger Green
#96B403
ΔE00 2.94
Sick Green
#9DB92C
ΔE00 3.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A1B127 #3727B1
analogous
#B17C27 #A1B127 #5CB127
triadic
#A1B127 #27A1B1 #B127A1
tetradic
#A1B127 #27B17C #3727B1 #B1275C
square
#A1B127 #27B17C #3727B1 #B1275C
split-complementary
#A1B127 #275CB1 #7C27B1
monochromatic
#464D11 #737F1C #A1B127 #C4D540 #D3E072
Accessibility & contrast
On white
2.38
#A1B127 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.83
#A1B127 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A1B127
8.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A1B127 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A1B127 | 1.00 | 2.38 | 8.83 | 8.83 |
| #FFFFFF | 2.38 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.83 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.83 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BEA700
Deuteranopia (green-blind)
#BCA934
Tritanopia (blue-blind)
#ACA798
Achromatopsia (no color)
#A8A8A8
Design tokens & code
CSS
--color: #a1b127; /* rgb */ color: rgb(161, 177, 39); /* oklch */ color: oklch(72.4% 0.154 116.3);
Tailwind
colors: {
custom: {
50: '#c0c86d',
500: '#a1b127',
950: '#000000',
},
}SCSS
$custom: #a1b127; $custom-light: #c0c86d; $custom-dark: #000000;
JSON
{
"hex": "#a1b127",
"rgb": {
"r": 161,
"g": 177,
"b": 39
},
"hsl": {
"h": 66.957,
"s": 63.889,
"l": 42.353
},
"oklch": {
"l": 0.72399,
"c": 0.15395,
"h": 116.3
},
"luminance": 0.39168
}Semantic roles & 50–950 ramp
primary
#A1B127
secondary
#776DC7
accent
#41E754
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131308
muted
#82827A