#ABA541#ABA541
#ABA541 is a light, vivid yellow. Relative luminance 0.359; OKLCH L 70.7% C 0.121 H 105.9°. Best body text is #000000 at 8.19:1 contrast (WCAG AA passes).
Color values
| HEX | #ABA541 |
|---|---|
| RGB | rgb(171, 165, 65) |
| HSL | hsl(57, 45%, 46%) |
| HSV | hsv(57, 62%, 67%) |
| CMYK | cmyk(0%, 3.5%, 62%, 32.9%) |
| CIE-LAB | lab(66.48, -10.60, 51.10) |
| CIE-LCH | lch(66.48, 52.18, 101.72°) |
| OKLab | oklab(70.74% -0.0331 0.1167) |
| OKLCH | oklch(70.74% 0.121 105.9) |
| XYZ | xyz(31.2049, 35.9509, 10.2955) |
| Luminance | 0.3595 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 4.27
Puke
#A5A502
ΔE00 4.78
Khaki (survey)
#AAA662
ΔE00 5.28
Darkkhaki
#BDB76B
ΔE00 6.61
Pea Soup
#929901
ΔE00 6.62
Pea Soup Green
#94A617
ΔE00 6.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#ABA541 #4147AB
analogous
#AB7041 #ABA541 #7CAB41
triadic
#ABA541 #41ABA5 #A541AB
tetradic
#ABA541 #41AB70 #4147AB #AB417C
square
#ABA541 #41AB70 #4147AB #AB417C
split-complementary
#ABA541 #417CAB #7041AB
monochromatic
#524F1F #7F7A30 #ABA541 #C4BF65 #D5D191
Accessibility & contrast
On white
2.56
#ABA541 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.19
#ABA541 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #ABA541
8.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##ABA541 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##ABA541 | 1.00 | 2.56 | 8.19 | 8.19 |
| #FFFFFF | 2.56 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.19 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.19 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B29F35
Deuteranopia (green-blind)
#B5A447
Tritanopia (blue-blind)
#B79B90
Achromatopsia (no color)
#A2A2A2
Design tokens & code
CSS
--color: #aba541; /* rgb */ color: rgb(171, 165, 65); /* oklch */ color: oklch(70.7% 0.121 105.9);
Tailwind
colors: {
custom: {
50: '#c7bf7a',
500: '#aba541',
950: '#000000',
},
}SCSS
$custom: #aba541; $custom-light: #c7bf7a; $custom-dark: #000000;
JSON
{
"hex": "#aba541",
"rgb": {
"r": 171,
"g": 165,
"b": 65
},
"hsl": {
"h": 56.604,
"s": 44.915,
"l": 46.275
},
"oklch": {
"l": 0.7074,
"c": 0.12134,
"h": 105.9
},
"luminance": 0.3595
}Semantic roles & 50–950 ramp
primary
#ABA541
secondary
#878BC1
accent
#5BD553
background
#FCFBF7
surface
#F8F7EE
border
#D1D0C9
text
#131209
muted
#82817B