#8F7617#8F7617

#8F7617 is a mid, moderate yellow. Relative luminance 0.189; OKLCH L 57.4% C 0.110 H 92.8°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#8F7617
RGBrgb(143, 118, 23)
HSLhsl(48, 72%, 33%)
HSVhsv(48, 84%, 56%)
CMYKcmyk(0%, 17.5%, 83.9%, 43.9%)
CIE-LABlab(50.52, 0.19, 51.07)
CIE-LCHlch(50.52, 51.07, 89.78°)
OKLaboklab(57.36% -0.0054 0.1099)
OKLCHoklch(57.36% 0.11 92.8)
XYZxyz(17.9618, 18.8595, 3.5046)
Luminance0.1886 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F7617 #17308F
analogous
#8F3A17 #8F7617 #6C8F17
triadic
#8F7617 #178F76 #76178F
tetradic
#8F7617 #178F3A #17308F #8F176C
square
#8F7617 #178F3A #17308F #8F176C
split-complementary
#8F7617 #176C8F #3A178F
monochromatic
#261F06 #5A4A0F #8F7617 #C4A21F #E0BF40

Accessibility & contrast

On white

4.40
#8F7617 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#8F7617 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F7617
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F7617#FFFFFF#000000##000000
##8F76171.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#847400
Deuteranopia (green-blind)
#8A7B1E
Tritanopia (blue-blind)
#9B6B65
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #8f7617;
/* rgb */ color: rgb(143, 118, 23);
/* oklch */ color: oklch(57.4% 0.110 92.8);
Tailwind
colors: {
  custom: {
    50: '#b49d5e',
    500: '#8f7617',
    950: '#000000',
  },
}
SCSS
$custom: #8f7617;
$custom-light: #b49d5e;
$custom-dark: #000000;
JSON
{
  "hex": "#8f7617",
  "rgb": {
    "r": 143,
    "g": 118,
    "b": 23
  },
  "hsl": {
    "h": 47.5,
    "s": 72.289,
    "l": 32.549
  },
  "oklch": {
    "l": 0.57361,
    "c": 0.11006,
    "h": 92.8
  },
  "luminance": 0.18858
}

Semantic roles & 50–950 ramp

primary
#8F7617
secondary
#415CC1
accent
#5FEF39
background
#FBF9F5
surface
#F6F2EA
border
#D0CCC6
text
#120E05
muted
#817E79

Preview Lab

Preview with #8F7617

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

Preview Lab → · Contrast checker → · Palette generator →

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