#ABA531#ABA531
#ABA531 is a light, vivid yellow. Relative luminance 0.358; OKLCH L 70.6% C 0.133 H 106.4°. Best body text is #000000 at 8.16:1 contrast (WCAG AA passes).
Color values
| HEX | #ABA531 |
|---|---|
| RGB | rgb(171, 165, 49) |
| HSL | hsl(57, 55%, 43%) |
| HSV | hsv(57, 71%, 67%) |
| CMYK | cmyk(0%, 3.5%, 71.3%, 32.9%) |
| CIE-LAB | lab(66.36, -11.55, 57.57) |
| CIE-LCH | lch(66.36, 58.72, 101.34°) |
| OKLab | oklab(70.6% -0.0376 0.1278) |
| OKLCH | oklch(70.6% 0.133 106.4) |
| XYZ | xyz(30.8053, 35.7910, 8.1908) |
| Luminance | 0.3579 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 2.80
Puke
#A5A502
ΔE00 3.04
Muddy Yellow
#BFAC05
ΔE00 5.66
Pea Soup
#929901
ΔE00 5.82
Pea Soup Green
#94A617
ΔE00 6.03
Baby Poop Green
#8F9805
ΔE00 6.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#ABA531 #3137AB
analogous
#AB6831 #ABA531 #74AB31
triadic
#ABA531 #31ABA5 #A531AB
tetradic
#ABA531 #31AB68 #3137AB #AB3174
square
#ABA531 #31AB68 #3137AB #AB3174
split-complementary
#ABA531 #3174AB #6831AB
monochromatic
#4C4916 #7B7723 #ABA531 #CCC64D #DAD57D
Accessibility & contrast
On white
2.57
#ABA531 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.16
#ABA531 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #ABA531
8.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##ABA531 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##ABA531 | 1.00 | 2.57 | 8.16 | 8.16 |
| #FFFFFF | 2.57 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.16 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.16 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B39F1D
Deuteranopia (green-blind)
#B6A339
Tritanopia (blue-blind)
#B89A8E
Achromatopsia (no color)
#A1A1A1
Design tokens & code
CSS
--color: #aba531; /* rgb */ color: rgb(171, 165, 49); /* oklch */ color: oklch(70.6% 0.133 106.4);
Tailwind
colors: {
custom: {
50: '#c7bf71',
500: '#aba531',
950: '#000000',
},
}SCSS
$custom: #aba531; $custom-light: #c7bf71; $custom-dark: #000000;
JSON
{
"hex": "#aba531",
"rgb": {
"r": 171,
"g": 165,
"b": 49
},
"hsl": {
"h": 57.049,
"s": 55.455,
"l": 43.137
},
"oklch": {
"l": 0.70603,
"c": 0.1332,
"h": 106.4
},
"luminance": 0.3579
}Semantic roles & 50–950 ramp
primary
#ABA531
secondary
#7579C2
accent
#50DF49
background
#FCFBF7
surface
#F9F6ED
border
#D2D0C8
text
#141208
muted
#82817B