#A5AB26#A5AB26
#A5AB26 is a light, vivid yellow. Relative luminance 0.373; OKLCH L 71.4% C 0.147 H 112.3°. Best body text is #000000 at 8.45:1 contrast (WCAG AA passes).
Color values
| HEX | #A5AB26 |
|---|---|
| RGB | rgb(165, 171, 38) |
| HSL | hsl(63, 64%, 41%) |
| HSV | hsv(63, 78%, 67%) |
| CMYK | cmyk(3.5%, 0%, 77.8%, 32.9%) |
| CIE-LAB | lab(67.48, -17.76, 62.22) |
| CIE-LCH | lch(67.48, 64.70, 105.93°) |
| OKLab | oklab(71.35% -0.0556 0.1359) |
| OKLCH | oklch(71.35% 0.147 112.3) |
| XYZ | xyz(30.4308, 37.2658, 7.4234) |
| Luminance | 0.3726 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 2.29
Puke
#A5A502
ΔE00 2.76
Puke Green
#9AAE07
ΔE00 3.22
Mustard Green
#A8B504
ΔE00 3.48
Pea Soup Green
#94A617
ΔE00 3.52
Barf Green
#94AC02
ΔE00 4.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A5AB26 #2C26AB
analogous
#AB6E26 #A5AB26 #62AB26
triadic
#A5AB26 #26A5AB #AB26A5
tetradic
#A5AB26 #26AB6E #2C26AB #AB2662
square
#A5AB26 #26AB6E #2C26AB #AB2662
split-complementary
#A5AB26 #2662AB #6E26AB
monochromatic
#444710 #75791B #A5AB26 #CDD33B #D9DF6D
Accessibility & contrast
On white
2.48
#A5AB26 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.45
#A5AB26 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A5AB26
8.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A5AB26 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A5AB26 | 1.00 | 2.48 | 8.45 | 8.45 |
| #FFFFFF | 2.48 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.45 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.45 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B8A300
Deuteranopia (green-blind)
#B9A632
Tritanopia (blue-blind)
#B1A092
Achromatopsia (no color)
#A4A4A4
Design tokens & code
CSS
--color: #a5ab26; /* rgb */ color: rgb(165, 171, 38); /* oklch */ color: oklch(71.4% 0.147 112.3);
Tailwind
colors: {
custom: {
50: '#c3c36c',
500: '#a5ab26',
950: '#000000',
},
}SCSS
$custom: #a5ab26; $custom-light: #c3c36c; $custom-dark: #000000;
JSON
{
"hex": "#a5ab26",
"rgb": {
"r": 165,
"g": 171,
"b": 38
},
"hsl": {
"h": 62.707,
"s": 63.636,
"l": 40.98
},
"oklch": {
"l": 0.71354,
"c": 0.14679,
"h": 112.3
},
"luminance": 0.37265
}Semantic roles & 50–950 ramp
primary
#A5AB26
secondary
#6C68C5
accent
#41E749
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131208
muted
#82817B