#8D7014#8D7014

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

Color values

HEX#8D7014
RGBrgb(141, 112, 20)
HSLhsl(46, 75%, 32%)
HSVhsv(46, 86%, 55%)
CMYKcmyk(0%, 20.6%, 85.8%, 44.7%)
CIE-LABlab(48.64, 2.58, 50.30)
CIE-LCHlch(48.64, 50.37, 87.07°)
OKLaboklab(55.82% 0.0012 0.1077)
OKLCHoklch(55.82% 0.108 89.4)
XYZxyz(16.9060, 17.3027, 3.1110)
Luminance0.1730 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D7014 #14318D
analogous
#8D3414 #8D7014 #6E8D14
triadic
#8D7014 #148D70 #70148D
tetradic
#8D7014 #148D34 #14318D #8D146E
square
#8D7014 #148D34 #14318D #8D146E
split-complementary
#8D7014 #146E8D #34148D
monochromatic
#221B05 #57450C #8D7014 #C39B1C #E3BA39

Accessibility & contrast

On white

4.71
#8D7014 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #8D7014
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D7014#FFFFFF#000000##FFFFFF
##8D70141.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E6F00
Deuteranopia (green-blind)
#85771A
Tritanopia (blue-blind)
#99655F
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #8d7014;
/* rgb */ color: rgb(141, 112, 20);
/* oklch */ color: oklch(55.8% 0.108 89.4);
Tailwind
colors: {
  custom: {
    50: '#b3985c',
    500: '#8d7014',
    950: '#000000',
  },
}
SCSS
$custom: #8d7014;
$custom-light: #b3985c;
$custom-dark: #000000;
JSON
{
  "hex": "#8d7014",
  "rgb": {
    "r": 141,
    "g": 112,
    "b": 20
  },
  "hsl": {
    "h": 45.62,
    "s": 75.155,
    "l": 31.569
  },
  "oklch": {
    "l": 0.55822,
    "c": 0.10771,
    "h": 89.4
  },
  "luminance": 0.17302
}

Semantic roles & 50–950 ramp

primary
#8D7014
secondary
#3C5CC1
accent
#63F236
background
#FBF9F5
surface
#F6F2E9
border
#D0CCC5
text
#120D04
muted
#817E79

Preview Lab

Preview with #8D7014

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

Preview Lab → · Contrast checker → · Palette generator →

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