#8F7317#8F7317

#8F7317 is a mid, moderate yellow. Relative luminance 0.182; OKLCH L 56.7% C 0.108 H 90.3°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#8F7317
RGBrgb(143, 115, 23)
HSLhsl(46, 72%, 33%)
HSVhsv(46, 84%, 56%)
CMYKcmyk(0%, 19.6%, 83.9%, 43.9%)
CIE-LABlab(49.69, 1.90, 50.36)
CIE-LCHlch(49.69, 50.39, 87.84°)
OKLaboklab(56.71% -0.0006 0.1084)
OKLCHoklch(56.71% 0.108 90.3)
XYZxyz(17.6142, 18.1641, 3.3887)
Luminance0.1816 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F7317 #17338F
analogous
#8F3717 #8F7317 #6F8F17
triadic
#8F7317 #178F73 #73178F
tetradic
#8F7317 #178F37 #17338F #8F176F
square
#8F7317 #178F37 #17338F #8F176F
split-complementary
#8F7317 #176F8F #37178F
monochromatic
#261E06 #5A490F #8F7317 #C49D1F #E0BB40

Accessibility & contrast

On white

4.53
#8F7317 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#8F7317 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F7317
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F7317#FFFFFF#000000##000000
##8F73171.004.534.634.63
#FFFFFF4.531.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#817200
Deuteranopia (green-blind)
#88791D
Tritanopia (blue-blind)
#9C6862
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #8f7317;
/* rgb */ color: rgb(143, 115, 23);
/* oklch */ color: oklch(56.7% 0.108 90.3);
Tailwind
colors: {
  custom: {
    50: '#b49a5e',
    500: '#8f7317',
    950: '#000000',
  },
}
SCSS
$custom: #8f7317;
$custom-light: #b49a5e;
$custom-dark: #000000;
JSON
{
  "hex": "#8f7317",
  "rgb": {
    "r": 143,
    "g": 115,
    "b": 23
  },
  "hsl": {
    "h": 46,
    "s": 72.289,
    "l": 32.549
  },
  "oklch": {
    "l": 0.56708,
    "c": 0.10837,
    "h": 90.3
  },
  "luminance": 0.18163
}

Semantic roles & 50–950 ramp

primary
#8F7317
secondary
#415FC1
accent
#63EF39
background
#FBF9F5
surface
#F6F2E9
border
#D0CCC5
text
#120E05
muted
#817E79

Preview Lab

Preview with #8F7317

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

Preview Lab → · Contrast checker → · Palette generator →

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