#8D7815#8D7815

#8D7815 is a mid, moderate yellow. Relative luminance 0.192; OKLCH L 57.6% C 0.112 H 95.9°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#8D7815
RGBrgb(141, 120, 21)
HSLhsl(50, 74%, 32%)
HSVhsv(50, 85%, 55%)
CMYKcmyk(0%, 14.9%, 85.1%, 44.7%)
CIE-LABlab(50.86, -1.94, 51.89)
CIE-LCHlch(50.86, 51.93, 92.14°)
OKLaboklab(57.58% -0.0115 0.1114)
OKLCHoklch(57.58% 0.112 95.9)
XYZxyz(17.8373, 19.1508, 3.4663)
Luminance0.1915 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D7815 #152A8D
analogous
#8D3C15 #8D7815 #668D15
triadic
#8D7815 #158D78 #78158D
tetradic
#8D7815 #158D3C #152A8D #8D1566
square
#8D7815 #158D3C #152A8D #8D1566
split-complementary
#8D7815 #15668D #3C158D
monochromatic
#221D05 #584B0D #8D7815 #C2A51D #E2C53B

Accessibility & contrast

On white

4.35
#8D7815 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#8D7815 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D7815
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D7815#FFFFFF#000000##000000
##8D78151.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#867500
Deuteranopia (green-blind)
#8B7C1D
Tritanopia (blue-blind)
#996E66
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #8d7815;
/* rgb */ color: rgb(141, 120, 21);
/* oklch */ color: oklch(57.6% 0.112 95.9);
Tailwind
colors: {
  custom: {
    50: '#b29e5e',
    500: '#8d7815',
    950: '#000000',
  },
}
SCSS
$custom: #8d7815;
$custom-light: #b29e5e;
$custom-dark: #000000;
JSON
{
  "hex": "#8d7815",
  "rgb": {
    "r": 141,
    "g": 120,
    "b": 21
  },
  "hsl": {
    "h": 49.5,
    "s": 74.074,
    "l": 31.765
  },
  "oklch": {
    "l": 0.57579,
    "c": 0.112,
    "h": 95.9
  },
  "luminance": 0.1915
}

Semantic roles & 50–950 ramp

primary
#8D7815
secondary
#3D54C1
accent
#58F137
background
#FBF9F5
surface
#F6F2E9
border
#D0CCC5
text
#120E05
muted
#817E79

Preview Lab

Preview with #8D7815

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

Preview Lab → · Contrast checker → · Palette generator →

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