#8D7B16#8D7B16

#8D7B16 is a mid, moderate yellow. Relative luminance 0.199; OKLCH L 58.3% C 0.114 H 98.2°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#8D7B16
RGBrgb(141, 123, 22)
HSLhsl(51, 73%, 32%)
HSVhsv(51, 84%, 55%)
CMYKcmyk(0%, 12.8%, 84.4%, 44.7%)
CIE-LABlab(51.71, -3.59, 52.32)
CIE-LCHlch(51.71, 52.45, 93.93°)
OKLaboklab(58.25% -0.0161 0.1126)
OKLCHoklch(58.25% 0.114 98.2)
XYZxyz(18.2133, 19.8875, 3.6382)
Luminance0.1989 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D7B16 #16288D
analogous
#8D3F16 #8D7B16 #648D16
triadic
#8D7B16 #168D7B #7B168D
tetradic
#8D7B16 #168D3F #16288D #8D1664
square
#8D7B16 #168D3F #16288D #8D1664
split-complementary
#8D7B16 #16648D #3F168D
monochromatic
#231F05 #584D0E #8D7B16 #C2A91E #E1C83D

Accessibility & contrast

On white

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

On black

4.98
#8D7B16 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D7B16
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D7B16#FFFFFF#000000##000000
##8D7B161.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8d7b16;
/* rgb */ color: rgb(141, 123, 22);
/* oklch */ color: oklch(58.3% 0.114 98.2);
Tailwind
colors: {
  custom: {
    50: '#b2a05e',
    500: '#8d7b16',
    950: '#000000',
  },
}
SCSS
$custom: #8d7b16;
$custom-light: #b2a05e;
$custom-dark: #000000;
JSON
{
  "hex": "#8d7b16",
  "rgb": {
    "r": 141,
    "g": 123,
    "b": 22
  },
  "hsl": {
    "h": 50.924,
    "s": 73.006,
    "l": 31.961
  },
  "oklch": {
    "l": 0.58251,
    "c": 0.1137,
    "h": 98.2
  },
  "luminance": 0.19887
}

Semantic roles & 50–950 ramp

primary
#8D7B16
secondary
#3E52C1
accent
#54F038
background
#FBF9F5
surface
#F6F2EA
border
#D0CCC6
text
#110E05
muted
#807E79

Preview Lab

Preview with #8D7B16

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

Preview Lab → · Contrast checker → · Palette generator →

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