#8D7F2D#8D7F2D

#8D7F2D is a mid, moderate yellow. Relative luminance 0.210; OKLCH L 59.3% C 0.103 H 99.5°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#8D7F2D
RGBrgb(141, 127, 45)
HSLhsl(51, 52%, 36%)
HSVhsv(51, 68%, 55%)
CMYKcmyk(0%, 9.9%, 68.1%, 44.7%)
CIE-LABlab(52.98, -4.74, 44.84)
CIE-LCHlch(52.98, 45.09, 96.04°)
OKLaboklab(59.31% -0.017 0.1012)
OKLCHoklch(59.31% 0.103 99.5)
XYZxyz(19.0484, 21.0318, 5.5383)
Luminance0.2103 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D7F2D #2D3B8D
analogous
#8D4F2D #8D7F2D #6B8D2D
triadic
#8D7F2D #2D8D7F #7F2D8D
tetradic
#8D7F2D #2D8D4F #2D3B8D #8D2D6B
square
#8D7F2D #2D8D4F #2D3B8D #8D2D6B
split-complementary
#8D7F2D #2D6B8D #4F2D8D
monochromatic
#302B0F #5F551E #8D7F2D #BBA93C #CEBF66

Accessibility & contrast

On white

4.03
#8D7F2D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.21
#8D7F2D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D7F2D
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D7F2D#FFFFFF#000000##000000
##8D7F2D1.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7C22
Deuteranopia (green-blind)
#8F8132
Tritanopia (blue-blind)
#98766E
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #8d7f2d;
/* rgb */ color: rgb(141, 127, 45);
/* oklch */ color: oklch(59.3% 0.103 99.5);
Tailwind
colors: {
  custom: {
    50: '#b1a36a',
    500: '#8d7f2d',
    950: '#000000',
  },
}
SCSS
$custom: #8d7f2d;
$custom-light: #b1a36a;
$custom-dark: #000000;
JSON
{
  "hex": "#8d7f2d",
  "rgb": {
    "r": 141,
    "g": 127,
    "b": 45
  },
  "hsl": {
    "h": 51.25,
    "s": 51.613,
    "l": 36.471
  },
  "oklch": {
    "l": 0.59308,
    "c": 0.1026,
    "h": 99.5
  },
  "luminance": 0.21031
}

Semantic roles & 50–950 ramp

primary
#8D7F2D
secondary
#616DB5
accent
#61DB4D
background
#FBFAF6
surface
#F6F3EB
border
#D0CDC6
text
#110F07
muted
#807F7A

Preview Lab

Preview with #8D7F2D

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

Preview Lab → · Contrast checker → · Palette generator →

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