#8F7217#8F7217

#8F7217 is a mid, moderate yellow. Relative luminance 0.179; OKLCH L 56.5% C 0.108 H 89.5°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#8F7217
RGBrgb(143, 114, 23)
HSLhsl(46, 72%, 33%)
HSVhsv(46, 84%, 56%)
CMYKcmyk(0%, 20.3%, 83.9%, 43.9%)
CIE-LABlab(49.42, 2.47, 50.12)
CIE-LCHlch(49.42, 50.18, 87.18°)
OKLaboklab(56.49% 0.001 0.1079)
OKLCHoklch(56.49% 0.108 89.5)
XYZxyz(17.5008, 17.9373, 3.3509)
Luminance0.1794 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F7217 #17348F
analogous
#8F3617 #8F7217 #708F17
triadic
#8F7217 #178F72 #72178F
tetradic
#8F7217 #178F36 #17348F #8F1770
square
#8F7217 #178F36 #17348F #8F1770
split-complementary
#8F7217 #17708F #36178F
monochromatic
#261E06 #5A480F #8F7217 #C49C1F #E0BA40

Accessibility & contrast

On white

4.58
#8F7217 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#8F7217 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F7217
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F7217#FFFFFF#000000##000000
##8F72171.004.584.594.59
#FFFFFF4.581.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#807100
Deuteranopia (green-blind)
#87791D
Tritanopia (blue-blind)
#9C6761
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #8f7217;
/* rgb */ color: rgb(143, 114, 23);
/* oklch */ color: oklch(56.5% 0.108 89.5);
Tailwind
colors: {
  custom: {
    50: '#b49a5e',
    500: '#8f7217',
    950: '#000000',
  },
}
SCSS
$custom: #8f7217;
$custom-light: #b49a5e;
$custom-dark: #000000;
JSON
{
  "hex": "#8f7217",
  "rgb": {
    "r": 143,
    "g": 114,
    "b": 23
  },
  "hsl": {
    "h": 45.5,
    "s": 72.289,
    "l": 32.549
  },
  "oklch": {
    "l": 0.56491,
    "c": 0.10785,
    "h": 89.5
  },
  "luminance": 0.17936
}

Semantic roles & 50–950 ramp

primary
#8F7217
secondary
#4160C1
accent
#65EF39
background
#FBF9F5
surface
#F6F2E9
border
#D0CCC5
text
#120E05
muted
#817E79

Preview Lab

Preview with #8F7217

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

Preview Lab → · Contrast checker → · Palette generator →

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