#8D7D2B#8D7D2B

#8D7D2B is a mid, moderate yellow. Relative luminance 0.205; OKLCH L 58.8% C 0.102 H 98.1°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#8D7D2B
RGBrgb(141, 125, 43)
HSLhsl(50, 53%, 36%)
HSVhsv(50, 70%, 55%)
CMYKcmyk(0%, 11.3%, 69.5%, 44.7%)
CIE-LABlab(52.40, -3.75, 45.12)
CIE-LCHlch(52.40, 45.28, 94.75°)
OKLaboklab(58.84% -0.0144 0.1014)
OKLCHoklch(58.84% 0.102 98.1)
XYZxyz(18.7550, 20.5053, 5.2551)
Luminance0.2050 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D7D2B #2B3B8D
analogous
#8D4C2B #8D7D2B #6C8D2B
triadic
#8D7D2B #2B8D7D #7D2B8D
tetradic
#8D7D2B #2B8D4C #2B3B8D #8D2B6C
square
#8D7D2B #2B8D4C #2B3B8D #8D2B6C
split-complementary
#8D7D2B #2B6C8D #4C2B8D
monochromatic
#2F2A0E #5E531D #8D7D2B #BCA739 #CFBE63

Accessibility & contrast

On white

4.12
#8D7D2B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#8D7D2B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D7D2B
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D7D2B#FFFFFF#000000##000000
##8D7D2B1.004.125.105.10
#FFFFFF4.121.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#897A20
Deuteranopia (green-blind)
#8E7F30
Tritanopia (blue-blind)
#98746C
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #8d7d2b;
/* rgb */ color: rgb(141, 125, 43);
/* oklch */ color: oklch(58.8% 0.102 98.1);
Tailwind
colors: {
  custom: {
    50: '#b1a269',
    500: '#8d7d2b',
    950: '#000000',
  },
}
SCSS
$custom: #8d7d2b;
$custom-light: #b1a269;
$custom-dark: #000000;
JSON
{
  "hex": "#8d7d2b",
  "rgb": {
    "r": 141,
    "g": 125,
    "b": 43
  },
  "hsl": {
    "h": 50.204,
    "s": 53.261,
    "l": 36.078
  },
  "oklch": {
    "l": 0.58843,
    "c": 0.10245,
    "h": 98.1
  },
  "luminance": 0.20504
}

Semantic roles & 50–950 ramp

primary
#8D7D2B
secondary
#5E6CB6
accent
#63DD4B
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110F06
muted
#807E7A

Preview Lab

Preview with #8D7D2B

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

Preview Lab → · Contrast checker → · Palette generator →

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