#ABA728#ABA728
#ABA728 is a light, vivid yellow. Relative luminance 0.364; OKLCH L 71.0% C 0.140 H 107.6°. Best body text is #000000 at 8.29:1 contrast (WCAG AA passes).
Color values
| HEX | #ABA728 |
|---|---|
| RGB | rgb(171, 167, 40) |
| HSL | hsl(58, 62%, 41%) |
| HSV | hsv(58, 77%, 67%) |
| CMYK | cmyk(0%, 2.3%, 76.6%, 32.9%) |
| CIE-LAB | lab(66.86, -13.00, 61.21) |
| CIE-LCH | lch(66.86, 62.58, 101.99°) |
| OKLab | oklab(70.99% -0.0425 0.1338) |
| OKLCH | oklch(70.99% 0.14 107.6) |
| XYZ | xyz(30.9975, 36.4496, 7.4097) |
| Luminance | 0.3645 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Puke
#A5A502
ΔE00 2.11
Vomit
#A2A415
ΔE00 2.11
Muddy Yellow
#BFAC05
ΔE00 5.29
Mustard Green
#A8B504
ΔE00 5.39
Pea Soup Green
#94A617
ΔE00 5.54
Puke Green
#9AAE07
ΔE00 5.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#ABA728 #282CAB
analogous
#AB6628 #ABA728 #6EAB28
triadic
#ABA728 #28ABA7 #A728AB
tetradic
#ABA728 #28AB66 #282CAB #AB286E
square
#ABA728 #28AB66 #282CAB #AB286E
split-complementary
#ABA728 #286EAB #6628AB
monochromatic
#484611 #79771C #ABA728 #D2CD3E #DEDA70
Accessibility & contrast
On white
2.53
#ABA728 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.29
#ABA728 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #ABA728
8.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##ABA728 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##ABA728 | 1.00 | 2.53 | 8.29 | 8.29 |
| #FFFFFF | 2.53 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.29 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.29 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B5A007
Deuteranopia (green-blind)
#B8A532
Tritanopia (blue-blind)
#B89C8F
Achromatopsia (no color)
#A3A3A3
Design tokens & code
CSS
--color: #aba728; /* rgb */ color: rgb(171, 167, 40); /* oklch */ color: oklch(71.0% 0.140 107.6);
Tailwind
colors: {
custom: {
50: '#c8c06d',
500: '#aba728',
950: '#000000',
},
}SCSS
$custom: #aba728; $custom-light: #c8c06d; $custom-dark: #000000;
JSON
{
"hex": "#aba728",
"rgb": {
"r": 171,
"g": 167,
"b": 40
},
"hsl": {
"h": 58.168,
"s": 62.085,
"l": 41.373
},
"oklch": {
"l": 0.70987,
"c": 0.14042,
"h": 107.6
},
"luminance": 0.36449
}Semantic roles & 50–950 ramp
primary
#ABA728
secondary
#6A6DC4
accent
#48E543
background
#FCFBF6
surface
#F9F7EC
border
#D2D0C7
text
#141208
muted
#82817B