#8D7A2D#8D7A2D

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

Color values

HEX#8D7A2D
RGBrgb(141, 122, 45)
HSLhsl(48, 52%, 36%)
HSVhsv(48, 68%, 55%)
CMYKcmyk(0%, 13.5%, 68.1%, 44.7%)
CIE-LABlab(51.58, -1.95, 43.36)
CIE-LCHlch(51.58, 43.40, 92.57°)
OKLaboklab(58.19% -0.009 0.0981)
OKLCHoklch(58.19% 0.098 95.2)
XYZxyz(18.4186, 19.7722, 5.3284)
Luminance0.1977 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D7A2D #2D408D
analogous
#8D4A2D #8D7A2D #708D2D
triadic
#8D7A2D #2D8D7A #7A2D8D
tetradic
#8D7A2D #2D8D4A #2D408D #8D2D70
square
#8D7A2D #2D8D4A #2D408D #8D2D70
split-complementary
#8D7A2D #2D708D #4A2D8D
monochromatic
#302A0F #5F521E #8D7A2D #BBA23C #CEBA66

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8D7A2D#FFFFFF#000000##000000
##8D7A2D1.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)
#867723
Deuteranopia (green-blind)
#8B7D31
Tritanopia (blue-blind)
#98716A
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #8d7a2d;
/* rgb */ color: rgb(141, 122, 45);
/* oklch */ color: oklch(58.2% 0.098 95.2);
Tailwind
colors: {
  custom: {
    50: '#b1a06a',
    500: '#8d7a2d',
    950: '#000000',
  },
}
SCSS
$custom: #8d7a2d;
$custom-light: #b1a06a;
$custom-dark: #000000;
JSON
{
  "hex": "#8d7a2d",
  "rgb": {
    "r": 141,
    "g": 122,
    "b": 45
  },
  "hsl": {
    "h": 48.125,
    "s": 51.613,
    "l": 36.471
  },
  "oklch": {
    "l": 0.58195,
    "c": 0.09848,
    "h": 95.2
  },
  "luminance": 0.19771
}

Semantic roles & 50–950 ramp

primary
#8D7A2D
secondary
#6172B5
accent
#69DB4D
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E07
muted
#807E7A

Preview Lab

Preview with #8D7A2D

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

Preview Lab → · Contrast checker → · Palette generator →

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