#ABA52A#ABA52A
#ABA52A is a light, vivid yellow. Relative luminance 0.357; OKLCH L 70.6% C 0.137 H 106.6°. Best body text is #000000 at 8.15:1 contrast (WCAG AA passes).
Color values
| HEX | #ABA52A |
|---|---|
| RGB | rgb(171, 165, 42) |
| HSL | hsl(57, 61%, 42%) |
| HSV | hsv(57, 75%, 67%) |
| CMYK | cmyk(0%, 3.5%, 75.4%, 32.9%) |
| CIE-LAB | lab(66.32, -11.88, 60.04) |
| CIE-LCH | lch(66.32, 61.21, 101.19°) |
| OKLab | oklab(70.56% -0.0392 0.1317) |
| OKLCH | oklch(70.56% 0.137 106.6) |
| XYZ | xyz(30.6689, 35.7365, 7.4724) |
| Luminance | 0.3574 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 2.43
Puke
#A5A502
ΔE00 2.48
Muddy Yellow
#BFAC05
ΔE00 5.27
Pea Soup
#929901
ΔE00 5.66
Pea Soup Green
#94A617
ΔE00 5.97
Mustard Green
#A8B504
ΔE00 6.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#ABA52A #2A30AB
analogous
#AB652A #ABA52A #71AB2A
triadic
#ABA52A #2AABA5 #A52AAB
tetradic
#ABA52A #2AAB65 #2A30AB #AB2A71
square
#ABA52A #2AAB65 #2A30AB #AB2A71
split-complementary
#ABA52A #2A71AB #652AAB
monochromatic
#494612 #7A761E #ABA52A #D1CA42 #DDD873
Accessibility & contrast
On white
2.58
#ABA52A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.15
#ABA52A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #ABA52A
8.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##ABA52A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##ABA52A | 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)
#B39F0F
Deuteranopia (green-blind)
#B6A334
Tritanopia (blue-blind)
#B89A8E
Achromatopsia (no color)
#A1A1A1
Design tokens & code
CSS
--color: #aba52a; /* rgb */ color: rgb(171, 165, 42); /* oklch */ color: oklch(70.6% 0.137 106.6);
Tailwind
colors: {
custom: {
50: '#c8bf6d',
500: '#aba52a',
950: '#000000',
},
}SCSS
$custom: #aba52a; $custom-light: #c8bf6d; $custom-dark: #000000;
JSON
{
"hex": "#aba52a",
"rgb": {
"r": 171,
"g": 165,
"b": 42
},
"hsl": {
"h": 57.209,
"s": 60.563,
"l": 41.765
},
"oklch": {
"l": 0.70557,
"c": 0.13743,
"h": 106.6
},
"luminance": 0.35735
}Semantic roles & 50–950 ramp
primary
#ABA52A
secondary
#6D71C4
accent
#4CE444
background
#FCFBF6
surface
#F9F6EC
border
#D2D0C7
text
#141208
muted
#82817B