#8D7318#8D7318

#8D7318 is a mid, moderate yellow. Relative luminance 0.180; OKLCH L 56.5% C 0.107 H 91.6°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#8D7318
RGBrgb(141, 115, 24)
HSLhsl(47, 71%, 32%)
HSVhsv(47, 83%, 55%)
CMYKcmyk(0%, 18.4%, 83%, 44.7%)
CIE-LABlab(49.49, 0.99, 49.76)
CIE-LCHlch(49.49, 49.77, 88.86°)
OKLaboklab(56.5% -0.003 0.1074)
OKLCHoklch(56.5% 0.107 91.6)
XYZxyz(17.2811, 17.9912, 3.4264)
Luminance0.1799 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D7318 #18328D
analogous
#8D3918 #8D7318 #6C8D18
triadic
#8D7318 #188D73 #73188D
tetradic
#8D7318 #188D39 #18328D #8D186C
square
#8D7318 #188D39 #18328D #8D186C
split-complementary
#8D7318 #186C8D #39188D
monochromatic
#241E06 #59480F #8D7318 #C19E21 #DFBC41

Accessibility & contrast

On white

4.57
#8D7318 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#8D7318 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D7318
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D7318#FFFFFF#000000##000000
##8D73181.004.574.604.60
#FFFFFF4.571.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#817101
Deuteranopia (green-blind)
#87791E
Tritanopia (blue-blind)
#996962
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #8d7318;
/* rgb */ color: rgb(141, 115, 24);
/* oklch */ color: oklch(56.5% 0.107 91.6);
Tailwind
colors: {
  custom: {
    50: '#b29a5e',
    500: '#8d7318',
    950: '#000000',
  },
}
SCSS
$custom: #8d7318;
$custom-light: #b29a5e;
$custom-dark: #000000;
JSON
{
  "hex": "#8d7318",
  "rgb": {
    "r": 141,
    "g": 115,
    "b": 24
  },
  "hsl": {
    "h": 46.667,
    "s": 70.909,
    "l": 32.353
  },
  "oklch": {
    "l": 0.56495,
    "c": 0.10746,
    "h": 91.6
  },
  "luminance": 0.1799
}

Semantic roles & 50–950 ramp

primary
#8D7318
secondary
#425DBF
accent
#62EE3A
background
#FBF9F5
surface
#F6F2E9
border
#D0CCC5
text
#120E05
muted
#817E79

Preview Lab

Preview with #8D7318

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

Preview Lab → · Contrast checker → · Palette generator →

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