#AB8A26#AB8A26
#AB8A26 is a light, moderate yellow. Relative luminance 0.270; OKLCH L 64.7% C 0.119 H 89.5°. Best body text is #000000 at 6.40:1 contrast (WCAG AA passes).
Color values
| HEX | #AB8A26 |
|---|---|
| RGB | rgb(171, 138, 38) |
| HSL | hsl(45, 64%, 41%) |
| HSV | hsv(45, 78%, 67%) |
| CMYK | cmyk(0%, 19.3%, 77.8%, 32.9%) |
| CIE-LAB | lab(58.95, 2.48, 54.59) |
| CIE-LCH | lch(58.95, 54.65, 87.40°) |
| OKLab | oklab(64.71% 0.001 0.1193) |
| OKLCH | oklch(64.71% 0.119 89.5) |
| XYZ | xyz(26.2345, 26.9765, 5.6586) |
| Luminance | 0.2697 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Yellowy Brown
#AE8B0C
ΔE00 2.15
Dark Mustard
#A88905
ΔE00 2.49
Baby Shit Brown
#AD900D
ΔE00 3.44
Diarrhea
#9F8303
ΔE00 3.78
Baby Poo
#AB9004
ΔE00 3.97
Dark Gold
#B59410
ΔE00 4.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB8A26 #2647AB
analogous
#AB4726 #AB8A26 #89AB26
triadic
#AB8A26 #26AB8A #8A26AB
tetradic
#AB8A26 #26AB47 #2647AB #AB2689
square
#AB8A26 #26AB47 #2647AB #AB2689
split-complementary
#AB8A26 #2689AB #4726AB
monochromatic
#473910 #79621B #AB8A26 #D3AE3B #DFC26D
Accessibility & contrast
On white
3.28
#AB8A26 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.40
#AB8A26 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #AB8A26
6.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB8A26 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AB8A26 | 1.00 | 3.28 | 6.40 | 6.40 |
| #FFFFFF | 3.28 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.40 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.40 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9B8913
Deuteranopia (green-blind)
#A3922C
Tritanopia (blue-blind)
#BA7E77
Achromatopsia (no color)
#8E8E8E
Design tokens & code
CSS
--color: #ab8a26; /* rgb */ color: rgb(171, 138, 38); /* oklch */ color: oklch(64.7% 0.119 89.5);
Tailwind
colors: {
custom: {
50: '#c8ab68',
500: '#ab8a26',
950: '#000000',
},
}SCSS
$custom: #ab8a26; $custom-light: #c8ab68; $custom-dark: #000000;
JSON
{
"hex": "#ab8a26",
"rgb": {
"r": 171,
"g": 138,
"b": 38
},
"hsl": {
"h": 45.113,
"s": 63.636,
"l": 40.98
},
"oklch": {
"l": 0.6471,
"c": 0.11931,
"h": 89.5
},
"luminance": 0.26975
}Semantic roles & 50–950 ramp
primary
#AB8A26
secondary
#687FC5
accent
#6AE741
background
#FCFAF6
surface
#F9F4EB
border
#D2CEC6
text
#141007
muted
#827F7A