#ABA841#ABA841
#ABA841 is a light, vivid yellow. Relative luminance 0.370; OKLCH L 71.4% C 0.124 H 107.6°. Best body text is #000000 at 8.41:1 contrast (WCAG AA passes).
Color values
| HEX | #ABA841 |
|---|---|
| RGB | rgb(171, 168, 65) |
| HSL | hsl(58, 45%, 46%) |
| HSV | hsv(58, 62%, 67%) |
| CMYK | cmyk(0%, 1.8%, 62%, 32.9%) |
| CIE-LAB | lab(67.31, -12.16, 51.99) |
| CIE-LCH | lch(67.31, 53.39, 103.17°) |
| OKLab | oklab(71.4% -0.0376 0.1186) |
| OKLCH | oklch(71.4% 0.124 107.6) |
| XYZ | xyz(31.7524, 37.0458, 10.4780) |
| Luminance | 0.3705 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 3.98
Puke
#A5A502
ΔE00 4.52
Khaki (survey)
#AAA662
ΔE00 5.53
Pea Soup Green
#94A617
ΔE00 5.98
Darkkhaki
#BDB76B
ΔE00 6.31
Puke Green
#9AAE07
ΔE00 6.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#ABA841 #4144AB
analogous
#AB7341 #ABA841 #79AB41
triadic
#ABA841 #41ABA8 #A841AB
tetradic
#ABA841 #41AB73 #4144AB #AB4179
square
#ABA841 #41AB73 #4144AB #AB4179
split-complementary
#ABA841 #4179AB #7341AB
monochromatic
#52511F #7F7C30 #ABA841 #C4C265 #D5D391
Accessibility & contrast
On white
2.50
#ABA841 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.41
#ABA841 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #ABA841
8.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##ABA841 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##ABA841 | 1.00 | 2.50 | 8.41 | 8.41 |
| #FFFFFF | 2.50 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.41 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.41 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B5A235
Deuteranopia (green-blind)
#B7A647
Tritanopia (blue-blind)
#B79E92
Achromatopsia (no color)
#A4A4A4
Design tokens & code
CSS
--color: #aba841; /* rgb */ color: rgb(171, 168, 65); /* oklch */ color: oklch(71.4% 0.124 107.6);
Tailwind
colors: {
custom: {
50: '#c7c17a',
500: '#aba841',
950: '#000000',
},
}SCSS
$custom: #aba841; $custom-light: #c7c17a; $custom-dark: #000000;
JSON
{
"hex": "#aba841",
"rgb": {
"r": 171,
"g": 168,
"b": 65
},
"hsl": {
"h": 58.302,
"s": 44.915,
"l": 46.275
},
"oklch": {
"l": 0.714,
"c": 0.12444,
"h": 107.6
},
"luminance": 0.37045
}Semantic roles & 50–950 ramp
primary
#ABA841
secondary
#8789C1
accent
#57D553
background
#FCFBF7
surface
#F8F7EE
border
#D1D0C9
text
#131209
muted
#82817B