#A5AB33#A5AB33
#A5AB33 is a light, vivid yellow. Relative luminance 0.374; OKLCH L 71.4% C 0.139 H 112.3°. Best body text is #000000 at 8.47:1 contrast (WCAG AA passes).
Color values
| HEX | #A5AB33 |
|---|---|
| RGB | rgb(165, 171, 51) |
| HSL | hsl(63, 54%, 44%) |
| HSV | hsv(63, 70%, 67%) |
| CMYK | cmyk(3.5%, 0%, 70.2%, 32.9%) |
| CIE-LAB | lab(67.55, -17.15, 57.82) |
| CIE-LCH | lch(67.55, 60.31, 106.52°) |
| OKLab | oklab(71.44% -0.0527 0.1289) |
| OKLCH | oklch(71.44% 0.139 112.3) |
| XYZ | xyz(30.6784, 37.3649, 8.7274) |
| Luminance | 0.3736 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 2.98
Puke
#A5A502
ΔE00 3.66
Pea Soup Green
#94A617
ΔE00 3.67
Puke Green
#9AAE07
ΔE00 3.76
Mustard Green
#A8B504
ΔE00 4.26
Barf Green
#94AC02
ΔE00 4.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A5AB33 #3933AB
analogous
#AB7533 #A5AB33 #69AB33
triadic
#A5AB33 #33A5AB #AB33A5
tetradic
#A5AB33 #33AB75 #3933AB #AB3369
square
#A5AB33 #33AB75 #3933AB #AB3369
split-complementary
#A5AB33 #3369AB #7533AB
monochromatic
#4A4D17 #787C25 #A5AB33 #C5CB50 #D4D97F
Accessibility & contrast
On white
2.48
#A5AB33 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.47
#A5AB33 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A5AB33
8.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A5AB33 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A5AB33 | 1.00 | 2.48 | 8.47 | 8.47 |
| #FFFFFF | 2.48 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.47 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.47 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B8A31F
Deuteranopia (green-blind)
#B8A63C
Tritanopia (blue-blind)
#B0A193
Achromatopsia (no color)
#A4A4A4
Design tokens & code
CSS
--color: #a5ab33; /* rgb */ color: rgb(165, 171, 51); /* oklch */ color: oklch(71.4% 0.139 112.3);
Tailwind
colors: {
custom: {
50: '#c3c373',
500: '#a5ab33',
950: '#000000',
},
}SCSS
$custom: #a5ab33; $custom-light: #c3c373; $custom-dark: #000000;
JSON
{
"hex": "#a5ab33",
"rgb": {
"r": 165,
"g": 171,
"b": 51
},
"hsl": {
"h": 63,
"s": 54.054,
"l": 43.529
},
"oklch": {
"l": 0.71436,
"c": 0.13924,
"h": 112.3
},
"luminance": 0.37364
}Semantic roles & 50–950 ramp
primary
#A5AB33
secondary
#7B78C2
accent
#4ADD52
background
#FCFBF7
surface
#F8F7ED
border
#D1D0C8
text
#131208
muted
#82817B