#8D7018#8D7018

#8D7018 is a mid, moderate yellow. Relative luminance 0.173; OKLCH L 55.8% C 0.106 H 89.0°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#8D7018
RGBrgb(141, 112, 24)
HSLhsl(45, 71%, 32%)
HSVhsv(45, 83%, 55%)
CMYKcmyk(0%, 20.6%, 83%, 44.7%)
CIE-LABlab(48.66, 2.71, 49.03)
CIE-LCHlch(48.66, 49.11, 86.84°)
OKLaboklab(55.84% 0.0019 0.1058)
OKLCHoklch(55.84% 0.106 89)
XYZxyz(16.9446, 17.3182, 3.3142)
Luminance0.1732 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D7018 #18358D
analogous
#8D3518 #8D7018 #708D18
triadic
#8D7018 #188D70 #70188D
tetradic
#8D7018 #188D35 #18358D #8D1870
square
#8D7018 #188D35 #18358D #8D1870
split-complementary
#8D7018 #18708D #35188D
monochromatic
#241D06 #59460F #8D7018 #C19A21 #DFB741

Accessibility & contrast

On white

4.70
#8D7018 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#8D7018 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D7018
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D7018#FFFFFF#000000##FFFFFF
##8D70181.004.704.464.70
#FFFFFF4.701.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E6F03
Deuteranopia (green-blind)
#85771E
Tritanopia (blue-blind)
#996560
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #8d7018;
/* rgb */ color: rgb(141, 112, 24);
/* oklch */ color: oklch(55.8% 0.106 89.0);
Tailwind
colors: {
  custom: {
    50: '#b3985e',
    500: '#8d7018',
    950: '#000000',
  },
}
SCSS
$custom: #8d7018;
$custom-light: #b3985e;
$custom-dark: #000000;
JSON
{
  "hex": "#8d7018",
  "rgb": {
    "r": 141,
    "g": 112,
    "b": 24
  },
  "hsl": {
    "h": 45.128,
    "s": 70.909,
    "l": 32.353
  },
  "oklch": {
    "l": 0.55843,
    "c": 0.10586,
    "h": 89
  },
  "luminance": 0.17317
}

Semantic roles & 50–950 ramp

primary
#8D7018
secondary
#4261BF
accent
#67EE3A
background
#FBF9F5
surface
#F6F2E9
border
#D0CCC5
text
#120D05
muted
#817E79

Preview Lab

Preview with #8D7018

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

Preview Lab → · Contrast checker → · Palette generator →

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