#A5AB2B#A5AB2B
#A5AB2B is a light, vivid yellow. Relative luminance 0.373; OKLCH L 71.4% C 0.144 H 112.3°. Best body text is #000000 at 8.46:1 contrast (WCAG AA passes).
Color values
| HEX | #A5AB2B |
|---|---|
| RGB | rgb(165, 171, 43) |
| HSL | hsl(63, 60%, 42%) |
| HSV | hsv(63, 75%, 67%) |
| CMYK | cmyk(3.5%, 0%, 74.9%, 32.9%) |
| CIE-LAB | lab(67.50, -17.54, 60.63) |
| CIE-LCH | lch(67.50, 63.12, 106.14°) |
| OKLab | oklab(71.38% -0.0546 0.1334) |
| OKLCH | oklch(71.38% 0.144 112.3) |
| XYZ | xyz(30.5170, 37.3003, 7.8771) |
| Luminance | 0.3730 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 2.49
Puke
#A5A502
ΔE00 3.06
Puke Green
#9AAE07
ΔE00 3.37
Pea Soup Green
#94A617
ΔE00 3.52
Mustard Green
#A8B504
ΔE00 3.73
Barf Green
#94AC02
ΔE00 4.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A5AB2B #312BAB
analogous
#AB712B #A5AB2B #65AB2B
triadic
#A5AB2B #2BA5AB #AB2BA5
tetradic
#A5AB2B #2BAB71 #312BAB #AB2B65
square
#A5AB2B #2BAB71 #312BAB #AB2B65
split-complementary
#A5AB2B #2B65AB #712BAB
monochromatic
#474912 #767A1F #A5AB2B #C9D043 #D7DC74
Accessibility & contrast
On white
2.48
#A5AB2B on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.46
#A5AB2B on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A5AB2B
8.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A5AB2B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A5AB2B | 1.00 | 2.48 | 8.46 | 8.46 |
| #FFFFFF | 2.48 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.46 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.46 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B8A30E
Deuteranopia (green-blind)
#B9A636
Tritanopia (blue-blind)
#B0A093
Achromatopsia (no color)
#A4A4A4
Design tokens & code
CSS
--color: #a5ab2b; /* rgb */ color: rgb(165, 171, 43); /* oklch */ color: oklch(71.4% 0.144 112.3);
Tailwind
colors: {
custom: {
50: '#c3c36f',
500: '#a5ab2b',
950: '#000000',
},
}SCSS
$custom: #a5ab2b; $custom-light: #c3c36f; $custom-dark: #000000;
JSON
{
"hex": "#a5ab2b",
"rgb": {
"r": 165,
"g": 171,
"b": 43
},
"hsl": {
"h": 62.813,
"s": 59.813,
"l": 41.961
},
"oklch": {
"l": 0.71383,
"c": 0.14412,
"h": 112.3
},
"luminance": 0.373
}Semantic roles & 50–950 ramp
primary
#A5AB2B
secondary
#726EC4
accent
#45E34C
background
#FCFBF7
surface
#F8F7ED
border
#D1D0C8
text
#131208
muted
#82817B