#8F7417#8F7417
#8F7417 is a mid, moderate yellow. Relative luminance 0.184; OKLCH L 56.9% C 0.109 H 91.2°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).
Color values
| HEX | #8F7417 |
|---|---|
| RGB | rgb(143, 116, 23) |
| HSL | hsl(47, 72%, 33%) |
| HSV | hsv(47, 84%, 56%) |
| CMYK | cmyk(0%, 18.9%, 83.9%, 43.9%) |
| CIE-LAB | lab(49.97, 1.33, 50.60) |
| CIE-LCH | lch(49.97, 50.61, 88.49°) |
| OKLab | oklab(56.93% -0.0022 0.1089) |
| OKLCH | oklch(56.93% 0.109 91.2) |
| XYZ | xyz(17.7288, 18.3934, 3.4269) |
| Luminance | 0.1839 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Hazel
#8E7618
ΔE00 1.17
Poo
#8F7303
ΔE00 1.38
Puke Brown
#947706
ΔE00 2.05
Yellowish Brown
#9B7A01
ΔE00 3.77
Baby Poop
#937C00
ΔE00 3.92
Muddy Brown
#886806
ΔE00 4.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F7417 #17328F
analogous
#8F3817 #8F7417 #6E8F17
triadic
#8F7417 #178F74 #74178F
tetradic
#8F7417 #178F38 #17328F #8F176E
square
#8F7417 #178F38 #17328F #8F176E
split-complementary
#8F7417 #176E8F #38178F
monochromatic
#261E06 #5A490F #8F7417 #C49F1F #E0BC40
Accessibility & contrast
On white
4.49
#8F7417 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.68
#8F7417 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8F7417
4.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F7417 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8F7417 | 1.00 | 4.49 | 4.68 | 4.68 |
| #FFFFFF | 4.49 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.68 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.68 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#827200
Deuteranopia (green-blind)
#897A1D
Tritanopia (blue-blind)
#9B6963
Achromatopsia (no color)
#777777
Design tokens & code
CSS
--color: #8f7417; /* rgb */ color: rgb(143, 116, 23); /* oklch */ color: oklch(56.9% 0.109 91.2);
Tailwind
colors: {
custom: {
50: '#b49b5e',
500: '#8f7417',
950: '#000000',
},
}SCSS
$custom: #8f7417; $custom-light: #b49b5e; $custom-dark: #000000;
JSON
{
"hex": "#8f7417",
"rgb": {
"r": 143,
"g": 116,
"b": 23
},
"hsl": {
"h": 46.5,
"s": 72.289,
"l": 32.549
},
"oklch": {
"l": 0.56925,
"c": 0.10891,
"h": 91.2
},
"luminance": 0.18392
}Semantic roles & 50–950 ramp
primary
#8F7417
secondary
#415EC1
accent
#62EF39
background
#FBF9F5
surface
#F6F2E9
border
#D0CCC5
text
#120E05
muted
#817E79