#A1B128#A1B128
#A1B128 is a light, vivid yellow. Relative luminance 0.392; OKLCH L 72.4% C 0.153 H 116.3°. Best body text is #000000 at 8.83:1 contrast (WCAG AA passes).
Color values
| HEX | #A1B128 |
|---|---|
| RGB | rgb(161, 177, 40) |
| HSL | hsl(67, 63%, 43%) |
| HSV | hsv(67, 77%, 69%) |
| CMYK | cmyk(9%, 0%, 77.4%, 30.6%) |
| CIE-LAB | lab(68.88, -22.41, 62.76) |
| CIE-LCH | lch(68.88, 66.64, 109.65°) |
| OKLab | oklab(72.4% -0.0681 0.1375) |
| OKLCH | oklch(72.4% 0.153 116.3) |
| XYZ | xyz(30.8039, 39.1750, 7.9459) |
| Luminance | 0.3917 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Puke Green
#9AAE07
ΔE00 1.87
Barf Green
#94AC02
ΔE00 2.70
Mustard Green
#A8B504
ΔE00 2.73
Sickly Green
#94B21C
ΔE00 2.88
Booger Green
#96B403
ΔE00 2.96
Sick Green
#9DB92C
ΔE00 3.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A1B128 #3828B1
analogous
#B17C28 #A1B128 #5DB128
triadic
#A1B128 #28A1B1 #B128A1
tetradic
#A1B128 #28B17C #3828B1 #B1285D
square
#A1B128 #28B17C #3828B1 #B1285D
split-complementary
#A1B128 #285DB1 #7C28B1
monochromatic
#464D11 #747F1D #A1B128 #C3D442 #D3E074
Accessibility & contrast
On white
2.38
#A1B128 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.83
#A1B128 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A1B128
8.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A1B128 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A1B128 | 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)
#BCA935
Tritanopia (blue-blind)
#ACA798
Achromatopsia (no color)
#A8A8A8
Design tokens & code
CSS
--color: #a1b128; /* rgb */ color: rgb(161, 177, 40); /* oklch */ color: oklch(72.4% 0.153 116.3);
Tailwind
colors: {
custom: {
50: '#c0c86e',
500: '#a1b128',
950: '#000000',
},
}SCSS
$custom: #a1b128; $custom-light: #c0c86e; $custom-dark: #000000;
JSON
{
"hex": "#a1b128",
"rgb": {
"r": 161,
"g": 177,
"b": 40
},
"hsl": {
"h": 67.007,
"s": 63.134,
"l": 42.549
},
"oklch": {
"l": 0.72404,
"c": 0.15345,
"h": 116.3
},
"luminance": 0.39175
}Semantic roles & 50–950 ramp
primary
#A1B128
secondary
#786EC7
accent
#42E655
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B