#8D7F1D#8D7F1D

#8D7F1D is a mid, moderate yellow. Relative luminance 0.209; OKLCH L 59.2% C 0.113 H 100.7°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#8D7F1D
RGBrgb(141, 127, 29)
HSLhsl(53, 66%, 33%)
HSVhsv(53, 79%, 55%)
CMYKcmyk(0%, 9.9%, 79.4%, 44.7%)
CIE-LABlab(52.87, -5.56, 51.11)
CIE-LCHlch(52.87, 51.41, 96.21°)
OKLaboklab(59.19% -0.0211 0.1114)
OKLCHoklch(59.19% 0.113 100.7)
XYZxyz(18.7966, 20.9311, 4.2122)
Luminance0.2093 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D7F1D #1D2B8D
analogous
#8D471D #8D7F1D #638D1D
triadic
#8D7F1D #1D8D7F #7F1D8D
tetradic
#8D7F1D #1D8D47 #1D2B8D #8D1D63
square
#8D7F1D #1D8D47 #1D2B8D #8D1D63
split-complementary
#8D7F1D #1D638D #471D8D
monochromatic
#272408 #5A5113 #8D7F1D #C0AD27 #DAC84B

Accessibility & contrast

On white

4.05
#8D7F1D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.19
#8D7F1D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D7F1D
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D7F1D#FFFFFF#000000##000000
##8D7F1D1.004.055.195.19
#FFFFFF4.051.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7B06
Deuteranopia (green-blind)
#908124
Tritanopia (blue-blind)
#98756D
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #8d7f1d;
/* rgb */ color: rgb(141, 127, 29);
/* oklch */ color: oklch(59.2% 0.113 100.7);
Tailwind
colors: {
  custom: {
    50: '#b2a362',
    500: '#8d7f1d',
    950: '#000000',
  },
}
SCSS
$custom: #8d7f1d;
$custom-light: #b2a362;
$custom-dark: #000000;
JSON
{
  "hex": "#8d7f1d",
  "rgb": {
    "r": 141,
    "g": 127,
    "b": 29
  },
  "hsl": {
    "h": 52.5,
    "s": 65.882,
    "l": 33.333
  },
  "oklch": {
    "l": 0.59186,
    "c": 0.11336,
    "h": 100.7
  },
  "luminance": 0.2093
}

Semantic roles & 50–950 ramp

primary
#8D7F1D
secondary
#4A58BC
accent
#54E93F
background
#FBFAF6
surface
#F6F3EB
border
#D0CDC6
text
#110F05
muted
#807F7A

Preview Lab

Preview with #8D7F1D

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

Preview Lab → · Contrast checker → · Palette generator →

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