#8F7515#8F7515

#8F7515 is a mid, moderate yellow. Relative luminance 0.186; OKLCH L 57.1% C 0.110 H 92.2°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#8F7515
RGBrgb(143, 117, 21)
HSLhsl(47, 74%, 32%)
HSVhsv(47, 85%, 56%)
CMYKcmyk(0%, 18.2%, 85.3%, 43.9%)
CIE-LABlab(50.24, 0.70, 51.44)
CIE-LCHlch(50.24, 51.45, 89.22°)
OKLaboklab(57.13% -0.0042 0.1103)
OKLCHoklch(57.13% 0.11 92.2)
XYZxyz(17.8254, 18.6175, 3.3640)
Luminance0.1862 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F7515 #152F8F
analogous
#8F3815 #8F7515 #6C8F15
triadic
#8F7515 #158F75 #75158F
tetradic
#8F7515 #158F38 #152F8F #8F156C
square
#8F7515 #158F38 #152F8F #8F156C
split-complementary
#8F7515 #156C8F #38158F
monochromatic
#241E05 #5A490D #8F7515 #C4A11D #E2BF3C

Accessibility & contrast

On white

4.45
#8F7515 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#8F7515 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F7515
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F7515#FFFFFF#000000##000000
##8F75151.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#837300
Deuteranopia (green-blind)
#8A7B1C
Tritanopia (blue-blind)
#9B6A64
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #8f7515;
/* rgb */ color: rgb(143, 117, 21);
/* oklch */ color: oklch(57.1% 0.110 92.2);
Tailwind
colors: {
  custom: {
    50: '#b49c5d',
    500: '#8f7515',
    950: '#000000',
  },
}
SCSS
$custom: #8f7515;
$custom-light: #b49c5d;
$custom-dark: #000000;
JSON
{
  "hex": "#8f7515",
  "rgb": {
    "r": 143,
    "g": 117,
    "b": 21
  },
  "hsl": {
    "h": 47.213,
    "s": 74.39,
    "l": 32.157
  },
  "oklch": {
    "l": 0.57133,
    "c": 0.11038,
    "h": 92.2
  },
  "luminance": 0.18616
}

Semantic roles & 50–950 ramp

primary
#8F7515
secondary
#3E5AC2
accent
#5EF137
background
#FBF9F5
surface
#F6F2E9
border
#D0CCC5
text
#120E05
muted
#817E79

Preview Lab

Preview with #8F7515

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

Preview Lab → · Contrast checker → · Palette generator →

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