#A5AB2A#A5AB2A
#A5AB2A is a light, vivid yellow. Relative luminance 0.373; OKLCH L 71.4% C 0.145 H 112.3°. Best body text is #000000 at 8.46:1 contrast (WCAG AA passes).
Color values
| HEX | #A5AB2A |
|---|---|
| RGB | rgb(165, 171, 42) |
| HSL | hsl(63, 61%, 42%) |
| HSV | hsv(63, 75%, 67%) |
| CMYK | cmyk(3.5%, 0%, 75.4%, 32.9%) |
| CIE-LAB | lab(67.50, -17.59, 60.96) |
| CIE-LCH | lch(67.50, 63.45, 106.09°) |
| OKLab | oklab(71.38% -0.0548 0.1339) |
| OKLCH | oklch(71.38% 0.145 112.3) |
| XYZ | xyz(30.4989, 37.2931, 7.7817) |
| Luminance | 0.3729 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 2.45
Puke
#A5A502
ΔE00 2.99
Puke Green
#9AAE07
ΔE00 3.34
Pea Soup Green
#94A617
ΔE00 3.52
Mustard Green
#A8B504
ΔE00 3.68
Barf Green
#94AC02
ΔE00 4.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A5AB2A #302AAB
analogous
#AB712A #A5AB2A #65AB2A
triadic
#A5AB2A #2AA5AB #AB2AA5
tetradic
#A5AB2A #2AAB71 #302AAB #AB2A65
square
#A5AB2A #2AAB71 #302AAB #AB2A65
split-complementary
#A5AB2A #2A65AB #712AAB
monochromatic
#464912 #767A1E #A5AB2A #CAD142 #D8DD73
Accessibility & contrast
On white
2.48
#A5AB2A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.46
#A5AB2A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A5AB2A
8.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A5AB2A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A5AB2A | 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)
#B8A30B
Deuteranopia (green-blind)
#B9A635
Tritanopia (blue-blind)
#B1A093
Achromatopsia (no color)
#A4A4A4
Design tokens & code
CSS
--color: #a5ab2a; /* rgb */ color: rgb(165, 171, 42); /* oklch */ color: oklch(71.4% 0.145 112.3);
Tailwind
colors: {
custom: {
50: '#c3c36e',
500: '#a5ab2a',
950: '#000000',
},
}SCSS
$custom: #a5ab2a; $custom-light: #c3c36e; $custom-dark: #000000;
JSON
{
"hex": "#a5ab2a",
"rgb": {
"r": 165,
"g": 171,
"b": 42
},
"hsl": {
"h": 62.791,
"s": 60.563,
"l": 41.765
},
"oklch": {
"l": 0.71377,
"c": 0.14468,
"h": 112.3
},
"luminance": 0.37292
}Semantic roles & 50–950 ramp
primary
#A5AB2A
secondary
#716DC4
accent
#44E44C
background
#FCFBF7
surface
#F8F7ED
border
#D1D0C8
text
#131208
muted
#82817B