#AB8E2F#AB8E2F
#AB8E2F is a light, moderate yellow. Relative luminance 0.282; OKLCH L 65.6% C 0.116 H 91.5°. Best body text is #000000 at 6.64:1 contrast (WCAG AA passes).
Color values
| HEX | #AB8E2F |
|---|---|
| RGB | rgb(171, 142, 47) |
| HSL | hsl(46, 57%, 43%) |
| HSV | hsv(46, 73%, 67%) |
| CMYK | cmyk(0%, 17%, 72.5%, 32.9%) |
| CIE-LAB | lab(60.08, 0.69, 52.16) |
| CIE-LCH | lch(60.08, 52.17, 89.25°) |
| OKLab | oklab(65.62% -0.0031 0.116) |
| OKLCH | oklch(65.62% 0.116 91.5) |
| XYZ | xyz(26.9822, 28.2108, 6.7128) |
| Luminance | 0.2821 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Yellowy Brown
#AE8B0C
ΔE00 3.08
Baby Shit Brown
#AD900D
ΔE00 3.16
Dark Mustard
#A88905
ΔE00 3.24
Baby Poo
#AB9004
ΔE00 3.62
Dark Gold
#B59410
ΔE00 3.95
Diarrhea
#9F8303
ΔE00 4.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB8E2F #2F4CAB
analogous
#AB502F #AB8E2F #8AAB2F
triadic
#AB8E2F #2FAB8E #8E2FAB
tetradic
#AB8E2F #2FAB50 #2F4CAB #AB2F8A
square
#AB8E2F #2FAB50 #2F4CAB #AB2F8A
split-complementary
#AB8E2F #2F8AAB #502FAB
monochromatic
#4B3E15 #7B6622 #AB8E2F #CDAF4A #DAC47A
Accessibility & contrast
On white
3.16
#AB8E2F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.64
#AB8E2F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #AB8E2F
6.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB8E2F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AB8E2F | 1.00 | 3.16 | 6.64 | 6.64 |
| #FFFFFF | 3.16 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.64 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.64 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9E8C21
Deuteranopia (green-blind)
#A59434
Tritanopia (blue-blind)
#B9827B
Achromatopsia (no color)
#919191
Design tokens & code
CSS
--color: #ab8e2f; /* rgb */ color: rgb(171, 142, 47); /* oklch */ color: oklch(65.6% 0.116 91.5);
Tailwind
colors: {
custom: {
50: '#c8ae6e',
500: '#ab8e2f',
950: '#000000',
},
}SCSS
$custom: #ab8e2f; $custom-light: #c8ae6e; $custom-dark: #000000;
JSON
{
"hex": "#ab8e2f",
"rgb": {
"r": 171,
"g": 142,
"b": 47
},
"hsl": {
"h": 45.968,
"s": 56.881,
"l": 42.745
},
"oklch": {
"l": 0.65617,
"c": 0.11601,
"h": 91.5
},
"luminance": 0.28209
}Semantic roles & 50–950 ramp
primary
#AB8E2F
secondary
#7386C3
accent
#6BE048
background
#FCFAF6
surface
#F9F4EC
border
#D2CEC7
text
#141007
muted
#827F7A