#AB8F26#AB8F26
#AB8F26 is a light, vivid yellow. Relative luminance 0.284; OKLCH L 65.8% C 0.122 H 93.2°. Best body text is #000000 at 6.69:1 contrast (WCAG AA passes).
Color values
| HEX | #AB8F26 |
|---|---|
| RGB | rgb(171, 143, 38) |
| HSL | hsl(47, 64%, 41%) |
| HSV | hsv(47, 78%, 67%) |
| CMYK | cmyk(0%, 16.4%, 77.8%, 32.9%) |
| CIE-LAB | lab(60.29, -0.27, 55.84) |
| CIE-LCH | lch(60.29, 55.84, 90.28°) |
| OKLab | oklab(65.76% -0.0068 0.122) |
| OKLCH | oklch(65.76% 0.122 93.2) |
| XYZ | xyz(26.9684, 28.4444, 5.9032) |
| Luminance | 0.2844 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Shit Brown
#AD900D
ΔE00 1.97
Baby Poo
#AB9004
ΔE00 2.38
Dark Mustard
#A88905
ΔE00 2.60
Yellowy Brown
#AE8B0C
ΔE00 2.61
Dark Gold
#B59410
ΔE00 3.07
Yellow Brown
#B79400
ΔE00 3.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB8F26 #2642AB
analogous
#AB4C26 #AB8F26 #84AB26
triadic
#AB8F26 #26AB8F #8F26AB
tetradic
#AB8F26 #26AB4C #2642AB #AB2684
square
#AB8F26 #26AB4C #2642AB #AB2684
split-complementary
#AB8F26 #2684AB #4C26AB
monochromatic
#473B10 #79651B #AB8F26 #D3B33B #DFC76D
Accessibility & contrast
On white
3.14
#AB8F26 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.69
#AB8F26 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #AB8F26
6.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB8F26 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AB8F26 | 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)
#9F8D11
Deuteranopia (green-blind)
#A6952D
Tritanopia (blue-blind)
#B9837B
Achromatopsia (no color)
#919191
Design tokens & code
CSS
--color: #ab8f26; /* rgb */ color: rgb(171, 143, 38); /* oklch */ color: oklch(65.8% 0.122 93.2);
Tailwind
colors: {
custom: {
50: '#c8af69',
500: '#ab8f26',
950: '#000000',
},
}SCSS
$custom: #ab8f26; $custom-light: #c8af69; $custom-dark: #000000;
JSON
{
"hex": "#ab8f26",
"rgb": {
"r": 171,
"g": 143,
"b": 38
},
"hsl": {
"h": 47.368,
"s": 63.636,
"l": 40.98
},
"oklch": {
"l": 0.65764,
"c": 0.12215,
"h": 93.2
},
"luminance": 0.28443
}Semantic roles & 50–950 ramp
primary
#AB8F26
secondary
#687BC5
accent
#64E741
background
#FCFAF6
surface
#F9F4EB
border
#D2CEC6
text
#141007
muted
#827F7A