#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
RGBrgb(143, 117, 23)
HSLhsl(47, 72%, 33%)
HSVhsv(47, 84%, 56%)
CMYKcmyk(0%, 18.2%, 83.9%, 43.9%)
CIE-LABlab(50.25, 0.76, 50.83)
CIE-LCHlch(50.25, 50.84, 89.14°)
OKLaboklab(57.14% -0.0038 0.1094)
OKLCHoklch(57.14% 0.109 92)
XYZxyz(17.8447, 18.6252, 3.4656)
Luminance0.1862 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

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
##8F75171.004.444.724.72
#FFFFFF4.441.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.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

Preview Lab

Preview with #8F7517

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#8F7517 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva