#8D7118#8D7118

#8D7118 is a mid, moderate yellow. Relative luminance 0.175; OKLCH L 56.1% C 0.106 H 89.8°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#8D7118
RGBrgb(141, 113, 24)
HSLhsl(46, 71%, 32%)
HSVhsv(46, 83%, 55%)
CMYKcmyk(0%, 19.9%, 83%, 44.7%)
CIE-LABlab(48.93, 2.13, 49.28)
CIE-LCHlch(48.93, 49.32, 87.52°)
OKLaboklab(56.06% 0.0003 0.1064)
OKLCHoklch(56.06% 0.106 89.8)
XYZxyz(17.0556, 17.5401, 3.3512)
Luminance0.1754 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D7118 #18348D
analogous
#8D3718 #8D7118 #6F8D18
triadic
#8D7118 #188D71 #71188D
tetradic
#8D7118 #188D37 #18348D #8D186F
square
#8D7118 #188D37 #18348D #8D186F
split-complementary
#8D7118 #186F8D #37188D
monochromatic
#241D06 #59470F #8D7118 #C19B21 #DFB941

Accessibility & contrast

On white

4.66
#8D7118 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#8D7118 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #8D7118
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D7118#FFFFFF#000000##FFFFFF
##8D71181.004.664.514.66
#FFFFFF4.661.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7002
Deuteranopia (green-blind)
#86771E
Tritanopia (blue-blind)
#996660
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #8d7118;
/* rgb */ color: rgb(141, 113, 24);
/* oklch */ color: oklch(56.1% 0.106 89.8);
Tailwind
colors: {
  custom: {
    50: '#b3995e',
    500: '#8d7118',
    950: '#000000',
  },
}
SCSS
$custom: #8d7118;
$custom-light: #b3995e;
$custom-dark: #000000;
JSON
{
  "hex": "#8d7118",
  "rgb": {
    "r": 141,
    "g": 113,
    "b": 24
  },
  "hsl": {
    "h": 45.641,
    "s": 70.909,
    "l": 32.353
  },
  "oklch": {
    "l": 0.5606,
    "c": 0.10637,
    "h": 89.8
  },
  "luminance": 0.17539
}

Semantic roles & 50–950 ramp

primary
#8D7118
secondary
#4260BF
accent
#65EE3A
background
#FBF9F5
surface
#F6F2E9
border
#D0CCC5
text
#120D05
muted
#817E79

Preview Lab

Preview with #8D7118

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

Preview Lab → · Contrast checker → · Palette generator →

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