#ABA751#ABA751
#ABA751 is a light, moderate yellow. Relative luminance 0.369; OKLCH L 71.4% C 0.109 H 106.4°. Best body text is #000000 at 8.38:1 contrast (WCAG AA passes).
Color values
| HEX | #ABA751 |
|---|---|
| RGB | rgb(171, 167, 81) |
| HSL | hsl(57, 36%, 49%) |
| HSV | hsv(57, 53%, 67%) |
| CMYK | cmyk(0%, 2.3%, 52.6%, 32.9%) |
| CIE-LAB | lab(67.19, -10.40, 44.42) |
| CIE-LCH | lch(67.19, 45.62, 103.18°) |
| OKLab | oklab(71.36% -0.0308 0.1044) |
| OKLCH | oklch(71.36% 0.109 106.4) |
| XYZ | xyz(32.0994, 36.8904, 13.2126) |
| Luminance | 0.3689 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Khaki (survey)
#AAA662
ΔE00 3.15
Darkkhaki
#BDB76B
ΔE00 5.12
Vomit
#A2A415
ΔE00 6.17
Puke
#A5A502
ΔE00 6.81
Pea Soup Green
#94A617
ΔE00 7.57
Pea Soup
#929901
ΔE00 8.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#ABA751 #5155AB
analogous
#AB7A51 #ABA751 #82AB51
triadic
#ABA751 #51ABA7 #A751AB
tetradic
#ABA751 #51AB7A #5155AB #AB5182
square
#ABA751 #51AB7A #5155AB #AB5182
split-complementary
#ABA751 #5182AB #7A51AB
monochromatic
#58562A #817E3D #ABA751 #C0BD79 #D3D1A3
Accessibility & contrast
On white
2.51
#ABA751 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.38
#ABA751 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #ABA751
8.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##ABA751 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##ABA751 | 1.00 | 2.51 | 8.38 | 8.38 |
| #FFFFFF | 2.51 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.38 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.38 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B3A149
Deuteranopia (green-blind)
#B5A555
Tritanopia (blue-blind)
#B69E94
Achromatopsia (no color)
#A4A4A4
Design tokens & code
CSS
--color: #aba751; /* rgb */ color: rgb(171, 167, 81); /* oklch */ color: oklch(71.4% 0.109 106.4);
Tailwind
colors: {
custom: {
50: '#c6c184',
500: '#aba751',
950: '#000000',
},
}SCSS
$custom: #aba751; $custom-light: #c6c184; $custom-dark: #000000;
JSON
{
"hex": "#aba751",
"rgb": {
"r": 171,
"g": 167,
"b": 81
},
"hsl": {
"h": 57.333,
"s": 35.714,
"l": 49.412
},
"oklch": {
"l": 0.71359,
"c": 0.10884,
"h": 106.4
},
"luminance": 0.36889
}Semantic roles & 50–950 ramp
primary
#ABA751
secondary
#9799C1
accent
#61CC5C
background
#FCFBF8
surface
#F8F7EF
border
#D1D0CA
text
#13120B
muted
#82817C