#8D7B2B#8D7B2B

#8D7B2B is a mid, moderate yellow. Relative luminance 0.200; OKLCH L 58.4% C 0.101 H 96.4°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#8D7B2B
RGBrgb(141, 123, 43)
HSLhsl(49, 53%, 36%)
HSVhsv(49, 70%, 55%)
CMYKcmyk(0%, 12.8%, 69.5%, 44.7%)
CIE-LABlab(51.84, -2.63, 44.54)
CIE-LCHlch(51.84, 44.62, 93.38°)
OKLaboklab(58.4% -0.0112 0.1002)
OKLCHoklch(58.4% 0.101 96.4)
XYZxyz(18.5044, 20.0040, 5.1715)
Luminance0.2000 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D7B2B #2B3D8D
analogous
#8D4A2B #8D7B2B #6E8D2B
triadic
#8D7B2B #2B8D7B #7B2B8D
tetradic
#8D7B2B #2B8D4A #2B3D8D #8D2B6E
square
#8D7B2B #2B8D4A #2B3D8D #8D2B6E
split-complementary
#8D7B2B #2B6E8D #4A2B8D
monochromatic
#2F290E #5E521D #8D7B2B #BCA439 #CFBC63

Accessibility & contrast

On white

4.20
#8D7B2B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#8D7B2B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D7B2B
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D7B2B#FFFFFF#000000##000000
##8D7B2B1.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#877821
Deuteranopia (green-blind)
#8C7E2F
Tritanopia (blue-blind)
#98726A
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #8d7b2b;
/* rgb */ color: rgb(141, 123, 43);
/* oklch */ color: oklch(58.4% 0.101 96.4);
Tailwind
colors: {
  custom: {
    50: '#b1a069',
    500: '#8d7b2b',
    950: '#000000',
  },
}
SCSS
$custom: #8d7b2b;
$custom-light: #b1a069;
$custom-dark: #000000;
JSON
{
  "hex": "#8d7b2b",
  "rgb": {
    "r": 141,
    "g": 123,
    "b": 43
  },
  "hsl": {
    "h": 48.98,
    "s": 53.261,
    "l": 36.078
  },
  "oklch": {
    "l": 0.58398,
    "c": 0.10084,
    "h": 96.4
  },
  "luminance": 0.20003
}

Semantic roles & 50–950 ramp

primary
#8D7B2B
secondary
#5E6EB6
accent
#66DD4B
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E06
muted
#807E7A

Preview Lab

Preview with #8D7B2B

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

Preview Lab → · Contrast checker → · Palette generator →

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