#8F7517#8F7517
#8F7517 is a mid, moderate yellow. Relative luminance 0.186; OKLCH L 57.1% C 0.109 H 92.0°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).
Color values
| HEX | #8F7517 |
|---|---|
| RGB | rgb(143, 117, 23) |
| HSL | hsl(47, 72%, 33%) |
| HSV | hsv(47, 84%, 56%) |
| CMYK | cmyk(0%, 18.2%, 83.9%, 43.9%) |
| CIE-LAB | lab(50.25, 0.76, 50.83) |
| CIE-LCH | lch(50.25, 50.84, 89.14°) |
| OKLab | oklab(57.14% -0.0038 0.1094) |
| OKLCH | oklch(57.14% 0.109 92) |
| XYZ | xyz(17.8447, 18.6252, 3.4656) |
| Luminance | 0.1862 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Hazel
#8E7618
ΔE00 0.71
Poo
#8F7303
ΔE00 1.47
Puke Brown
#947706
ΔE00 1.89
Baby Poop
#937C00
ΔE00 3.50
Yellowish Brown
#9B7A01
ΔE00 3.65
Muddy Brown
#886806
ΔE00 5.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F7517 #17318F
analogous
#8F3917 #8F7517 #6D8F17
triadic
#8F7517 #178F75 #75178F
tetradic
#8F7517 #178F39 #17318F #8F176D
square
#8F7517 #178F39 #17318F #8F176D
split-complementary
#8F7517 #176D8F #39178F
monochromatic
#261F06 #5A4A0F #8F7517 #C4A01F #E0BE40
Accessibility & contrast
On white
4.44
#8F7517 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.72
#8F7517 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8F7517
4.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F7517 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8F7517 | 1.00 | 4.44 | 4.72 | 4.72 |
| #FFFFFF | 4.44 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.72 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.72 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#837300
Deuteranopia (green-blind)
#897B1E
Tritanopia (blue-blind)
#9B6A64
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #8f7517; /* rgb */ color: rgb(143, 117, 23); /* oklch */ color: oklch(57.1% 0.109 92.0);
Tailwind
colors: {
custom: {
50: '#b49c5e',
500: '#8f7517',
950: '#000000',
},
}SCSS
$custom: #8f7517; $custom-light: #b49c5e; $custom-dark: #000000;
JSON
{
"hex": "#8f7517",
"rgb": {
"r": 143,
"g": 117,
"b": 23
},
"hsl": {
"h": 47,
"s": 72.289,
"l": 32.549
},
"oklch": {
"l": 0.57143,
"c": 0.10948,
"h": 92
},
"luminance": 0.18624
}Semantic roles & 50–950 ramp
primary
#8F7517
secondary
#415DC1
accent
#60EF39
background
#FBF9F5
surface
#F6F2E9
border
#D0CCC5
text
#120E05
muted
#817E79