#8F7115#8F7115

#8F7115 is a mid, moderate yellow. Relative luminance 0.177; OKLCH L 56.3% C 0.108 H 88.8°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#8F7115
RGBrgb(143, 113, 21)
HSLhsl(45, 74%, 32%)
HSVhsv(45, 85%, 56%)
CMYKcmyk(0%, 21%, 85.3%, 43.9%)
CIE-LABlab(49.14, 2.98, 50.51)
CIE-LCHlch(49.14, 50.60, 86.63°)
OKLaboklab(56.27% 0.0023 0.1083)
OKLCHoklch(56.27% 0.108 88.8)
XYZxyz(17.3693, 17.7052, 3.2119)
Luminance0.1770 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F7115 #15338F
analogous
#8F3415 #8F7115 #708F15
triadic
#8F7115 #158F71 #71158F
tetradic
#8F7115 #158F34 #15338F #8F1570
square
#8F7115 #158F34 #15338F #8F1570
split-complementary
#8F7115 #15708F #34158F
monochromatic
#241D05 #5A470D #8F7115 #C49B1D #E2B93C

Accessibility & contrast

On white

4.62
#8F7115 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#8F7115 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #8F7115
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F7115#FFFFFF#000000##FFFFFF
##8F71151.004.624.544.62
#FFFFFF4.621.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807000
Deuteranopia (green-blind)
#87781B
Tritanopia (blue-blind)
#9C6660
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #8f7115;
/* rgb */ color: rgb(143, 113, 21);
/* oklch */ color: oklch(56.3% 0.108 88.8);
Tailwind
colors: {
  custom: {
    50: '#b4995d',
    500: '#8f7115',
    950: '#000000',
  },
}
SCSS
$custom: #8f7115;
$custom-light: #b4995d;
$custom-dark: #000000;
JSON
{
  "hex": "#8f7115",
  "rgb": {
    "r": 143,
    "g": 113,
    "b": 21
  },
  "hsl": {
    "h": 45.246,
    "s": 74.39,
    "l": 32.157
  },
  "oklch": {
    "l": 0.56265,
    "c": 0.10827,
    "h": 88.8
  },
  "luminance": 0.17704
}

Semantic roles & 50–950 ramp

primary
#8F7115
secondary
#3E5EC2
accent
#65F137
background
#FBF9F5
surface
#F6F2E9
border
#D0CCC5
text
#120D05
muted
#817E79

Preview Lab

Preview with #8F7115

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

Preview Lab → · Contrast checker → · Palette generator →

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