#8F8A4E#8F8A4E
#8F8A4E is a light, moderate yellow. Relative luminance 0.246; OKLCH L 62.4% C 0.081 H 104.3°. Best body text is #000000 at 5.91:1 contrast (WCAG AA passes).
Color values
| HEX | #8F8A4E |
|---|---|
| RGB | rgb(143, 138, 78) |
| HSL | hsl(55, 29%, 43%) |
| HSV | hsv(55, 45%, 56%) |
| CMYK | cmyk(0%, 3.5%, 45.5%, 43.9%) |
| CIE-LAB | lab(56.65, -7.13, 32.68) |
| CIE-LCH | lch(56.65, 33.45, 102.31°) |
| OKLab | oklab(62.38% -0.0201 0.0787) |
| OKLCH | oklch(62.38% 0.081 104.3) |
| XYZ | xyz(21.7918, 24.5673, 10.8003) |
| Luminance | 0.2457 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dark Khaki
#9B8F55
ΔE00 3.32
Drab
#828344
ΔE00 3.66
Camo
#7F8F4E
ΔE00 6.34
Moss Green
#8A9A5B
ΔE00 7.51
Dark Sand
#A88F59
ΔE00 7.91
Khaki Green
#728639
ΔE00 8.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F8A4E #4E538F
analogous
#8F694E #8F8A4E #738F4E
triadic
#8F8A4E #4E8F8A #8A4E8F
tetradic
#8F8A4E #4E8F69 #4E538F #8F4E73
square
#8F8A4E #4E8F69 #4E538F #8F4E73
split-complementary
#8F8A4E #4E738F #694E8F
monochromatic
#403E23 #676438 #8F8A4E #AFA96C #C4C093
Accessibility & contrast
On white
3.55
#8F8A4E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.91
#8F8A4E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8F8A4E
5.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F8A4E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8F8A4E | 1.00 | 3.55 | 5.91 | 5.91 |
| #FFFFFF | 3.55 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.91 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.91 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#938649
Deuteranopia (green-blind)
#958951
Tritanopia (blue-blind)
#98837C
Achromatopsia (no color)
#888888
Design tokens & code
CSS
--color: #8f8a4e; /* rgb */ color: rgb(143, 138, 78); /* oklch */ color: oklch(62.4% 0.081 104.3);
Tailwind
colors: {
custom: {
50: '#b1ac81',
500: '#8f8a4e',
950: '#000000',
},
}SCSS
$custom: #8f8a4e; $custom-light: #b1ac81; $custom-dark: #000000;
JSON
{
"hex": "#8f8a4e",
"rgb": {
"r": 143,
"g": 138,
"b": 78
},
"hsl": {
"h": 55.385,
"s": 29.412,
"l": 43.333
},
"oklch": {
"l": 0.62382,
"c": 0.08123,
"h": 104.3
},
"luminance": 0.24567
}Semantic roles & 50–950 ramp
primary
#8F8A4E
secondary
#888BB1
accent
#6AC662
background
#FBFAF7
surface
#F6F4EE
border
#D0CEC9
text
#11100A
muted
#807F7C