#ABA742#ABA742
#ABA742 is a light, vivid yellow. Relative luminance 0.367; OKLCH L 71.2% C 0.123 H 107.0°. Best body text is #000000 at 8.34:1 contrast (WCAG AA passes).
Color values
| HEX | #ABA742 |
|---|---|
| RGB | rgb(171, 167, 66) |
| HSL | hsl(58, 44%, 46%) |
| HSV | hsv(58, 61%, 67%) |
| CMYK | cmyk(0%, 2.3%, 61.4%, 32.9%) |
| CIE-LAB | lab(67.04, -11.57, 51.26) |
| CIE-LCH | lch(67.04, 52.55, 102.72°) |
| OKLab | oklab(71.19% -0.0358 0.1172) |
| OKLCH | oklch(71.19% 0.123 107) |
| XYZ | xyz(31.5977, 36.6897, 10.5706) |
| Luminance | 0.3669 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 4.16
Puke
#A5A502
ΔE00 4.70
Khaki (survey)
#AAA662
ΔE00 5.30
Pea Soup Green
#94A617
ΔE00 6.25
Darkkhaki
#BDB76B
ΔE00 6.30
Pea Soup
#929901
ΔE00 6.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#ABA742 #4246AB
analogous
#AB7342 #ABA742 #7BAB42
triadic
#ABA742 #42ABA7 #A742AB
tetradic
#ABA742 #42AB73 #4246AB #AB427B
square
#ABA742 #42AB73 #4246AB #AB427B
split-complementary
#ABA742 #427BAB #7342AB
monochromatic
#535120 #7F7C31 #ABA742 #C4C066 #D5D392
Accessibility & contrast
On white
2.52
#ABA742 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.34
#ABA742 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #ABA742
8.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##ABA742 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##ABA742 | 1.00 | 2.52 | 8.34 | 8.34 |
| #FFFFFF | 2.52 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.34 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.34 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B4A136
Deuteranopia (green-blind)
#B6A548
Tritanopia (blue-blind)
#B79D92
Achromatopsia (no color)
#A3A3A3
Design tokens & code
CSS
--color: #aba742; /* rgb */ color: rgb(171, 167, 66); /* oklch */ color: oklch(71.2% 0.123 107.0);
Tailwind
colors: {
custom: {
50: '#c7c07b',
500: '#aba742',
950: '#000000',
},
}SCSS
$custom: #aba742; $custom-light: #c7c07b; $custom-dark: #000000;
JSON
{
"hex": "#aba742",
"rgb": {
"r": 171,
"g": 167,
"b": 66
},
"hsl": {
"h": 57.714,
"s": 44.304,
"l": 46.471
},
"oklch": {
"l": 0.7119,
"c": 0.12256,
"h": 107
},
"luminance": 0.36689
}Semantic roles & 50–950 ramp
primary
#ABA742
secondary
#888AC0
accent
#59D454
background
#FCFBF7
surface
#F8F7EE
border
#D1D0C9
text
#13120A
muted
#82817C