#AB9126#AB9126
#AB9126 is a light, vivid yellow. Relative luminance 0.290; OKLCH L 66.2% C 0.123 H 94.6°. Best body text is #000000 at 6.81:1 contrast (WCAG AA passes).
Color values
| HEX | #AB9126 |
|---|---|
| RGB | rgb(171, 145, 38) |
| HSL | hsl(48, 64%, 41%) |
| HSV | hsv(48, 78%, 67%) |
| CMYK | cmyk(0%, 15.2%, 77.8%, 32.9%) |
| CIE-LAB | lab(60.83, -1.36, 56.33) |
| CIE-LCH | lch(60.83, 56.35, 91.39°) |
| OKLab | oklab(66.19% -0.0099 0.123) |
| OKLCH | oklch(66.19% 0.123 94.6) |
| XYZ | xyz(27.2713, 29.0502, 6.0042) |
| Luminance | 0.2905 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Shit Brown
#AD900D
ΔE00 1.88
Baby Poo
#AB9004
ΔE00 2.12
Dark Gold
#B59410
ΔE00 2.97
Dark Mustard
#A88905
ΔE00 3.13
Yellowy Brown
#AE8B0C
ΔE00 3.23
Brown Yellow
#B29705
ΔE00 3.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB9126 #2640AB
analogous
#AB4F26 #AB9126 #82AB26
triadic
#AB9126 #26AB91 #9126AB
tetradic
#AB9126 #26AB4F #2640AB #AB2682
square
#AB9126 #26AB4F #2640AB #AB2682
split-complementary
#AB9126 #2682AB #4F26AB
monochromatic
#473C10 #79671B #AB9126 #D3B63B #DFC86D
Accessibility & contrast
On white
3.08
#AB9126 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.81
#AB9126 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #AB9126
6.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB9126 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AB9126 | 1.00 | 3.08 | 6.81 | 6.81 |
| #FFFFFF | 3.08 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.81 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.81 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A18E10
Deuteranopia (green-blind)
#A7962D
Tritanopia (blue-blind)
#B9857D
Achromatopsia (no color)
#939393
Design tokens & code
CSS
--color: #ab9126; /* rgb */ color: rgb(171, 145, 38); /* oklch */ color: oklch(66.2% 0.123 94.6);
Tailwind
colors: {
custom: {
50: '#c8b069',
500: '#ab9126',
950: '#000000',
},
}SCSS
$custom: #ab9126; $custom-light: #c8b069; $custom-dark: #000000;
JSON
{
"hex": "#ab9126",
"rgb": {
"r": 171,
"g": 145,
"b": 38
},
"hsl": {
"h": 48.271,
"s": 63.636,
"l": 40.98
},
"oklch": {
"l": 0.66189,
"c": 0.12343,
"h": 94.6
},
"luminance": 0.29049
}Semantic roles & 50–950 ramp
primary
#AB9126
secondary
#687AC5
accent
#61E741
background
#FCFAF6
surface
#F9F4EB
border
#D2CEC6
text
#141007
muted
#827F7A