#8D7A2B#8D7A2B

#8D7A2B is a mid, moderate yellow. Relative luminance 0.198; OKLCH L 58.2% C 0.100 H 95.5°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#8D7A2B
RGBrgb(141, 122, 43)
HSLhsl(48, 53%, 36%)
HSVhsv(48, 70%, 55%)
CMYKcmyk(0%, 13.5%, 69.5%, 44.7%)
CIE-LABlab(51.56, -2.07, 44.25)
CIE-LCHlch(51.56, 44.30, 92.68°)
OKLaboklab(58.18% -0.0096 0.0996)
OKLCHoklch(58.18% 0.1 95.5)
XYZxyz(18.3810, 19.7572, 5.1304)
Luminance0.1976 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D7A2B #2B3E8D
analogous
#8D492B #8D7A2B #6F8D2B
triadic
#8D7A2B #2B8D7A #7A2B8D
tetradic
#8D7A2B #2B8D49 #2B3E8D #8D2B6F
square
#8D7A2B #2B8D49 #2B3E8D #8D2B6F
split-complementary
#8D7A2B #2B6F8D #492B8D
monochromatic
#2F290E #5E511D #8D7A2B #BCA339 #CFBA63

Accessibility & contrast

On white

4.24
#8D7A2B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#8D7A2B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D7A2B
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D7A2B#FFFFFF#000000##000000
##8D7A2B1.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#877721
Deuteranopia (green-blind)
#8B7D2F
Tritanopia (blue-blind)
#98716A
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #8d7a2b;
/* rgb */ color: rgb(141, 122, 43);
/* oklch */ color: oklch(58.2% 0.100 95.5);
Tailwind
colors: {
  custom: {
    50: '#b1a069',
    500: '#8d7a2b',
    950: '#000000',
  },
}
SCSS
$custom: #8d7a2b;
$custom-light: #b1a069;
$custom-dark: #000000;
JSON
{
  "hex": "#8d7a2b",
  "rgb": {
    "r": 141,
    "g": 122,
    "b": 43
  },
  "hsl": {
    "h": 48.367,
    "s": 53.261,
    "l": 36.078
  },
  "oklch": {
    "l": 0.58176,
    "c": 0.10006,
    "h": 95.5
  },
  "luminance": 0.19756
}

Semantic roles & 50–950 ramp

primary
#8D7A2B
secondary
#5E6FB6
accent
#67DD4B
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E06
muted
#807E7A

Preview Lab

Preview with #8D7A2B

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

Preview Lab → · Contrast checker → · Palette generator →

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