#A5AB42#A5AB42
#A5AB42 is a light, vivid yellow. Relative luminance 0.375; OKLCH L 71.6% C 0.128 H 112.3°. Best body text is #000000 at 8.50:1 contrast (WCAG AA passes).
Color values
| HEX | #A5AB42 |
|---|---|
| RGB | rgb(165, 171, 66) |
| HSL | hsl(63, 44%, 46%) |
| HSV | hsv(63, 61%, 67%) |
| CMYK | cmyk(3.5%, 0%, 61.4%, 32.9%) |
| CIE-LAB | lab(67.66, -16.21, 51.79) |
| CIE-LCH | lch(67.66, 54.27, 107.38°) |
| OKLab | oklab(71.57% -0.0486 0.1185) |
| OKLCH | oklch(71.57% 0.128 112.3) |
| XYZ | xyz(31.0641, 37.5192, 10.7587) |
| Luminance | 0.3752 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 4.38
Pea Soup Green
#94A617
ΔE00 4.55
Booger
#9BB53C
ΔE00 4.88
Puke Green
#9AAE07
ΔE00 5.01
Puke
#A5A502
ΔE00 5.18
Barf Green
#94AC02
ΔE00 5.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A5AB42 #4842AB
analogous
#AB7D42 #A5AB42 #71AB42
triadic
#A5AB42 #42A5AB #AB42A5
tetradic
#A5AB42 #42AB7D #4842AB #AB4271
square
#A5AB42 #42AB7D #4842AB #AB4271
split-complementary
#A5AB42 #4271AB #7D42AB
monochromatic
#505320 #7A7F31 #A5AB42 #BFC466 #D1D592
Accessibility & contrast
On white
2.47
#A5AB42 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.50
#A5AB42 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A5AB42
8.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A5AB42 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A5AB42 | 1.00 | 2.47 | 8.50 | 8.50 |
| #FFFFFF | 2.47 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.50 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.50 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B7A336
Deuteranopia (green-blind)
#B7A649
Tritanopia (blue-blind)
#AFA195
Achromatopsia (no color)
#A5A5A5
Design tokens & code
CSS
--color: #a5ab42; /* rgb */ color: rgb(165, 171, 66); /* oklch */ color: oklch(71.6% 0.128 112.3);
Tailwind
colors: {
custom: {
50: '#c2c37b',
500: '#a5ab42',
950: '#000000',
},
}SCSS
$custom: #a5ab42; $custom-light: #c2c37b; $custom-dark: #000000;
JSON
{
"hex": "#a5ab42",
"rgb": {
"r": 165,
"g": 171,
"b": 66
},
"hsl": {
"h": 63.429,
"s": 44.304,
"l": 46.471
},
"oklch": {
"l": 0.71565,
"c": 0.12804,
"h": 112.3
},
"luminance": 0.37519
}Semantic roles & 50–950 ramp
primary
#A5AB42
secondary
#8C88C0
accent
#54D45B
background
#FCFCF7
surface
#F8F8EE
border
#D1D1C9
text
#13120A
muted
#82817C