#8D7E24#8D7E24

#8D7E24 is a mid, moderate yellow. Relative luminance 0.207; OKLCH L 59.0% C 0.108 H 99.5°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#8D7E24
RGBrgb(141, 126, 36)
HSLhsl(51, 59%, 35%)
HSVhsv(51, 74%, 55%)
CMYKcmyk(0%, 10.6%, 74.5%, 44.7%)
CIE-LABlab(52.63, -4.69, 48.28)
CIE-LCHlch(52.63, 48.51, 95.55°)
OKLaboklab(59.01% -0.0179 0.1068)
OKLCHoklch(59.01% 0.108 99.5)
XYZxyz(18.7647, 20.7127, 4.6783)
Luminance0.2071 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D7E24 #24338D
analogous
#8D4A24 #8D7E24 #678D24
triadic
#8D7E24 #248D7E #7E248D
tetradic
#8D7E24 #248D4A #24338D #8D2467
square
#8D7E24 #248D4A #24338D #8D2467
split-complementary
#8D7E24 #24678D #4A248D
monochromatic
#2B270B #5C5218 #8D7E24 #BEAA30 #D4C257

Accessibility & contrast

On white

4.08
#8D7E24 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.14
#8D7E24 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D7E24
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D7E24#FFFFFF#000000##000000
##8D7E241.004.085.145.14
#FFFFFF4.081.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7A15
Deuteranopia (green-blind)
#8F802A
Tritanopia (blue-blind)
#98746C
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #8d7e24;
/* rgb */ color: rgb(141, 126, 36);
/* oklch */ color: oklch(59.0% 0.108 99.5);
Tailwind
colors: {
  custom: {
    50: '#b2a365',
    500: '#8d7e24',
    950: '#000000',
  },
}
SCSS
$custom: #8d7e24;
$custom-light: #b2a365;
$custom-dark: #000000;
JSON
{
  "hex": "#8d7e24",
  "rgb": {
    "r": 141,
    "g": 126,
    "b": 36
  },
  "hsl": {
    "h": 51.429,
    "s": 59.322,
    "l": 34.706
  },
  "oklch": {
    "l": 0.59008,
    "c": 0.1083,
    "h": 99.5
  },
  "luminance": 0.20712
}

Semantic roles & 50–950 ramp

primary
#8D7E24
secondary
#5463B8
accent
#5CE345
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110F06
muted
#807E7A

Preview Lab

Preview with #8D7E24

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

Preview Lab → · Contrast checker → · Palette generator →

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