#8D7B10#8D7B10

#8D7B10 is a mid, moderate yellow. Relative luminance 0.199; OKLCH L 58.2% C 0.116 H 98.5°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#8D7B10
RGBrgb(141, 123, 16)
HSLhsl(51, 80%, 31%)
HSVhsv(51, 89%, 55%)
CMYKcmyk(0%, 12.8%, 88.7%, 44.7%)
CIE-LABlab(51.69, -3.76, 53.92)
CIE-LCHlch(51.69, 54.05, 93.99°)
OKLaboklab(58.23% -0.0171 0.1148)
OKLCHoklch(58.23% 0.116 98.5)
XYZxyz(18.1620, 19.8670, 3.3682)
Luminance0.1987 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D7B10 #10228D
analogous
#8D3C10 #8D7B10 #608D10
triadic
#8D7B10 #108D7B #7B108D
tetradic
#8D7B10 #108D3C #10228D #8D1060
square
#8D7B10 #108D3C #10228D #8D1060
split-complementary
#8D7B10 #10608D #3C108D
monochromatic
#1F1B04 #564B0A #8D7B10 #C4AB16 #E7CD30

Accessibility & contrast

On white

4.22
#8D7B10 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#8D7B10 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D7B10
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D7B10#FFFFFF#000000##000000
##8D7B101.004.224.974.97
#FFFFFF4.221.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#887800
Deuteranopia (green-blind)
#8D7E1A
Tritanopia (blue-blind)
#997168
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #8d7b10;
/* rgb */ color: rgb(141, 123, 16);
/* oklch */ color: oklch(58.2% 0.116 98.5);
Tailwind
colors: {
  custom: {
    50: '#b3a05c',
    500: '#8d7b10',
    950: '#000000',
  },
}
SCSS
$custom: #8d7b10;
$custom-light: #b3a05c;
$custom-dark: #000000;
JSON
{
  "hex": "#8d7b10",
  "rgb": {
    "r": 141,
    "g": 123,
    "b": 16
  },
  "hsl": {
    "h": 51.36,
    "s": 79.618,
    "l": 30.784
  },
  "oklch": {
    "l": 0.58225,
    "c": 0.11609,
    "h": 98.5
  },
  "luminance": 0.19866
}

Semantic roles & 50–950 ramp

primary
#8D7B10
secondary
#374BC2
accent
#4EF632
background
#FBF9F5
surface
#F6F2E9
border
#D0CCC5
text
#120E05
muted
#817E79

Preview Lab

Preview with #8D7B10

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

Preview Lab → · Contrast checker → · Palette generator →

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