#A1B628#A1B628
#A1B628 is a light, vivid yellow. Relative luminance 0.412; OKLCH L 73.6% C 0.159 H 118.1°. Best body text is #000000 at 9.24:1 contrast (WCAG AA passes).
Color values
| HEX | #A1B628 |
|---|---|
| RGB | rgb(161, 182, 40) |
| HSL | hsl(69, 64%, 44%) |
| HSV | hsv(69, 78%, 71%) |
| CMYK | cmyk(11.5%, 0%, 78%, 28.6%) |
| CIE-LAB | lab(70.31, -24.87, 64.07) |
| CIE-LCH | lch(70.31, 68.72, 111.21°) |
| OKLab | oklab(73.55% -0.0749 0.1403) |
| OKLCH | oklch(73.55% 0.159 118.1) |
| XYZ | xyz(31.8097, 41.1865, 8.2811) |
| Luminance | 0.4119 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sick Green
#9DB92C
ΔE00 1.61
Booger Green
#96B403
ΔE00 2.25
Sickly Green
#94B21C
ΔE00 2.40
Bright Olive
#9CBB04
ΔE00 2.47
Pea
#A4BF20
ΔE00 2.58
Puke Green
#9AAE07
ΔE00 2.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A1B628 #3D28B6
analogous
#B68428 #A1B628 #5AB628
triadic
#A1B628 #28A1B6 #B628A1
tetradic
#A1B628 #28B684 #3D28B6 #B6285A
square
#A1B628 #28B684 #3D28B6 #B6285A
split-complementary
#A1B628 #285AB6 #8428B6
monochromatic
#485212 #75841D #A1B628 #C1D645 #D1E177
Accessibility & contrast
On white
2.27
#A1B628 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.24
#A1B628 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A1B628
9.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A1B628 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A1B628 | 1.00 | 2.27 | 9.24 | 9.24 |
| #FFFFFF | 2.27 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.24 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.24 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C2AC00
Deuteranopia (green-blind)
#C0AD36
Tritanopia (blue-blind)
#ABAC9C
Achromatopsia (no color)
#ACACAC
Design tokens & code
CSS
--color: #a1b628; /* rgb */ color: rgb(161, 182, 40); /* oklch */ color: oklch(73.6% 0.159 118.1);
Tailwind
colors: {
custom: {
50: '#c1cb6e',
500: '#a1b628',
950: '#000000',
},
}SCSS
$custom: #a1b628; $custom-light: #c1cb6e; $custom-dark: #000000;
JSON
{
"hex": "#a1b628",
"rgb": {
"r": 161,
"g": 182,
"b": 40
},
"hsl": {
"h": 68.873,
"s": 63.964,
"l": 43.529
},
"oklch": {
"l": 0.73553,
"c": 0.15901,
"h": 118.1
},
"luminance": 0.41186
}Semantic roles & 50–950 ramp
primary
#A1B628
secondary
#7E71C9
accent
#41E759
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B