#8D7C2A#8D7C2A

#8D7C2A is a mid, moderate yellow. Relative luminance 0.202; OKLCH L 58.6% C 0.102 H 97.3°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#8D7C2A
RGBrgb(141, 124, 42)
HSLhsl(50, 54%, 36%)
HSVhsv(50, 70%, 55%)
CMYKcmyk(0%, 12.1%, 70.2%, 44.7%)
CIE-LABlab(52.11, -3.25, 45.26)
CIE-LCHlch(52.11, 45.38, 94.11°)
OKLaboklab(58.61% -0.0131 0.1016)
OKLCHoklch(58.61% 0.102 97.3)
XYZxyz(18.6110, 20.2461, 5.1176)
Luminance0.2024 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D7C2A #2A3B8D
analogous
#8D4A2A #8D7C2A #6C8D2A
triadic
#8D7C2A #2A8D7C #7C2A8D
tetradic
#8D7C2A #2A8D4A #2A3B8D #8D2A6C
square
#8D7C2A #2A8D4A #2A3B8D #8D2A6C
split-complementary
#8D7C2A #2A6C8D #4A2A8D
monochromatic
#2F290E #5E531C #8D7C2A #BCA538 #D0BD61

Accessibility & contrast

On white

4.16
#8D7C2A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#8D7C2A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D7C2A
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D7C2A#FFFFFF#000000##000000
##8D7C2A1.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#88791F
Deuteranopia (green-blind)
#8D7F2F
Tritanopia (blue-blind)
#98736B
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #8d7c2a;
/* rgb */ color: rgb(141, 124, 42);
/* oklch */ color: oklch(58.6% 0.102 97.3);
Tailwind
colors: {
  custom: {
    50: '#b1a168',
    500: '#8d7c2a',
    950: '#000000',
  },
}
SCSS
$custom: #8d7c2a;
$custom-light: #b1a168;
$custom-dark: #000000;
JSON
{
  "hex": "#8d7c2a",
  "rgb": {
    "r": 141,
    "g": 124,
    "b": 42
  },
  "hsl": {
    "h": 49.697,
    "s": 54.098,
    "l": 35.882
  },
  "oklch": {
    "l": 0.58611,
    "c": 0.1024,
    "h": 97.3
  },
  "luminance": 0.20245
}

Semantic roles & 50–950 ramp

primary
#8D7C2A
secondary
#5D6CB6
accent
#64DD4A
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E06
muted
#807E7A

Preview Lab

Preview with #8D7C2A

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

Preview Lab → · Contrast checker → · Palette generator →

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