#ABA74F#ABA74F
#ABA74F is a light, moderate yellow. Relative luminance 0.369; OKLCH L 71.3% C 0.111 H 106.5°. Best body text is #000000 at 8.37:1 contrast (WCAG AA passes).
Color values
| HEX | #ABA74F |
|---|---|
| RGB | rgb(171, 167, 79) |
| HSL | hsl(57, 37%, 49%) |
| HSV | hsv(57, 54%, 67%) |
| CMYK | cmyk(0%, 2.3%, 53.8%, 32.9%) |
| CIE-LAB | lab(67.17, -10.57, 45.37) |
| CIE-LCH | lch(67.17, 46.58, 103.12°) |
| OKLab | oklab(71.33% -0.0315 0.1062) |
| OKLCH | oklch(71.33% 0.111 106.5) |
| XYZ | xyz(32.0255, 36.8608, 12.8235) |
| Luminance | 0.3686 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Khaki (survey)
#AAA662
ΔE00 3.46
Darkkhaki
#BDB76B
ΔE00 5.25
Vomit
#A2A415
ΔE00 5.87
Puke
#A5A502
ΔE00 6.51
Pea Soup Green
#94A617
ΔE00 7.35
Pea Soup
#929901
ΔE00 7.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#ABA74F #4F53AB
analogous
#AB794F #ABA74F #81AB4F
triadic
#ABA74F #4FABA7 #A74FAB
tetradic
#ABA74F #4FAB79 #4F53AB #AB4F81
square
#ABA74F #4FAB79 #4F53AB #AB4F81
split-complementary
#ABA74F #4F81AB #794FAB
monochromatic
#575528 #817E3C #ABA74F #C0BD77 #D4D1A1
Accessibility & contrast
On white
2.51
#ABA74F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.37
#ABA74F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #ABA74F
8.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##ABA74F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##ABA74F | 1.00 | 2.51 | 8.37 | 8.37 |
| #FFFFFF | 2.51 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.37 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.37 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B3A146
Deuteranopia (green-blind)
#B5A553
Tritanopia (blue-blind)
#B69D93
Achromatopsia (no color)
#A3A3A3
Design tokens & code
CSS
--color: #aba74f; /* rgb */ color: rgb(171, 167, 79); /* oklch */ color: oklch(71.3% 0.111 106.5);
Tailwind
colors: {
custom: {
50: '#c6c183',
500: '#aba74f',
950: '#000000',
},
}SCSS
$custom: #aba74f; $custom-light: #c6c183; $custom-dark: #000000;
JSON
{
"hex": "#aba74f",
"rgb": {
"r": 171,
"g": 167,
"b": 79
},
"hsl": {
"h": 57.391,
"s": 36.8,
"l": 49.02
},
"oklch": {
"l": 0.71334,
"c": 0.1108,
"h": 106.5
},
"luminance": 0.3686
}Semantic roles & 50–950 ramp
primary
#ABA74F
secondary
#9597C1
accent
#60CD5B
background
#FCFBF8
surface
#F8F7EF
border
#D1D0CA
text
#13120B
muted
#82817C