#ABA12B#ABA12B
#ABA12B is a light, vivid yellow. Relative luminance 0.343; OKLCH L 69.7% C 0.133 H 104.4°. Best body text is #000000 at 7.86:1 contrast (WCAG AA passes).
Color values
| HEX | #ABA12B |
|---|---|
| RGB | rgb(171, 161, 43) |
| HSL | hsl(55, 60%, 42%) |
| HSV | hsv(55, 75%, 67%) |
| CMYK | cmyk(0%, 5.8%, 74.9%, 32.9%) |
| CIE-LAB | lab(65.22, -9.73, 58.67) |
| CIE-LCH | lch(65.22, 59.47, 99.42°) |
| OKLab | oklab(69.68% -0.0331 0.129) |
| OKLCH | oklch(69.68% 0.133 104.4) |
| XYZ | xyz(29.9768, 34.3233, 7.3311) |
| Luminance | 0.3432 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 3.45
Puke
#A5A502
ΔE00 3.48
Muddy Yellow
#BFAC05
ΔE00 5.42
Brown Yellow
#B29705
ΔE00 5.63
Pea Soup
#929901
ΔE00 5.79
Baby Poop Green
#8F9805
ΔE00 6.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#ABA12B #2B35AB
analogous
#AB612B #ABA12B #75AB2B
triadic
#ABA12B #2BABA1 #A12BAB
tetradic
#ABA12B #2BAB61 #2B35AB #AB2B75
square
#ABA12B #2BAB61 #2B35AB #AB2B75
split-complementary
#ABA12B #2B75AB #612BAB
monochromatic
#494512 #7A731F #ABA12B #D0C543 #DCD474
Accessibility & contrast
On white
2.67
#ABA12B on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.86
#ABA12B on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #ABA12B
7.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##ABA12B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##ABA12B | 1.00 | 2.67 | 7.86 | 7.86 |
| #FFFFFF | 2.67 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.86 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.86 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B09B13
Deuteranopia (green-blind)
#B3A134
Tritanopia (blue-blind)
#B8968A
Achromatopsia (no color)
#9E9E9E
Design tokens & code
CSS
--color: #aba12b; /* rgb */ color: rgb(171, 161, 43); /* oklch */ color: oklch(69.7% 0.133 104.4);
Tailwind
colors: {
custom: {
50: '#c8bc6d',
500: '#aba12b',
950: '#000000',
},
}SCSS
$custom: #aba12b; $custom-light: #c8bc6d; $custom-dark: #000000;
JSON
{
"hex": "#aba12b",
"rgb": {
"r": 171,
"g": 161,
"b": 43
},
"hsl": {
"h": 55.313,
"s": 59.813,
"l": 41.961
},
"oklch": {
"l": 0.69683,
"c": 0.13316,
"h": 104.4
},
"luminance": 0.34322
}Semantic roles & 50–950 ramp
primary
#ABA12B
secondary
#6E75C4
accent
#51E345
background
#FCFBF6
surface
#F9F6EC
border
#D2D0C7
text
#141108
muted
#82807B