#A1B126#A1B126
#A1B126 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 | #A1B126 |
|---|---|
| RGB | rgb(161, 177, 38) |
| HSL | hsl(67, 65%, 42%) |
| HSV | hsv(67, 79%, 69%) |
| CMYK | cmyk(9%, 0%, 78.5%, 30.6%) |
| CIE-LAB | lab(68.87, -22.49, 63.36) |
| CIE-LCH | lch(68.87, 67.24, 109.54°) |
| OKLab | oklab(72.39% -0.0685 0.1384) |
| OKLCH | oklch(72.39% 0.154 116.3) |
| XYZ | xyz(30.7708, 39.1617, 7.7713) |
| Luminance | 0.3916 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Puke Green
#9AAE07
ΔE00 1.76
Mustard Green
#A8B504
ΔE00 2.60
Barf Green
#94AC02
ΔE00 2.65
Sickly Green
#94B21C
ΔE00 2.89
Booger Green
#96B403
ΔE00 2.91
Sick Green
#9DB92C
ΔE00 3.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A1B126 #3626B1
analogous
#B17B26 #A1B126 #5CB126
triadic
#A1B126 #26A1B1 #B126A1
tetradic
#A1B126 #26B17B #3626B1 #B1265C
square
#A1B126 #26B17B #3626B1 #B1265C
split-complementary
#A1B126 #265CB1 #7B26B1
monochromatic
#454C10 #737F1B #A1B126 #C4D63F #D4E071
Accessibility & contrast
On white
2.38
#A1B126 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.83
#A1B126 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A1B126
8.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A1B126 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A1B126 | 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)
#BCA933
Tritanopia (blue-blind)
#ACA797
Achromatopsia (no color)
#A8A8A8
Design tokens & code
CSS
--color: #a1b126; /* rgb */ color: rgb(161, 177, 38); /* oklch */ color: oklch(72.4% 0.154 116.3);
Tailwind
colors: {
custom: {
50: '#c1c86d',
500: '#a1b126',
950: '#000000',
},
}SCSS
$custom: #a1b126; $custom-light: #c1c86d; $custom-dark: #000000;
JSON
{
"hex": "#a1b126",
"rgb": {
"r": 161,
"g": 177,
"b": 38
},
"hsl": {
"h": 66.906,
"s": 64.651,
"l": 42.157
},
"oklch": {
"l": 0.72394,
"c": 0.15444,
"h": 116.3
},
"luminance": 0.39161
}Semantic roles & 50–950 ramp
primary
#A1B126
secondary
#766BC7
accent
#40E853
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131308
muted
#82827A