#A5AB49#A5AB49
#A5AB49 is a light, vivid yellow. Relative luminance 0.376; OKLCH L 71.6% C 0.122 H 112.3°. Best body text is #000000 at 8.52:1 contrast (WCAG AA passes).
Color values
| HEX | #A5AB49 |
|---|---|
| RGB | rgb(165, 171, 73) |
| HSL | hsl(64, 40%, 48%) |
| HSV | hsv(64, 57%, 67%) |
| CMYK | cmyk(3.5%, 0%, 57.3%, 32.9%) |
| CIE-LAB | lab(67.73, -15.69, 48.70) |
| CIE-LCH | lch(67.73, 51.17, 107.85°) |
| OKLab | oklab(71.64% -0.0463 0.1128) |
| OKLCH | oklch(71.64% 0.122 112.3) |
| XYZ | xyz(31.2833, 37.6068, 11.9129) |
| Luminance | 0.3761 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Booger
#9BB53C
ΔE00 5.07
Pea Soup Green
#94A617
ΔE00 5.22
Vomit
#A2A415
ΔE00 5.23
Khaki (survey)
#AAA662
ΔE00 5.33
Puke Green
#9AAE07
ΔE00 5.80
Puke
#A5A502
ΔE00 6.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A5AB49 #4F49AB
analogous
#AB8049 #A5AB49 #74AB49
triadic
#A5AB49 #49A5AB #AB49A5
tetradic
#A5AB49 #49AB80 #4F49AB #AB4974
square
#A5AB49 #49AB80 #4F49AB #AB4974
split-complementary
#A5AB49 #4974AB #8049AB
monochromatic
#525524 #7C8037 #A5AB49 #BDC26F #D1D49A
Accessibility & contrast
On white
2.46
#A5AB49 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.52
#A5AB49 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A5AB49
8.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A5AB49 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A5AB49 | 1.00 | 2.46 | 8.52 | 8.52 |
| #FFFFFF | 2.46 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.52 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.52 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B7A43F
Deuteranopia (green-blind)
#B7A64F
Tritanopia (blue-blind)
#AFA296
Achromatopsia (no color)
#A5A5A5
Design tokens & code
CSS
--color: #a5ab49; /* rgb */ color: rgb(165, 171, 73); /* oklch */ color: oklch(71.6% 0.122 112.3);
Tailwind
colors: {
custom: {
50: '#c2c37f',
500: '#a5ab49',
950: '#000000',
},
}SCSS
$custom: #a5ab49; $custom-light: #c2c37f; $custom-dark: #000000;
JSON
{
"hex": "#a5ab49",
"rgb": {
"r": 165,
"g": 171,
"b": 73
},
"hsl": {
"h": 63.673,
"s": 40.164,
"l": 47.843
},
"oklch": {
"l": 0.71638,
"c": 0.12196,
"h": 112.3
},
"luminance": 0.37606
}Semantic roles & 50–950 ramp
primary
#A5AB49
secondary
#928FC0
accent
#58D05F
background
#FCFCF7
surface
#F8F8EE
border
#D1D1C9
text
#13120A
muted
#82817C