#8F8549#8F8549
#8F8549 is a mid, moderate yellow. Relative luminance 0.231; OKLCH L 61.2% C 0.081 H 100.0°. Best body text is #000000 at 5.62:1 contrast (WCAG AA passes).
Color values
| HEX | #8F8549 |
|---|---|
| RGB | rgb(143, 133, 73) |
| HSL | hsl(51, 32%, 42%) |
| HSV | hsv(51, 49%, 56%) |
| CMYK | cmyk(0%, 7%, 49%, 43.9%) |
| CIE-LAB | lab(55.17, -4.89, 33.51) |
| CIE-LCH | lch(55.17, 33.87, 98.31°) |
| OKLab | oklab(61.19% -0.0142 0.0802) |
| OKLCH | oklch(61.19% 0.081 100) |
| XYZ | xyz(20.9184, 23.0965, 9.6582) |
| Luminance | 0.2310 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dark Khaki
#9B8F55
ΔE00 3.79
Drab
#828344
ΔE00 4.04
Dark Sand
#A88F59
ΔE00 7.27
Camo
#7F8F4E
ΔE00 8.25
Brown Grey
#8D8468
ΔE00 8.33
Hazel
#8E7618
ΔE00 8.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F8549 #49538F
analogous
#8F6249 #8F8549 #768F49
triadic
#8F8549 #498F85 #85498F
tetradic
#8F8549 #498F62 #49538F #8F4976
square
#8F8549 #498F62 #49538F #8F4976
split-complementary
#8F8549 #49768F #62498F
monochromatic
#3E3A20 #665F34 #8F8549 #B0A665 #C5BD8D
Accessibility & contrast
On white
3.74
#8F8549 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.62
#8F8549 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8F8549
5.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F8549 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8F8549 | 1.00 | 3.74 | 5.62 | 5.62 |
| #FFFFFF | 3.74 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.62 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.62 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8F8244
Deuteranopia (green-blind)
#92864C
Tritanopia (blue-blind)
#987D77
Achromatopsia (no color)
#848484
Design tokens & code
CSS
--color: #8f8549; /* rgb */ color: rgb(143, 133, 73); /* oklch */ color: oklch(61.2% 0.081 100.0);
Tailwind
colors: {
custom: {
50: '#b1a87d',
500: '#8f8549',
950: '#000000',
},
}SCSS
$custom: #8f8549; $custom-light: #b1a87d; $custom-dark: #000000;
JSON
{
"hex": "#8f8549",
"rgb": {
"r": 143,
"g": 133,
"b": 73
},
"hsl": {
"h": 51.429,
"s": 32.407,
"l": 42.353
},
"oklch": {
"l": 0.61186,
"c": 0.08144,
"h": 100
},
"luminance": 0.23096
}Semantic roles & 50–950 ramp
primary
#8F8549
secondary
#838AB1
accent
#6EC95F
background
#FBFAF7
surface
#F6F4EE
border
#D0CEC9
text
#110F0A
muted
#807F7C