#ABA25B#ABA25B
#ABA25B is a light, moderate yellow. Relative luminance 0.353; OKLCH L 70.4% C 0.093 H 102.1°. Best body text is #000000 at 8.05:1 contrast (WCAG AA passes).
Color values
| HEX | #ABA25B |
|---|---|
| RGB | rgb(171, 162, 91) |
| HSL | hsl(53, 32%, 51%) |
| HSV | hsv(53, 47%, 67%) |
| CMYK | cmyk(0%, 5.3%, 46.8%, 32.9%) |
| CIE-LAB | lab(65.95, -6.82, 37.91) |
| CIE-LCH | lch(65.95, 38.52, 100.20°) |
| OKLab | oklab(70.41% -0.0195 0.091) |
| OKLCH | oklch(70.41% 0.093 102.1) |
| XYZ | xyz(31.6040, 35.2549, 15.0356) |
| Luminance | 0.3525 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Khaki (survey)
#AAA662
ΔE00 1.95
Darkkhaki
#BDB76B
ΔE00 5.92
Dark Khaki
#9B8F55
ΔE00 6.32
Sandy Brown
#C4A661
ΔE00 7.18
Sand
#C2B280
ΔE00 7.47
Desert
#CCAD60
ΔE00 8.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#ABA25B #5B64AB
analogous
#AB7A5B #ABA25B #8CAB5B
triadic
#ABA25B #5BABA2 #A25BAB
tetradic
#ABA25B #5BAB7A #5B64AB #AB5B8C
square
#ABA25B #5BAB7A #5B64AB #AB5B8C
split-complementary
#ABA25B #5B8CAB #7A5BAB
monochromatic
#5C572F #857E44 #ABA25B #C0B983 #D4D0AC
Accessibility & contrast
On white
2.61
#ABA25B on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.05
#ABA25B on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #ABA25B
8.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##ABA25B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##ABA25B | 1.00 | 2.61 | 8.05 | 8.05 |
| #FFFFFF | 2.61 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.05 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.05 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AE9E55
Deuteranopia (green-blind)
#B0A25E
Tritanopia (blue-blind)
#B59991
Achromatopsia (no color)
#A0A0A0
Design tokens & code
CSS
--color: #aba25b; /* rgb */ color: rgb(171, 162, 91); /* oklch */ color: oklch(70.4% 0.093 102.1);
Tailwind
colors: {
custom: {
50: '#c5bd8b',
500: '#aba25b',
950: '#000000',
},
}SCSS
$custom: #aba25b; $custom-light: #c5bd8b; $custom-dark: #000000;
JSON
{
"hex": "#aba25b",
"rgb": {
"r": 171,
"g": 162,
"b": 91
},
"hsl": {
"h": 53.25,
"s": 32.258,
"l": 51.373
},
"oklch": {
"l": 0.70407,
"c": 0.09302,
"h": 102.1
},
"luminance": 0.35254
}Semantic roles & 50–950 ramp
primary
#ABA25B
secondary
#9FA3C3
accent
#6BC85F
background
#FCFBF8
surface
#F8F6F0
border
#D1D0CB
text
#13120C
muted
#82817D