#A1B428#A1B428
#A1B428 is a light, vivid yellow. Relative luminance 0.404; OKLCH L 73.1% C 0.157 H 117.4°. Best body text is #000000 at 9.07:1 contrast (WCAG AA passes).
Color values
| HEX | #A1B428 |
|---|---|
| RGB | rgb(161, 180, 40) |
| HSL | hsl(68, 64%, 43%) |
| HSV | hsv(68, 78%, 71%) |
| CMYK | cmyk(10.6%, 0%, 77.8%, 29.4%) |
| CIE-LAB | lab(69.73, -23.89, 63.55) |
| CIE-LCH | lch(69.73, 67.89, 110.60°) |
| OKLab | oklab(73.09% -0.0722 0.1392) |
| OKLCH | oklch(73.09% 0.157 117.4) |
| XYZ | xyz(31.4030, 40.3731, 8.1456) |
| Luminance | 0.4037 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sick Green
#9DB92C
ΔE00 2.13
Puke Green
#9AAE07
ΔE00 2.20
Booger Green
#96B403
ΔE00 2.44
Sickly Green
#94B21C
ΔE00 2.48
Mustard Green
#A8B504
ΔE00 2.72
Booger
#9BB53C
ΔE00 2.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A1B428 #3B28B4
analogous
#B48128 #A1B428 #5BB428
triadic
#A1B428 #28A1B4 #B428A1
tetradic
#A1B428 #28B481 #3B28B4 #B4285B
square
#A1B428 #28B481 #3B28B4 #B4285B
split-complementary
#A1B428 #285BB4 #8128B4
monochromatic
#475012 #74821D #A1B428 #C2D544 #D2E176
Accessibility & contrast
On white
2.31
#A1B428 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.07
#A1B428 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A1B428
9.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A1B428 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A1B428 | 1.00 | 2.31 | 9.07 | 9.07 |
| #FFFFFF | 2.31 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.07 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.07 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C1AA00
Deuteranopia (green-blind)
#BFAB35
Tritanopia (blue-blind)
#ABAA9A
Achromatopsia (no color)
#AAAAAA
Design tokens & code
CSS
--color: #a1b428; /* rgb */ color: rgb(161, 180, 40); /* oklch */ color: oklch(73.1% 0.157 117.4);
Tailwind
colors: {
custom: {
50: '#c0ca6e',
500: '#a1b428',
950: '#000000',
},
}SCSS
$custom: #a1b428; $custom-light: #c0ca6e; $custom-dark: #000000;
JSON
{
"hex": "#a1b428",
"rgb": {
"r": 161,
"g": 180,
"b": 40
},
"hsl": {
"h": 68.143,
"s": 63.636,
"l": 43.137
},
"oklch": {
"l": 0.73093,
"c": 0.15677,
"h": 117.4
},
"luminance": 0.40373
}Semantic roles & 50–950 ramp
primary
#A1B428
secondary
#7C70C8
accent
#41E758
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B