#A5AB41#A5AB41
#A5AB41 is a light, vivid yellow. Relative luminance 0.375; OKLCH L 71.6% C 0.129 H 112.3°. Best body text is #000000 at 8.50:1 contrast (WCAG AA passes).
Color values
| HEX | #A5AB41 |
|---|---|
| RGB | rgb(165, 171, 65) |
| HSL | hsl(63, 45%, 46%) |
| HSV | hsv(63, 62%, 67%) |
| CMYK | cmyk(3.5%, 0%, 62%, 32.9%) |
| CIE-LAB | lab(67.66, -16.28, 52.22) |
| CIE-LCH | lch(67.66, 54.70, 107.32°) |
| OKLab | oklab(71.56% -0.0489 0.1192) |
| OKLCH | oklch(71.56% 0.129 112.3) |
| XYZ | xyz(31.0349, 37.5075, 10.6048) |
| Luminance | 0.3751 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 4.27
Pea Soup Green
#94A617
ΔE00 4.47
Booger
#9BB53C
ΔE00 4.87
Puke Green
#9AAE07
ΔE00 4.90
Puke
#A5A502
ΔE00 5.06
Barf Green
#94AC02
ΔE00 5.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A5AB41 #4741AB
analogous
#AB7C41 #A5AB41 #70AB41
triadic
#A5AB41 #41A5AB #AB41A5
tetradic
#A5AB41 #41AB7C #4741AB #AB4170
square
#A5AB41 #41AB7C #4741AB #AB4170
split-complementary
#A5AB41 #4170AB #7C41AB
monochromatic
#4F521F #7A7F30 #A5AB41 #BFC465 #D1D591
Accessibility & contrast
On white
2.47
#A5AB41 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.50
#A5AB41 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A5AB41
8.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A5AB41 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A5AB41 | 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)
#B7A334
Deuteranopia (green-blind)
#B8A648
Tritanopia (blue-blind)
#B0A195
Achromatopsia (no color)
#A5A5A5
Design tokens & code
CSS
--color: #a5ab41; /* rgb */ color: rgb(165, 171, 65); /* oklch */ color: oklch(71.6% 0.129 112.3);
Tailwind
colors: {
custom: {
50: '#c2c37a',
500: '#a5ab41',
950: '#000000',
},
}SCSS
$custom: #a5ab41; $custom-light: #c2c37a; $custom-dark: #000000;
JSON
{
"hex": "#a5ab41",
"rgb": {
"r": 165,
"g": 171,
"b": 65
},
"hsl": {
"h": 63.396,
"s": 44.915,
"l": 46.275
},
"oklch": {
"l": 0.71555,
"c": 0.12887,
"h": 112.3
},
"luminance": 0.37507
}Semantic roles & 50–950 ramp
primary
#A5AB41
secondary
#8B87C1
accent
#53D55B
background
#FCFBF7
surface
#F8F7EE
border
#D1D0C9
text
#13120A
muted
#82817C