#A5AB31#A5AB31
#A5AB31 is a light, vivid yellow. Relative luminance 0.373; OKLCH L 71.4% C 0.141 H 112.3°. Best body text is #000000 at 8.47:1 contrast (WCAG AA passes).
Color values
| HEX | #A5AB31 |
|---|---|
| RGB | rgb(165, 171, 49) |
| HSL | hsl(63, 55%, 43%) |
| HSV | hsv(63, 71%, 67%) |
| CMYK | cmyk(3.5%, 0%, 71.3%, 32.9%) |
| CIE-LAB | lab(67.54, -17.25, 58.55) |
| CIE-LCH | lch(67.54, 61.04, 106.42°) |
| OKLab | oklab(71.42% -0.0532 0.1301) |
| OKLCH | oklch(71.42% 0.141 112.3) |
| XYZ | xyz(30.6353, 37.3476, 8.5002) |
| Luminance | 0.3735 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 2.84
Puke
#A5A502
ΔE00 3.50
Pea Soup Green
#94A617
ΔE00 3.62
Puke Green
#9AAE07
ΔE00 3.64
Mustard Green
#A8B504
ΔE00 4.12
Barf Green
#94AC02
ΔE00 4.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A5AB31 #3731AB
analogous
#AB7431 #A5AB31 #68AB31
triadic
#A5AB31 #31A5AB #AB31A5
tetradic
#A5AB31 #31AB74 #3731AB #AB3168
square
#A5AB31 #31AB74 #3731AB #AB3168
split-complementary
#A5AB31 #3168AB #7431AB
monochromatic
#494C16 #777B23 #A5AB31 #C6CC4D #D5DA7D
Accessibility & contrast
On white
2.48
#A5AB31 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.47
#A5AB31 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A5AB31
8.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A5AB31 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A5AB31 | 1.00 | 2.48 | 8.47 | 8.47 |
| #FFFFFF | 2.48 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.47 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.47 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B8A31B
Deuteranopia (green-blind)
#B8A63A
Tritanopia (blue-blind)
#B0A193
Achromatopsia (no color)
#A4A4A4
Design tokens & code
CSS
--color: #a5ab31; /* rgb */ color: rgb(165, 171, 49); /* oklch */ color: oklch(71.4% 0.141 112.3);
Tailwind
colors: {
custom: {
50: '#c3c371',
500: '#a5ab31',
950: '#000000',
},
}SCSS
$custom: #a5ab31; $custom-light: #c3c371; $custom-dark: #000000;
JSON
{
"hex": "#a5ab31",
"rgb": {
"r": 165,
"g": 171,
"b": 49
},
"hsl": {
"h": 62.951,
"s": 55.455,
"l": 43.137
},
"oklch": {
"l": 0.71422,
"c": 0.14053,
"h": 112.3
},
"luminance": 0.37347
}Semantic roles & 50–950 ramp
primary
#A5AB31
secondary
#7975C2
accent
#49DF50
background
#FCFBF7
surface
#F8F7ED
border
#D1D0C8
text
#131208
muted
#82817B