#ABA951#ABA951
#ABA951 is a light, moderate yellow. Relative luminance 0.376; OKLCH L 71.8% C 0.111 H 107.7°. Best body text is #000000 at 8.53:1 contrast (WCAG AA passes).
Color values
| HEX | #ABA951 |
|---|---|
| RGB | rgb(171, 169, 81) |
| HSL | hsl(59, 36%, 49%) |
| HSV | hsv(59, 53%, 67%) |
| CMYK | cmyk(0%, 1.2%, 52.6%, 32.9%) |
| CIE-LAB | lab(67.75, -11.45, 45.07) |
| CIE-LCH | lch(67.75, 46.50, 104.25°) |
| OKLab | oklab(71.8% -0.0338 0.1058) |
| OKLCH | oklch(71.8% 0.111 107.7) |
| XYZ | xyz(32.4686, 37.6288, 13.3357) |
| Luminance | 0.3763 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Khaki (survey)
#AAA662
ΔE00 3.48
Darkkhaki
#BDB76B
ΔE00 4.89
Vomit
#A2A415
ΔE00 6.02
Puke
#A5A502
ΔE00 6.68
Pea Soup Green
#94A617
ΔE00 7.18
Booger
#9BB53C
ΔE00 7.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#ABA951 #5153AB
analogous
#AB7C51 #ABA951 #80AB51
triadic
#ABA951 #51ABA9 #A951AB
tetradic
#ABA951 #51AB7C #5153AB #AB5180
square
#ABA951 #51AB7C #5153AB #AB5180
split-complementary
#ABA951 #5180AB #7C51AB
monochromatic
#58572A #81803D #ABA951 #C0BE79 #D3D2A3
Accessibility & contrast
On white
2.46
#ABA951 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.53
#ABA951 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #ABA951
8.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##ABA951 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##ABA951 | 1.00 | 2.46 | 8.53 | 8.53 |
| #FFFFFF | 2.46 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.53 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.53 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B5A349
Deuteranopia (green-blind)
#B7A755
Tritanopia (blue-blind)
#B6A095
Achromatopsia (no color)
#A5A5A5
Design tokens & code
CSS
--color: #aba951; /* rgb */ color: rgb(171, 169, 81); /* oklch */ color: oklch(71.8% 0.111 107.7);
Tailwind
colors: {
custom: {
50: '#c6c284',
500: '#aba951',
950: '#000000',
},
}SCSS
$custom: #aba951; $custom-light: #c6c284; $custom-dark: #000000;
JSON
{
"hex": "#aba951",
"rgb": {
"r": 171,
"g": 169,
"b": 81
},
"hsl": {
"h": 58.667,
"s": 35.714,
"l": 49.412
},
"oklch": {
"l": 0.71798,
"c": 0.11105,
"h": 107.7
},
"luminance": 0.37628
}Semantic roles & 50–950 ramp
primary
#ABA951
secondary
#9798C1
accent
#5FCC5C
background
#FCFBF8
surface
#F8F7EF
border
#D1D0CA
text
#13120B
muted
#82817C