#ABA631#ABA631
#ABA631 is a light, vivid yellow. Relative luminance 0.362; OKLCH L 70.8% C 0.134 H 106.9°. Best body text is #000000 at 8.23:1 contrast (WCAG AA passes).
Color values
| HEX | #ABA631 |
|---|---|
| RGB | rgb(171, 166, 49) |
| HSL | hsl(58, 55%, 43%) |
| HSV | hsv(58, 71%, 67%) |
| CMYK | cmyk(0%, 2.9%, 71.3%, 32.9%) |
| CIE-LAB | lab(66.64, -12.07, 57.84) |
| CIE-LCH | lch(66.64, 59.09, 101.79°) |
| OKLab | oklab(70.82% -0.039 0.1284) |
| OKLCH | oklch(70.82% 0.134 106.9) |
| XYZ | xyz(30.9864, 36.1532, 8.2512) |
| Luminance | 0.3615 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 2.66
Puke
#A5A502
ΔE00 2.92
Muddy Yellow
#BFAC05
ΔE00 5.70
Pea Soup Green
#94A617
ΔE00 5.81
Pea Soup
#929901
ΔE00 5.84
Mustard Green
#A8B504
ΔE00 6.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#ABA631 #3136AB
analogous
#AB6931 #ABA631 #73AB31
triadic
#ABA631 #31ABA6 #A631AB
tetradic
#ABA631 #31AB69 #3136AB #AB3173
square
#ABA631 #31AB69 #3136AB #AB3173
split-complementary
#ABA631 #3173AB #6931AB
monochromatic
#4C4A16 #7B7823 #ABA631 #CCC74D #DAD67D
Accessibility & contrast
On white
2.55
#ABA631 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.23
#ABA631 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #ABA631
8.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##ABA631 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##ABA631 | 1.00 | 2.55 | 8.23 | 8.23 |
| #FFFFFF | 2.55 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.23 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.23 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B4A01D
Deuteranopia (green-blind)
#B7A439
Tritanopia (blue-blind)
#B89B8F
Achromatopsia (no color)
#A2A2A2
Design tokens & code
CSS
--color: #aba631; /* rgb */ color: rgb(171, 166, 49); /* oklch */ color: oklch(70.8% 0.134 106.9);
Tailwind
colors: {
custom: {
50: '#c7c071',
500: '#aba631',
950: '#000000',
},
}SCSS
$custom: #aba631; $custom-light: #c7c071; $custom-dark: #000000;
JSON
{
"hex": "#aba631",
"rgb": {
"r": 171,
"g": 166,
"b": 49
},
"hsl": {
"h": 57.541,
"s": 55.455,
"l": 43.137
},
"oklch": {
"l": 0.70824,
"c": 0.13417,
"h": 106.9
},
"luminance": 0.36152
}Semantic roles & 50–950 ramp
primary
#ABA631
secondary
#7579C2
accent
#4FDF49
background
#FCFBF7
surface
#F9F7ED
border
#D2D0C8
text
#131208
muted
#82817B