#AB8D2A#AB8D2A
#AB8D2A is a light, moderate yellow. Relative luminance 0.279; OKLCH L 65.4% C 0.119 H 91.3°. Best body text is #000000 at 6.57:1 contrast (WCAG AA passes).
Color values
| HEX | #AB8D2A |
|---|---|
| RGB | rgb(171, 141, 42) |
| HSL | hsl(46, 61%, 42%) |
| HSV | hsv(46, 75%, 67%) |
| CMYK | cmyk(0%, 17.5%, 75.4%, 32.9%) |
| CIE-LAB | lab(59.78, 1.00, 53.86) |
| CIE-LCH | lch(59.78, 53.87, 88.94°) |
| OKLab | oklab(65.37% -0.0027 0.1186) |
| OKLCH | oklch(65.37% 0.119 91.3) |
| XYZ | xyz(26.7389, 27.8765, 6.1624) |
| Luminance | 0.2787 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Yellowy Brown
#AE8B0C
ΔE00 2.50
Dark Mustard
#A88905
ΔE00 2.68
Baby Shit Brown
#AD900D
ΔE00 2.83
Baby Poo
#AB9004
ΔE00 3.31
Dark Gold
#B59410
ΔE00 3.71
Diarrhea
#9F8303
ΔE00 4.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB8D2A #2A48AB
analogous
#AB4D2A #AB8D2A #88AB2A
triadic
#AB8D2A #2AAB8D #8D2AAB
tetradic
#AB8D2A #2AAB4D #2A48AB #AB2A88
square
#AB8D2A #2AAB4D #2A48AB #AB2A88
split-complementary
#AB8D2A #2A88AB #4D2AAB
monochromatic
#493C12 #7A641E #AB8D2A #D1AF42 #DDC473
Accessibility & contrast
On white
3.19
#AB8D2A on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.57
#AB8D2A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #AB8D2A
6.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB8D2A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AB8D2A | 1.00 | 3.19 | 6.57 | 6.57 |
| #FFFFFF | 3.19 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.57 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.57 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9D8B19
Deuteranopia (green-blind)
#A49430
Tritanopia (blue-blind)
#B9817A
Achromatopsia (no color)
#909090
Design tokens & code
CSS
--color: #ab8d2a; /* rgb */ color: rgb(171, 141, 42); /* oklch */ color: oklch(65.4% 0.119 91.3);
Tailwind
colors: {
custom: {
50: '#c8ae6b',
500: '#ab8d2a',
950: '#000000',
},
}SCSS
$custom: #ab8d2a; $custom-light: #c8ae6b; $custom-dark: #000000;
JSON
{
"hex": "#ab8d2a",
"rgb": {
"r": 171,
"g": 141,
"b": 42
},
"hsl": {
"h": 46.047,
"s": 60.563,
"l": 41.765
},
"oklch": {
"l": 0.65368,
"c": 0.11862,
"h": 91.3
},
"luminance": 0.27875
}Semantic roles & 50–950 ramp
primary
#AB8D2A
secondary
#6D81C4
accent
#69E444
background
#FCFAF6
surface
#F9F4EB
border
#D2CEC6
text
#141007
muted
#827F7A