#ABA258#ABA258
#ABA258 is a light, moderate yellow. Relative luminance 0.352; OKLCH L 70.4% C 0.096 H 102.4°. Best body text is #000000 at 8.04:1 contrast (WCAG AA passes).
Color values
| HEX | #ABA258 |
|---|---|
| RGB | rgb(171, 162, 88) |
| HSL | hsl(53, 33%, 51%) |
| HSV | hsv(53, 49%, 67%) |
| CMYK | cmyk(0%, 5.3%, 48.5%, 32.9%) |
| CIE-LAB | lab(65.91, -7.12, 39.40) |
| CIE-LCH | lch(65.91, 40.04, 100.24°) |
| OKLab | oklab(70.36% -0.0206 0.094) |
| OKLCH | oklch(70.36% 0.096 102.4) |
| XYZ | xyz(31.4772, 35.2042, 14.3676) |
| Luminance | 0.3520 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Khaki (survey)
#AAA662
ΔE00 2.21
Darkkhaki
#BDB76B
ΔE00 5.92
Dark Khaki
#9B8F55
ΔE00 6.51
Sandy Brown
#C4A661
ΔE00 7.27
Sand
#C2B280
ΔE00 7.83
Desert
#CCAD60
ΔE00 8.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#ABA258 #5861AB
analogous
#AB7858 #ABA258 #8AAB58
triadic
#ABA258 #58ABA2 #A258AB
tetradic
#ABA258 #58AB78 #5861AB #AB588A
square
#ABA258 #58AB78 #5861AB #AB588A
split-complementary
#ABA258 #588AAB #7858AB
monochromatic
#5B562E #847D42 #ABA258 #BFB981 #D4CFA9
Accessibility & contrast
On white
2.61
#ABA258 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.04
#ABA258 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #ABA258
8.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##ABA258 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##ABA258 | 1.00 | 2.61 | 8.04 | 8.04 |
| #FFFFFF | 2.61 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.04 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.04 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AE9E52
Deuteranopia (green-blind)
#B1A25B
Tritanopia (blue-blind)
#B69991
Achromatopsia (no color)
#A0A0A0
Design tokens & code
CSS
--color: #aba258; /* rgb */ color: rgb(171, 162, 88); /* oklch */ color: oklch(70.4% 0.096 102.4);
Tailwind
colors: {
custom: {
50: '#c6bd89',
500: '#aba258',
950: '#000000',
},
}SCSS
$custom: #aba258; $custom-light: #c6bd89; $custom-dark: #000000;
JSON
{
"hex": "#aba258",
"rgb": {
"r": 171,
"g": 162,
"b": 88
},
"hsl": {
"h": 53.494,
"s": 33.068,
"l": 50.784
},
"oklch": {
"l": 0.70363,
"c": 0.09627,
"h": 102.4
},
"luminance": 0.35203
}Semantic roles & 50–950 ramp
primary
#ABA258
secondary
#9DA1C2
accent
#6AC95F
background
#FCFBF8
surface
#F8F6F0
border
#D1D0CB
text
#13120B
muted
#82817C