#8D7C24#8D7C24

#8D7C24 is a mid, moderate yellow. Relative luminance 0.202; OKLCH L 58.6% C 0.107 H 97.9°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#8D7C24
RGBrgb(141, 124, 36)
HSLhsl(50, 59%, 35%)
HSVhsv(50, 74%, 55%)
CMYKcmyk(0%, 12.1%, 74.5%, 44.7%)
CIE-LABlab(52.07, -3.58, 47.74)
CIE-LCHlch(52.07, 47.87, 94.29°)
OKLaboklab(58.56% -0.0147 0.1057)
OKLCHoklch(58.56% 0.107 97.9)
XYZxyz(18.5115, 20.2063, 4.5939)
Luminance0.2021 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D7C24 #24358D
analogous
#8D4824 #8D7C24 #698D24
triadic
#8D7C24 #248D7C #7C248D
tetradic
#8D7C24 #248D48 #24358D #8D2469
square
#8D7C24 #248D48 #24358D #8D2469
split-complementary
#8D7C24 #24698D #48248D
monochromatic
#2B260B #5C5118 #8D7C24 #BEA730 #D4C057

Accessibility & contrast

On white

4.17
#8D7C24 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#8D7C24 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D7C24
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D7C24#FFFFFF#000000##000000
##8D7C241.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#897916
Deuteranopia (green-blind)
#8D7F29
Tritanopia (blue-blind)
#98726B
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #8d7c24;
/* rgb */ color: rgb(141, 124, 36);
/* oklch */ color: oklch(58.6% 0.107 97.9);
Tailwind
colors: {
  custom: {
    50: '#b2a165',
    500: '#8d7c24',
    950: '#000000',
  },
}
SCSS
$custom: #8d7c24;
$custom-light: #b2a165;
$custom-dark: #000000;
JSON
{
  "hex": "#8d7c24",
  "rgb": {
    "r": 141,
    "g": 124,
    "b": 36
  },
  "hsl": {
    "h": 50.286,
    "s": 59.322,
    "l": 34.706
  },
  "oklch": {
    "l": 0.58561,
    "c": 0.10667,
    "h": 97.9
  },
  "luminance": 0.20205
}

Semantic roles & 50–950 ramp

primary
#8D7C24
secondary
#5465B8
accent
#5FE345
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E06
muted
#807E7A

Preview Lab

Preview with #8D7C24

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

Preview Lab → · Contrast checker → · Palette generator →

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