#8D7A24#8D7A24

#8D7A24 is a mid, moderate yellow. Relative luminance 0.197; OKLCH L 58.1% C 0.105 H 96.3°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#8D7A24
RGBrgb(141, 122, 36)
HSLhsl(49, 59%, 35%)
HSVhsv(49, 74%, 55%)
CMYKcmyk(0%, 13.5%, 74.5%, 44.7%)
CIE-LABlab(51.51, -2.46, 47.19)
CIE-LCHlch(51.51, 47.25, 92.98°)
OKLaboklab(58.12% -0.0115 0.1045)
OKLCHoklch(58.12% 0.105 96.3)
XYZxyz(18.2634, 19.7101, 4.5112)
Luminance0.1971 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D7A24 #24378D
analogous
#8D4624 #8D7A24 #6C8D24
triadic
#8D7A24 #248D7A #7A248D
tetradic
#8D7A24 #248D46 #24378D #8D246C
square
#8D7A24 #248D46 #24378D #8D246C
split-complementary
#8D7A24 #246C8D #46248D
monochromatic
#2B260B #5C5018 #8D7A24 #BEA430 #D4BE57

Accessibility & contrast

On white

4.25
#8D7A24 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#8D7A24 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D7A24
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D7A24#FFFFFF#000000##000000
##8D7A241.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#877716
Deuteranopia (green-blind)
#8C7D29
Tritanopia (blue-blind)
#997069
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #8d7a24;
/* rgb */ color: rgb(141, 122, 36);
/* oklch */ color: oklch(58.1% 0.105 96.3);
Tailwind
colors: {
  custom: {
    50: '#b2a065',
    500: '#8d7a24',
    950: '#000000',
  },
}
SCSS
$custom: #8d7a24;
$custom-light: #b2a065;
$custom-dark: #000000;
JSON
{
  "hex": "#8d7a24",
  "rgb": {
    "r": 141,
    "g": 122,
    "b": 36
  },
  "hsl": {
    "h": 49.143,
    "s": 59.322,
    "l": 34.706
  },
  "oklch": {
    "l": 0.58117,
    "c": 0.10512,
    "h": 96.3
  },
  "luminance": 0.19709
}

Semantic roles & 50–950 ramp

primary
#8D7A24
secondary
#5466B8
accent
#62E345
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E06
muted
#807E7A

Preview Lab

Preview with #8D7A24

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

Preview Lab → · Contrast checker → · Palette generator →

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