#8D7A2A#8D7A2A

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

Color values

HEX#8D7A2A
RGBrgb(141, 122, 42)
HSLhsl(48, 54%, 36%)
HSVhsv(48, 70%, 55%)
CMYKcmyk(0%, 13.5%, 70.2%, 44.7%)
CIE-LABlab(51.55, -2.13, 44.69)
CIE-LCHlch(51.55, 44.74, 92.73°)
OKLaboklab(58.17% -0.0099 0.1004)
OKLCHoklch(58.17% 0.101 95.6)
XYZxyz(18.3628, 19.7499, 5.0349)
Luminance0.1975 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D7A2A #2A3D8D
analogous
#8D482A #8D7A2A #6E8D2A
triadic
#8D7A2A #2A8D7A #7A2A8D
tetradic
#8D7A2A #2A8D48 #2A3D8D #8D2A6E
square
#8D7A2A #2A8D48 #2A3D8D #8D2A6E
split-complementary
#8D7A2A #2A6E8D #482A8D
monochromatic
#2F280E #5E511C #8D7A2A #BCA338 #D0BB61

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8D7A2A#FFFFFF#000000##000000
##8D7A2A1.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)
#87771F
Deuteranopia (green-blind)
#8B7D2E
Tritanopia (blue-blind)
#98716A
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #8d7a2a;
/* rgb */ color: rgb(141, 122, 42);
/* oklch */ color: oklch(58.2% 0.101 95.6);
Tailwind
colors: {
  custom: {
    50: '#b1a068',
    500: '#8d7a2a',
    950: '#000000',
  },
}
SCSS
$custom: #8d7a2a;
$custom-light: #b1a068;
$custom-dark: #000000;
JSON
{
  "hex": "#8d7a2a",
  "rgb": {
    "r": 141,
    "g": 122,
    "b": 42
  },
  "hsl": {
    "h": 48.485,
    "s": 54.098,
    "l": 35.882
  },
  "oklch": {
    "l": 0.58167,
    "c": 0.10083,
    "h": 95.6
  },
  "luminance": 0.19749
}

Semantic roles & 50–950 ramp

primary
#8D7A2A
secondary
#5D6EB6
accent
#67DD4A
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E06
muted
#807E7A

Preview Lab

Preview with #8D7A2A

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

Preview Lab → · Contrast checker → · Palette generator →

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