#A5AB2E#A5AB2E
#A5AB2E is a light, vivid yellow. Relative luminance 0.373; OKLCH L 71.4% C 0.142 H 112.3°. Best body text is #000000 at 8.46:1 contrast (WCAG AA passes).
Color values
| HEX | #A5AB2E |
|---|---|
| RGB | rgb(165, 171, 46) |
| HSL | hsl(63, 58%, 43%) |
| HSV | hsv(63, 73%, 67%) |
| CMYK | cmyk(3.5%, 0%, 73.1%, 32.9%) |
| CIE-LAB | lab(67.52, -17.40, 59.61) |
| CIE-LCH | lch(67.52, 62.10, 106.27°) |
| OKLab | oklab(71.4% -0.0539 0.1318) |
| OKLCH | oklch(71.4% 0.142 112.3) |
| XYZ | xyz(30.5741, 37.3231, 8.1778) |
| Luminance | 0.3732 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 2.65
Puke
#A5A502
ΔE00 3.27
Puke Green
#9AAE07
ΔE00 3.49
Pea Soup Green
#94A617
ΔE00 3.56
Mustard Green
#A8B504
ΔE00 3.91
Barf Green
#94AC02
ΔE00 4.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A5AB2E #342EAB
analogous
#AB722E #A5AB2E #66AB2E
triadic
#A5AB2E #2EA5AB #AB2EA5
tetradic
#A5AB2E #2EAB72 #342EAB #AB2E66
square
#A5AB2E #2EAB72 #342EAB #AB2E66
split-complementary
#A5AB2E #2E66AB #722EAB
monochromatic
#484B14 #767B21 #A5AB2E #C7CE48 #D6DB79
Accessibility & contrast
On white
2.48
#A5AB2E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.46
#A5AB2E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A5AB2E
8.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A5AB2E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A5AB2E | 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)
#B8A315
Deuteranopia (green-blind)
#B9A638
Tritanopia (blue-blind)
#B0A093
Achromatopsia (no color)
#A4A4A4
Design tokens & code
CSS
--color: #a5ab2e; /* rgb */ color: rgb(165, 171, 46); /* oklch */ color: oklch(71.4% 0.142 112.3);
Tailwind
colors: {
custom: {
50: '#c3c370',
500: '#a5ab2e',
950: '#000000',
},
}SCSS
$custom: #a5ab2e; $custom-light: #c3c370; $custom-dark: #000000;
JSON
{
"hex": "#a5ab2e",
"rgb": {
"r": 165,
"g": 171,
"b": 46
},
"hsl": {
"h": 62.88,
"s": 57.604,
"l": 42.549
},
"oklch": {
"l": 0.71402,
"c": 0.14238,
"h": 112.3
},
"luminance": 0.37322
}Semantic roles & 50–950 ramp
primary
#A5AB2E
secondary
#7672C3
accent
#47E14E
background
#FCFBF7
surface
#F8F7ED
border
#D1D0C8
text
#131208
muted
#82817B