#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
RGBrgb(143, 116, 23)
HSLhsl(47, 72%, 33%)
HSVhsv(47, 84%, 56%)
CMYKcmyk(0%, 18.9%, 83.9%, 43.9%)
CIE-LABlab(49.97, 1.33, 50.60)
CIE-LCHlch(49.97, 50.61, 88.49°)
OKLaboklab(56.93% -0.0022 0.1089)
OKLCHoklch(56.93% 0.109 91.2)
XYZxyz(17.7288, 18.3934, 3.4269)
Luminance0.1839 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

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
##8F74171.004.494.684.68
#FFFFFF4.491.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.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

Preview Lab

Preview with #8F7417

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

Preview Lab → · Contrast checker → · Palette generator →

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