#8D7C2B#8D7C2B

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

Color values

HEX#8D7C2B
RGBrgb(141, 124, 43)
HSLhsl(50, 53%, 36%)
HSVhsv(50, 70%, 55%)
CMYKcmyk(0%, 12.1%, 69.5%, 44.7%)
CIE-LABlab(52.12, -3.19, 44.83)
CIE-LCHlch(52.12, 44.94, 94.07°)
OKLaboklab(58.62% -0.0128 0.1008)
OKLCHoklch(58.62% 0.102 97.2)
XYZxyz(18.6291, 20.2534, 5.2131)
Luminance0.2025 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D7C2B #2B3C8D
analogous
#8D4B2B #8D7C2B #6D8D2B
triadic
#8D7C2B #2B8D7C #7C2B8D
tetradic
#8D7C2B #2B8D4B #2B3C8D #8D2B6D
square
#8D7C2B #2B8D4B #2B3C8D #8D2B6D
split-complementary
#8D7C2B #2B6D8D #4B2B8D
monochromatic
#2F2A0E #5E531D #8D7C2B #BCA539 #CFBD63

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8D7C2B#FFFFFF#000000##000000
##8D7C2B1.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)
#887920
Deuteranopia (green-blind)
#8D7F2F
Tritanopia (blue-blind)
#98736B
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #8d7c2b;
/* rgb */ color: rgb(141, 124, 43);
/* oklch */ color: oklch(58.6% 0.102 97.2);
Tailwind
colors: {
  custom: {
    50: '#b1a169',
    500: '#8d7c2b',
    950: '#000000',
  },
}
SCSS
$custom: #8d7c2b;
$custom-light: #b1a169;
$custom-dark: #000000;
JSON
{
  "hex": "#8d7c2b",
  "rgb": {
    "r": 141,
    "g": 124,
    "b": 43
  },
  "hsl": {
    "h": 49.592,
    "s": 53.261,
    "l": 36.078
  },
  "oklch": {
    "l": 0.5862,
    "c": 0.10164,
    "h": 97.2
  },
  "luminance": 0.20252
}

Semantic roles & 50–950 ramp

primary
#8D7C2B
secondary
#5E6DB6
accent
#64DD4B
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E06
muted
#807E7A

Preview Lab

Preview with #8D7C2B

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

Preview Lab → · Contrast checker → · Palette generator →

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