#8D7818#8D7818

#8D7818 is a mid, moderate yellow. Relative luminance 0.192; OKLCH L 57.6% C 0.111 H 95.7°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#8D7818
RGBrgb(141, 120, 24)
HSLhsl(49, 71%, 32%)
HSVhsv(49, 83%, 55%)
CMYKcmyk(0%, 14.9%, 83%, 44.7%)
CIE-LABlab(50.88, -1.84, 50.98)
CIE-LCHlch(50.88, 51.02, 92.07°)
OKLaboklab(57.6% -0.011 0.1101)
OKLCHoklch(57.6% 0.111 95.7)
XYZxyz(17.8668, 19.1626, 3.6217)
Luminance0.1916 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D7818 #182D8D
analogous
#8D3E18 #8D7818 #678D18
triadic
#8D7818 #188D78 #78188D
tetradic
#8D7818 #188D3E #182D8D #8D1867
square
#8D7818 #188D3E #182D8D #8D1867
split-complementary
#8D7818 #18678D #3E188D
monochromatic
#241F06 #594B0F #8D7818 #C1A521 #DFC241

Accessibility & contrast

On white

4.35
#8D7818 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#8D7818 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D7818
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D7818#FFFFFF#000000##000000
##8D78181.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#857500
Deuteranopia (green-blind)
#8B7C1F
Tritanopia (blue-blind)
#996E66
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #8d7818;
/* rgb */ color: rgb(141, 120, 24);
/* oklch */ color: oklch(57.6% 0.111 95.7);
Tailwind
colors: {
  custom: {
    50: '#b29e5f',
    500: '#8d7818',
    950: '#000000',
  },
}
SCSS
$custom: #8d7818;
$custom-light: #b29e5f;
$custom-dark: #000000;
JSON
{
  "hex": "#8d7818",
  "rgb": {
    "r": 141,
    "g": 120,
    "b": 24
  },
  "hsl": {
    "h": 49.231,
    "s": 70.909,
    "l": 32.353
  },
  "oklch": {
    "l": 0.57595,
    "c": 0.11062,
    "h": 95.7
  },
  "luminance": 0.19162
}

Semantic roles & 50–950 ramp

primary
#8D7818
secondary
#4258BF
accent
#5AEE3A
background
#FBF9F5
surface
#F6F2EA
border
#D0CCC6
text
#110E05
muted
#807E79

Preview Lab

Preview with #8D7818

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

Preview Lab → · Contrast checker → · Palette generator →

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