#ABA52B#ABA52B
#ABA52B is a light, vivid yellow. Relative luminance 0.357; OKLCH L 70.6% C 0.137 H 106.5°. Best body text is #000000 at 8.15:1 contrast (WCAG AA passes).
Color values
| HEX | #ABA52B |
|---|---|
| RGB | rgb(171, 165, 43) |
| HSL | hsl(57, 60%, 42%) |
| HSV | hsv(57, 75%, 67%) |
| CMYK | cmyk(0%, 3.5%, 74.9%, 32.9%) |
| CIE-LAB | lab(66.32, -11.83, 59.71) |
| CIE-LCH | lch(66.32, 60.87, 101.21°) |
| OKLab | oklab(70.56% -0.039 0.1312) |
| OKLCH | oklch(70.56% 0.137 106.5) |
| XYZ | xyz(30.6870, 35.7437, 7.5678) |
| Luminance | 0.3574 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 2.47
Puke
#A5A502
ΔE00 2.55
Muddy Yellow
#BFAC05
ΔE00 5.32
Pea Soup
#929901
ΔE00 5.68
Pea Soup Green
#94A617
ΔE00 5.97
Mustard Green
#A8B504
ΔE00 6.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#ABA52B #2B31AB
analogous
#AB652B #ABA52B #71AB2B
triadic
#ABA52B #2BABA5 #A52BAB
tetradic
#ABA52B #2BAB65 #2B31AB #AB2B71
square
#ABA52B #2BAB65 #2B31AB #AB2B71
split-complementary
#ABA52B #2B71AB #652BAB
monochromatic
#494712 #7A761F #ABA52B #D0C943 #DCD774
Accessibility & contrast
On white
2.58
#ABA52B on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.15
#ABA52B on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #ABA52B
8.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##ABA52B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##ABA52B | 1.00 | 2.58 | 8.15 | 8.15 |
| #FFFFFF | 2.58 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.15 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.15 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B39F11
Deuteranopia (green-blind)
#B6A334
Tritanopia (blue-blind)
#B89A8E
Achromatopsia (no color)
#A1A1A1
Design tokens & code
CSS
--color: #aba52b; /* rgb */ color: rgb(171, 165, 43); /* oklch */ color: oklch(70.6% 0.137 106.5);
Tailwind
colors: {
custom: {
50: '#c8bf6e',
500: '#aba52b',
950: '#000000',
},
}SCSS
$custom: #aba52b; $custom-light: #c8bf6e; $custom-dark: #000000;
JSON
{
"hex": "#aba52b",
"rgb": {
"r": 171,
"g": 165,
"b": 43
},
"hsl": {
"h": 57.188,
"s": 59.813,
"l": 41.961
},
"oklch": {
"l": 0.70563,
"c": 0.13687,
"h": 106.5
},
"luminance": 0.35743
}Semantic roles & 50–950 ramp
primary
#ABA52B
secondary
#6E72C4
accent
#4CE345
background
#FCFBF6
surface
#F9F6EC
border
#D2D0C7
text
#141208
muted
#82817B