#8D7418#8D7418

#8D7418 is a mid, moderate yellow. Relative luminance 0.182; OKLCH L 56.7% C 0.108 H 92.4°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#8D7418
RGBrgb(141, 116, 24)
HSLhsl(47, 71%, 32%)
HSVhsv(47, 83%, 55%)
CMYKcmyk(0%, 17.7%, 83%, 44.7%)
CIE-LABlab(49.76, 0.42, 50.01)
CIE-LCHlch(49.76, 50.01, 89.51°)
OKLaboklab(56.71% -0.0046 0.108)
OKLCHoklch(56.71% 0.108 92.4)
XYZxyz(17.3958, 18.2205, 3.4646)
Luminance0.1822 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D7418 #18318D
analogous
#8D3918 #8D7418 #6C8D18
triadic
#8D7418 #188D74 #74188D
tetradic
#8D7418 #188D39 #18318D #8D186C
square
#8D7418 #188D39 #18318D #8D186C
split-complementary
#8D7418 #186C8D #39188D
monochromatic
#241E06 #59490F #8D7418 #C19F21 #DFBD41

Accessibility & contrast

On white

4.52
#8D7418 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#8D7418 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D7418
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D7418#FFFFFF#000000##000000
##8D74181.004.524.644.64
#FFFFFF4.521.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#827201
Deuteranopia (green-blind)
#88791E
Tritanopia (blue-blind)
#996A63
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #8d7418;
/* rgb */ color: rgb(141, 116, 24);
/* oklch */ color: oklch(56.7% 0.108 92.4);
Tailwind
colors: {
  custom: {
    50: '#b29b5e',
    500: '#8d7418',
    950: '#000000',
  },
}
SCSS
$custom: #8d7418;
$custom-light: #b29b5e;
$custom-dark: #000000;
JSON
{
  "hex": "#8d7418",
  "rgb": {
    "r": 141,
    "g": 116,
    "b": 24
  },
  "hsl": {
    "h": 47.179,
    "s": 70.909,
    "l": 32.353
  },
  "oklch": {
    "l": 0.56714,
    "c": 0.10805,
    "h": 92.4
  },
  "luminance": 0.18219
}

Semantic roles & 50–950 ramp

primary
#8D7418
secondary
#425CBF
accent
#60EE3A
background
#FBF9F5
surface
#F6F2E9
border
#D0CCC5
text
#120E05
muted
#817E79

Preview Lab

Preview with #8D7418

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

Preview Lab → · Contrast checker → · Palette generator →

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