#8F7315#8F7315

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

Color values

HEX#8F7315
RGBrgb(143, 115, 21)
HSLhsl(46, 74%, 32%)
HSVhsv(46, 85%, 56%)
CMYKcmyk(0%, 19.6%, 85.3%, 43.9%)
CIE-LABlab(49.69, 1.84, 50.98)
CIE-LCHlch(49.69, 51.01, 87.94°)
OKLaboklab(56.7% -0.001 0.1093)
OKLCHoklch(56.7% 0.109 90.5)
XYZxyz(17.5949, 18.1564, 3.2871)
Luminance0.1815 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F7315 #15318F
analogous
#8F3615 #8F7315 #6E8F15
triadic
#8F7315 #158F73 #73158F
tetradic
#8F7315 #158F36 #15318F #8F156E
square
#8F7315 #158F36 #15318F #8F156E
split-complementary
#8F7315 #156E8F #36158F
monochromatic
#241D05 #5A480D #8F7315 #C49E1D #E2BC3C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8F7315#FFFFFF#000000##000000
##8F73151.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)
#88791C
Tritanopia (blue-blind)
#9C6862
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #8f7315;
/* rgb */ color: rgb(143, 115, 21);
/* oklch */ color: oklch(56.7% 0.109 90.5);
Tailwind
colors: {
  custom: {
    50: '#b49a5d',
    500: '#8f7315',
    950: '#000000',
  },
}
SCSS
$custom: #8f7315;
$custom-light: #b49a5d;
$custom-dark: #000000;
JSON
{
  "hex": "#8f7315",
  "rgb": {
    "r": 143,
    "g": 115,
    "b": 21
  },
  "hsl": {
    "h": 46.23,
    "s": 74.39,
    "l": 32.157
  },
  "oklch": {
    "l": 0.56698,
    "c": 0.10927,
    "h": 90.5
  },
  "luminance": 0.18155
}

Semantic roles & 50–950 ramp

primary
#8F7315
secondary
#3E5CC2
accent
#62F137
background
#FBF9F5
surface
#F6F2E9
border
#D0CCC5
text
#120E05
muted
#817E79

Preview Lab

Preview with #8F7315

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

Preview Lab → · Contrast checker → · Palette generator →

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