#8F7717#8F7717

#8F7717 is a mid, moderate yellow. Relative luminance 0.191; OKLCH L 57.6% C 0.111 H 93.7°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#8F7717
RGBrgb(143, 119, 23)
HSLhsl(48, 72%, 33%)
HSVhsv(48, 84%, 56%)
CMYKcmyk(0%, 16.8%, 83.9%, 43.9%)
CIE-LABlab(50.80, -0.37, 51.31)
CIE-LCHlch(50.80, 51.32, 90.42°)
OKLaboklab(57.58% -0.007 0.1105)
OKLCHoklch(57.58% 0.111 93.7)
XYZxyz(18.0802, 19.0963, 3.5441)
Luminance0.1910 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F7717 #172F8F
analogous
#8F3B17 #8F7717 #6B8F17
triadic
#8F7717 #178F77 #77178F
tetradic
#8F7717 #178F3B #172F8F #8F176B
square
#8F7717 #178F3B #172F8F #8F176B
split-complementary
#8F7717 #176B8F #3B178F
monochromatic
#261F06 #5A4B0F #8F7717 #C4A31F #E0C040

Accessibility & contrast

On white

4.36
#8F7717 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#8F7717 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F7717
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F7717#FFFFFF#000000##000000
##8F77171.004.364.824.82
#FFFFFF4.361.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#857500
Deuteranopia (green-blind)
#8B7C1E
Tritanopia (blue-blind)
#9B6C65
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #8f7717;
/* rgb */ color: rgb(143, 119, 23);
/* oklch */ color: oklch(57.6% 0.111 93.7);
Tailwind
colors: {
  custom: {
    50: '#b49d5e',
    500: '#8f7717',
    950: '#000000',
  },
}
SCSS
$custom: #8f7717;
$custom-light: #b49d5e;
$custom-dark: #000000;
JSON
{
  "hex": "#8f7717",
  "rgb": {
    "r": 143,
    "g": 119,
    "b": 23
  },
  "hsl": {
    "h": 48,
    "s": 72.289,
    "l": 32.549
  },
  "oklch": {
    "l": 0.5758,
    "c": 0.11067,
    "h": 93.7
  },
  "luminance": 0.19095
}

Semantic roles & 50–950 ramp

primary
#8F7717
secondary
#415BC1
accent
#5DEF39
background
#FBF9F5
surface
#F6F2EA
border
#D0CCC6
text
#120E05
muted
#817E79

Preview Lab

Preview with #8F7717

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

Preview Lab → · Contrast checker → · Palette generator →

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