#8D7918#8D7918

#8D7918 is a mid, moderate yellow. Relative luminance 0.194; OKLCH L 57.8% C 0.111 H 96.5°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#8D7918
RGBrgb(141, 121, 24)
HSLhsl(50, 71%, 32%)
HSVhsv(50, 83%, 55%)
CMYKcmyk(0%, 14.2%, 83%, 44.7%)
CIE-LABlab(51.16, -2.40, 51.23)
CIE-LCHlch(51.16, 51.29, 92.69°)
OKLaboklab(57.82% -0.0126 0.1106)
OKLCHoklch(57.82% 0.111 96.5)
XYZxyz(17.9877, 19.4044, 3.6620)
Luminance0.1940 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D7918 #182C8D
analogous
#8D3F18 #8D7918 #668D18
triadic
#8D7918 #188D79 #79188D
tetradic
#8D7918 #188D3F #182C8D #8D1866
square
#8D7918 #188D3F #182C8D #8D1866
split-complementary
#8D7918 #18668D #3F188D
monochromatic
#241F06 #594C0F #8D7918 #C1A621 #DFC441

Accessibility & contrast

On white

4.30
#8D7918 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#8D7918 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D7918
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D7918#FFFFFF#000000##000000
##8D79181.004.304.884.88
#FFFFFF4.301.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#867600
Deuteranopia (green-blind)
#8C7D1F
Tritanopia (blue-blind)
#996F67
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #8d7918;
/* rgb */ color: rgb(141, 121, 24);
/* oklch */ color: oklch(57.8% 0.111 96.5);
Tailwind
colors: {
  custom: {
    50: '#b29f5f',
    500: '#8d7918',
    950: '#000000',
  },
}
SCSS
$custom: #8d7918;
$custom-light: #b29f5f;
$custom-dark: #000000;
JSON
{
  "hex": "#8d7918",
  "rgb": {
    "r": 141,
    "g": 121,
    "b": 24
  },
  "hsl": {
    "h": 49.744,
    "s": 70.909,
    "l": 32.353
  },
  "oklch": {
    "l": 0.57816,
    "c": 0.11132,
    "h": 96.5
  },
  "luminance": 0.19403
}

Semantic roles & 50–950 ramp

primary
#8D7918
secondary
#4257BF
accent
#59EE3A
background
#FBF9F5
surface
#F6F2EA
border
#D0CCC6
text
#110E05
muted
#807E79

Preview Lab

Preview with #8D7918

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

Preview Lab → · Contrast checker → · Palette generator →

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