#AB8F29#AB8F29
#AB8F29 is a light, vivid yellow. Relative luminance 0.285; OKLCH L 65.8% C 0.120 H 92.9°. Best body text is #000000 at 6.69:1 contrast (WCAG AA passes).
Color values
| HEX | #AB8F29 |
|---|---|
| RGB | rgb(171, 143, 41) |
| HSL | hsl(47, 61%, 42%) |
| HSV | hsv(47, 76%, 67%) |
| CMYK | cmyk(0%, 16.4%, 76%, 32.9%) |
| CIE-LAB | lab(60.31, -0.15, 54.75) |
| CIE-LCH | lch(60.31, 54.75, 90.15°) |
| OKLab | oklab(65.78% -0.0061 0.1203) |
| OKLCH | oklch(65.78% 0.12 92.9) |
| XYZ | xyz(27.0188, 28.4645, 6.1685) |
| Luminance | 0.2846 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Shit Brown
#AD900D
ΔE00 2.28
Baby Poo
#AB9004
ΔE00 2.69
Yellowy Brown
#AE8B0C
ΔE00 2.78
Dark Mustard
#A88905
ΔE00 2.81
Dark Gold
#B59410
ΔE00 3.28
Yellow Brown
#B79400
ΔE00 3.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB8F29 #2945AB
analogous
#AB4E29 #AB8F29 #86AB29
triadic
#AB8F29 #29AB8F #8F29AB
tetradic
#AB8F29 #29AB4E #2945AB #AB2986
square
#AB8F29 #29AB4E #2945AB #AB2986
split-complementary
#AB8F29 #2986AB #4E29AB
monochromatic
#483C11 #7A661D #AB8F29 #D1B240 #DDC671
Accessibility & contrast
On white
3.14
#AB8F29 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.69
#AB8F29 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #AB8F29
6.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB8F29 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AB8F29 | 1.00 | 3.14 | 6.69 | 6.69 |
| #FFFFFF | 3.14 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.69 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.69 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9F8D17
Deuteranopia (green-blind)
#A6952F
Tritanopia (blue-blind)
#B9837B
Achromatopsia (no color)
#919191
Design tokens & code
CSS
--color: #ab8f29; /* rgb */ color: rgb(171, 143, 41); /* oklch */ color: oklch(65.8% 0.120 92.9);
Tailwind
colors: {
custom: {
50: '#c8af6a',
500: '#ab8f29',
950: '#000000',
},
}SCSS
$custom: #ab8f29; $custom-light: #c8af6a; $custom-dark: #000000;
JSON
{
"hex": "#ab8f29",
"rgb": {
"r": 171,
"g": 143,
"b": 41
},
"hsl": {
"h": 47.077,
"s": 61.321,
"l": 41.569
},
"oklch": {
"l": 0.65784,
"c": 0.12043,
"h": 92.9
},
"luminance": 0.28463
}Semantic roles & 50–950 ramp
primary
#AB8F29
secondary
#6C7FC4
accent
#66E443
background
#FCFAF6
surface
#F9F4EB
border
#D2CEC6
text
#141007
muted
#827F7A