#ABA451#ABA451
#ABA451 is a light, moderate yellow. Relative luminance 0.358; OKLCH L 70.7% C 0.106 H 104.4°. Best body text is #000000 at 8.16:1 contrast (WCAG AA passes).
Color values
| HEX | #ABA451 |
|---|---|
| RGB | rgb(171, 164, 81) |
| HSL | hsl(55, 36%, 49%) |
| HSV | hsv(55, 53%, 67%) |
| CMYK | cmyk(0%, 4.1%, 52.6%, 32.9%) |
| CIE-LAB | lab(66.37, -8.82, 43.45) |
| CIE-LCH | lch(66.37, 44.34, 101.48°) |
| OKLab | oklab(70.7% -0.0263 0.1023) |
| OKLCH | oklch(70.7% 0.106 104.4) |
| XYZ | xyz(31.5561, 35.8039, 13.0316) |
| Luminance | 0.3580 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Khaki (survey)
#AAA662
ΔE00 2.96
Darkkhaki
#BDB76B
ΔE00 5.64
Vomit
#A2A415
ΔE00 6.58
Puke
#A5A502
ΔE00 7.18
Dark Khaki
#9B8F55
ΔE00 7.72
Sandy Brown
#C4A661
ΔE00 8.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#ABA451 #5158AB
analogous
#AB7751 #ABA451 #85AB51
triadic
#ABA451 #51ABA4 #A451AB
tetradic
#ABA451 #51AB77 #5158AB #AB5185
square
#ABA451 #51AB77 #5158AB #AB5185
split-complementary
#ABA451 #5185AB #7751AB
monochromatic
#58542A #817C3D #ABA451 #C0BA79 #D3D0A3
Accessibility & contrast
On white
2.57
#ABA451 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.16
#ABA451 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #ABA451
8.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##ABA451 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##ABA451 | 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)
#B09F49
Deuteranopia (green-blind)
#B3A355
Tritanopia (blue-blind)
#B69B91
Achromatopsia (no color)
#A1A1A1
Design tokens & code
CSS
--color: #aba451; /* rgb */ color: rgb(171, 164, 81); /* oklch */ color: oklch(70.7% 0.106 104.4);
Tailwind
colors: {
custom: {
50: '#c6be84',
500: '#aba451',
950: '#000000',
},
}SCSS
$custom: #aba451; $custom-light: #c6be84; $custom-dark: #000000;
JSON
{
"hex": "#aba451",
"rgb": {
"r": 171,
"g": 164,
"b": 81
},
"hsl": {
"h": 55.333,
"s": 35.714,
"l": 49.412
},
"oklch": {
"l": 0.70703,
"c": 0.10561,
"h": 104.4
},
"luminance": 0.35803
}Semantic roles & 50–950 ramp
primary
#ABA451
secondary
#979AC1
accent
#65CC5C
background
#FCFBF8
surface
#F8F6EF
border
#D1D0CA
text
#13120B
muted
#82817C