#A5AB32#A5AB32
#A5AB32 is a light, vivid yellow. Relative luminance 0.374; OKLCH L 71.4% C 0.140 H 112.3°. Best body text is #000000 at 8.47:1 contrast (WCAG AA passes).
Color values
| HEX | #A5AB32 |
|---|---|
| RGB | rgb(165, 171, 50) |
| HSL | hsl(63, 55%, 43%) |
| HSV | hsv(63, 71%, 67%) |
| CMYK | cmyk(3.5%, 0%, 70.8%, 32.9%) |
| CIE-LAB | lab(67.54, -17.20, 58.19) |
| CIE-LCH | lch(67.54, 60.68, 106.47°) |
| OKLab | oklab(71.43% -0.053 0.1295) |
| OKLCH | oklch(71.43% 0.14 112.3) |
| XYZ | xyz(30.6566, 37.3562, 8.6125) |
| Luminance | 0.3735 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 2.91
Puke
#A5A502
ΔE00 3.58
Pea Soup Green
#94A617
ΔE00 3.64
Puke Green
#9AAE07
ΔE00 3.70
Mustard Green
#A8B504
ΔE00 4.19
Barf Green
#94AC02
ΔE00 4.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A5AB32 #3832AB
analogous
#AB7432 #A5AB32 #68AB32
triadic
#A5AB32 #32A5AB #AB32A5
tetradic
#A5AB32 #32AB74 #3832AB #AB3268
square
#A5AB32 #32AB74 #3832AB #AB3268
split-complementary
#A5AB32 #3268AB #7432AB
monochromatic
#4A4C16 #777C24 #A5AB32 #C5CB4F #D5D97E
Accessibility & contrast
On white
2.48
#A5AB32 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.47
#A5AB32 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A5AB32
8.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A5AB32 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A5AB32 | 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)
#B8A31D
Deuteranopia (green-blind)
#B8A63B
Tritanopia (blue-blind)
#B0A193
Achromatopsia (no color)
#A4A4A4
Design tokens & code
CSS
--color: #a5ab32; /* rgb */ color: rgb(165, 171, 50); /* oklch */ color: oklch(71.4% 0.140 112.3);
Tailwind
colors: {
custom: {
50: '#c3c372',
500: '#a5ab32',
950: '#000000',
},
}SCSS
$custom: #a5ab32; $custom-light: #c3c372; $custom-dark: #000000;
JSON
{
"hex": "#a5ab32",
"rgb": {
"r": 165,
"g": 171,
"b": 50
},
"hsl": {
"h": 62.975,
"s": 54.751,
"l": 43.333
},
"oklch": {
"l": 0.71429,
"c": 0.13989,
"h": 112.3
},
"luminance": 0.37355
}Semantic roles & 50–950 ramp
primary
#A5AB32
secondary
#7A77C2
accent
#4ADE51
background
#FCFBF7
surface
#F8F7ED
border
#D1D0C8
text
#131208
muted
#82817B