#8F7815#8F7815

#8F7815 is a mid, moderate yellow. Relative luminance 0.193; OKLCH L 57.8% C 0.112 H 94.6°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#8F7815
RGBrgb(143, 120, 21)
HSLhsl(49, 74%, 32%)
HSVhsv(49, 85%, 56%)
CMYKcmyk(0%, 16.1%, 85.3%, 43.9%)
CIE-LABlab(51.07, -1.00, 52.15)
CIE-LCHlch(51.07, 52.16, 91.10°)
OKLaboklab(57.79% -0.009 0.1118)
OKLCHoklch(57.79% 0.112 94.6)
XYZxyz(18.1806, 19.3278, 3.4824)
Luminance0.1933 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F7815 #152C8F
analogous
#8F3B15 #8F7815 #698F15
triadic
#8F7815 #158F78 #78158F
tetradic
#8F7815 #158F3B #152C8F #8F1569
square
#8F7815 #158F3B #152C8F #8F1569
split-complementary
#8F7815 #15698F #3B158F
monochromatic
#241E05 #5A4B0D #8F7815 #C4A51D #E2C33C

Accessibility & contrast

On white

4.32
#8F7815 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#8F7815 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F7815
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F7815#FFFFFF#000000##000000
##8F78151.004.324.874.87
#FFFFFF4.321.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#867600
Deuteranopia (green-blind)
#8C7D1D
Tritanopia (blue-blind)
#9B6D66
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #8f7815;
/* rgb */ color: rgb(143, 120, 21);
/* oklch */ color: oklch(57.8% 0.112 94.6);
Tailwind
colors: {
  custom: {
    50: '#b49e5e',
    500: '#8f7815',
    950: '#000000',
  },
}
SCSS
$custom: #8f7815;
$custom-light: #b49e5e;
$custom-dark: #000000;
JSON
{
  "hex": "#8f7815",
  "rgb": {
    "r": 143,
    "g": 120,
    "b": 21
  },
  "hsl": {
    "h": 48.689,
    "s": 74.39,
    "l": 32.157
  },
  "oklch": {
    "l": 0.5779,
    "c": 0.1122,
    "h": 94.6
  },
  "luminance": 0.19327
}

Semantic roles & 50–950 ramp

primary
#8F7815
secondary
#3E57C2
accent
#5AF137
background
#FBF9F5
surface
#F6F2E9
border
#D0CCC5
text
#120E05
muted
#817E79

Preview Lab

Preview with #8F7815

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

Preview Lab → · Contrast checker → · Palette generator →

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