#8D7B1D#8D7B1D

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

Color values

HEX#8D7B1D
RGBrgb(141, 123, 29)
HSLhsl(50, 66%, 33%)
HSVhsv(50, 79%, 55%)
CMYKcmyk(0%, 12.8%, 79.4%, 44.7%)
CIE-LABlab(51.74, -3.34, 50.08)
CIE-LCHlch(51.74, 50.19, 93.81°)
OKLaboklab(58.29% -0.0148 0.1092)
OKLCHoklch(58.29% 0.11 97.7)
XYZxyz(18.2902, 19.9183, 4.0434)
Luminance0.1992 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D7B1D #1D2F8D
analogous
#8D431D #8D7B1D #678D1D
triadic
#8D7B1D #1D8D7B #7B1D8D
tetradic
#8D7B1D #1D8D43 #1D2F8D #8D1D67
square
#8D7B1D #1D8D43 #1D2F8D #8D1D67
split-complementary
#8D7B1D #1D678D #431D8D
monochromatic
#272208 #5A4F13 #8D7B1D #C0A727 #DAC34B

Accessibility & contrast

On white

4.21
#8D7B1D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##8D7B1D#FFFFFF#000000##000000
##8D7B1D1.004.214.984.98
#FFFFFF4.211.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8d7b1d;
/* rgb */ color: rgb(141, 123, 29);
/* oklch */ color: oklch(58.3% 0.110 97.7);
Tailwind
colors: {
  custom: {
    50: '#b2a061',
    500: '#8d7b1d',
    950: '#000000',
  },
}
SCSS
$custom: #8d7b1d;
$custom-light: #b2a061;
$custom-dark: #000000;
JSON
{
  "hex": "#8d7b1d",
  "rgb": {
    "r": 141,
    "g": 123,
    "b": 29
  },
  "hsl": {
    "h": 50.357,
    "s": 65.882,
    "l": 33.333
  },
  "oklch": {
    "l": 0.5829,
    "c": 0.11018,
    "h": 97.7
  },
  "luminance": 0.19917
}

Semantic roles & 50–950 ramp

primary
#8D7B1D
secondary
#4A5CBC
accent
#5AE93F
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E05
muted
#807E7A

Preview Lab

Preview with #8D7B1D

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

Preview Lab → · Contrast checker → · Palette generator →

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