#8D7010#8D7010

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

Color values

HEX#8D7010
RGBrgb(141, 112, 16)
HSLhsl(46, 80%, 31%)
HSVhsv(46, 89%, 55%)
CMYKcmyk(0%, 20.6%, 88.7%, 44.7%)
CIE-LABlab(48.62, 2.46, 51.43)
CIE-LCHlch(48.62, 51.49, 87.26°)
OKLaboklab(55.8% 0.0005 0.1093)
OKLCHoklch(55.8% 0.109 89.7)
XYZxyz(16.8733, 17.2896, 2.9386)
Luminance0.1729 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D7010 #102D8D
analogous
#8D3110 #8D7010 #6B8D10
triadic
#8D7010 #108D70 #70108D
tetradic
#8D7010 #108D31 #102D8D #8D106B
square
#8D7010 #108D31 #102D8D #8D106B
split-complementary
#8D7010 #106B8D #31108D
monochromatic
#1F1904 #56440A #8D7010 #C49C16 #E7BD30

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8D7010#FFFFFF#000000##FFFFFF
##8D70101.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)
#857717
Tritanopia (blue-blind)
#9A655F
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #8d7010;
/* rgb */ color: rgb(141, 112, 16);
/* oklch */ color: oklch(55.8% 0.109 89.7);
Tailwind
colors: {
  custom: {
    50: '#b3985a',
    500: '#8d7010',
    950: '#000000',
  },
}
SCSS
$custom: #8d7010;
$custom-light: #b3985a;
$custom-dark: #000000;
JSON
{
  "hex": "#8d7010",
  "rgb": {
    "r": 141,
    "g": 112,
    "b": 16
  },
  "hsl": {
    "h": 46.08,
    "s": 79.618,
    "l": 30.784
  },
  "oklch": {
    "l": 0.55804,
    "c": 0.10929,
    "h": 89.7
  },
  "luminance": 0.17288
}

Semantic roles & 50–950 ramp

primary
#8D7010
secondary
#3757C2
accent
#5FF632
background
#FBF9F5
surface
#F6F2E9
border
#D0CCC5
text
#120D04
muted
#817E79

Preview Lab

Preview with #8D7010

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

Preview Lab → · Contrast checker → · Palette generator →

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