#8D7518#8D7518

#8D7518 is a mid, moderate yellow. Relative luminance 0.185; OKLCH L 56.9% C 0.109 H 93.3°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#8D7518
RGBrgb(141, 117, 24)
HSLhsl(48, 71%, 32%)
HSVhsv(48, 83%, 55%)
CMYKcmyk(0%, 17%, 83%, 44.7%)
CIE-LABlab(50.04, -0.14, 50.25)
CIE-LCHlch(50.04, 50.25, 90.16°)
OKLaboklab(56.93% -0.0062 0.1085)
OKLCHoklch(56.93% 0.109 93.3)
XYZxyz(17.5117, 18.4523, 3.5033)
Luminance0.1845 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D7518 #18308D
analogous
#8D3A18 #8D7518 #6B8D18
triadic
#8D7518 #188D75 #75188D
tetradic
#8D7518 #188D3A #18308D #8D186B
square
#8D7518 #188D3A #18308D #8D186B
split-complementary
#8D7518 #186B8D #3A188D
monochromatic
#241E06 #594A0F #8D7518 #C1A021 #DFBE41

Accessibility & contrast

On white

4.48
#8D7518 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#8D7518 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D7518
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D7518#FFFFFF#000000##000000
##8D75181.004.484.694.69
#FFFFFF4.481.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#837300
Deuteranopia (green-blind)
#897A1F
Tritanopia (blue-blind)
#996B64
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #8d7518;
/* rgb */ color: rgb(141, 117, 24);
/* oklch */ color: oklch(56.9% 0.109 93.3);
Tailwind
colors: {
  custom: {
    50: '#b29c5e',
    500: '#8d7518',
    950: '#000000',
  },
}
SCSS
$custom: #8d7518;
$custom-light: #b29c5e;
$custom-dark: #000000;
JSON
{
  "hex": "#8d7518",
  "rgb": {
    "r": 141,
    "g": 117,
    "b": 24
  },
  "hsl": {
    "h": 47.692,
    "s": 70.909,
    "l": 32.353
  },
  "oklch": {
    "l": 0.56933,
    "c": 0.10866,
    "h": 93.3
  },
  "luminance": 0.18451
}

Semantic roles & 50–950 ramp

primary
#8D7518
secondary
#425BBF
accent
#5FEE3A
background
#FBF9F5
surface
#F6F2EA
border
#D0CCC6
text
#110E05
muted
#807E79

Preview Lab

Preview with #8D7518

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

Preview Lab → · Contrast checker → · Palette generator →

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