#A1AB28#A1AB28
#A1AB28 is a light, vivid yellow. Relative luminance 0.369; OKLCH L 71.0% C 0.147 H 114.0°. Best body text is #000000 at 8.37:1 contrast (WCAG AA passes).
Color values
| HEX | #A1AB28 |
|---|---|
| RGB | rgb(161, 171, 40) |
| HSL | hsl(65, 62%, 41%) |
| HSV | hsv(65, 77%, 67%) |
| CMYK | cmyk(5.8%, 0%, 76.6%, 32.9%) |
| CIE-LAB | lab(67.17, -19.41, 61.20) |
| CIE-LCH | lch(67.17, 64.20, 107.59°) |
| OKLab | oklab(71.03% -0.0598 0.1342) |
| OKLCH | oklch(71.03% 0.147 114) |
| XYZ | xyz(29.6448, 36.8567, 7.5595) |
| Luminance | 0.3686 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Puke Green
#9AAE07
ΔE00 2.55
Pea Soup Green
#94A617
ΔE00 2.67
Vomit
#A2A415
ΔE00 2.88
Barf Green
#94AC02
ΔE00 3.21
Puke
#A5A502
ΔE00 3.55
Mustard Green
#A8B504
ΔE00 3.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A1AB28 #3228AB
analogous
#AB7428 #A1AB28 #60AB28
triadic
#A1AB28 #28A1AB #AB28A1
tetradic
#A1AB28 #28AB74 #3228AB #AB2860
square
#A1AB28 #28AB74 #3228AB #AB2860
split-complementary
#A1AB28 #2860AB #7428AB
monochromatic
#444811 #72791C #A1AB28 #C7D23E #D5DE70
Accessibility & contrast
On white
2.51
#A1AB28 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.37
#A1AB28 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A1AB28
8.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A1AB28 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A1AB28 | 1.00 | 2.51 | 8.37 | 8.37 |
| #FFFFFF | 2.51 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.37 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.37 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B8A204
Deuteranopia (green-blind)
#B8A534
Tritanopia (blue-blind)
#ACA193
Achromatopsia (no color)
#A3A3A3
Design tokens & code
CSS
--color: #a1ab28; /* rgb */ color: rgb(161, 171, 40); /* oklch */ color: oklch(71.0% 0.147 114.0);
Tailwind
colors: {
custom: {
50: '#c0c36d',
500: '#a1ab28',
950: '#000000',
},
}SCSS
$custom: #a1ab28; $custom-light: #c0c36d; $custom-dark: #000000;
JSON
{
"hex": "#a1ab28",
"rgb": {
"r": 161,
"g": 171,
"b": 40
},
"hsl": {
"h": 64.58,
"s": 62.085,
"l": 41.373
},
"oklch": {
"l": 0.71033,
"c": 0.1469,
"h": 114
},
"luminance": 0.36856
}Semantic roles & 50–950 ramp
primary
#A1AB28
secondary
#716AC4
accent
#43E54F
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131208
muted
#82817B