#8D7D2A#8D7D2A

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

Color values

HEX#8D7D2A
RGBrgb(141, 125, 42)
HSLhsl(50, 54%, 36%)
HSVhsv(50, 70%, 55%)
CMYKcmyk(0%, 11.3%, 70.2%, 44.7%)
CIE-LABlab(52.40, -3.81, 45.55)
CIE-LCHlch(52.40, 45.71, 94.78°)
OKLaboklab(58.83% -0.0147 0.1022)
OKLCHoklch(58.83% 0.103 98.2)
XYZxyz(18.7369, 20.4980, 5.1596)
Luminance0.2050 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D7D2A #2A3A8D
analogous
#8D4B2A #8D7D2A #6B8D2A
triadic
#8D7D2A #2A8D7D #7D2A8D
tetradic
#8D7D2A #2A8D4B #2A3A8D #8D2A6B
square
#8D7D2A #2A8D4B #2A3A8D #8D2A6B
split-complementary
#8D7D2A #2A6B8D #4B2A8D
monochromatic
#2F290E #5E531C #8D7D2A #BCA738 #D0BE61

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8D7D2A#FFFFFF#000000##000000
##8D7D2A1.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)
#897A1F
Deuteranopia (green-blind)
#8E7F2F
Tritanopia (blue-blind)
#98746C
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #8d7d2a;
/* rgb */ color: rgb(141, 125, 42);
/* oklch */ color: oklch(58.8% 0.103 98.2);
Tailwind
colors: {
  custom: {
    50: '#b1a269',
    500: '#8d7d2a',
    950: '#000000',
  },
}
SCSS
$custom: #8d7d2a;
$custom-light: #b1a269;
$custom-dark: #000000;
JSON
{
  "hex": "#8d7d2a",
  "rgb": {
    "r": 141,
    "g": 125,
    "b": 42
  },
  "hsl": {
    "h": 50.303,
    "s": 54.098,
    "l": 35.882
  },
  "oklch": {
    "l": 0.58834,
    "c": 0.10322,
    "h": 98.2
  },
  "luminance": 0.20497
}

Semantic roles & 50–950 ramp

primary
#8D7D2A
secondary
#5D6BB6
accent
#62DD4A
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110F06
muted
#807E7A

Preview Lab

Preview with #8D7D2A

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

Preview Lab → · Contrast checker → · Palette generator →

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