#8D7F24#8D7F24

#8D7F24 is a mid, moderate yellow. Relative luminance 0.210; OKLCH L 59.2% C 0.109 H 100.3°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#8D7F24
RGBrgb(141, 127, 36)
HSLhsl(52, 59%, 35%)
HSVhsv(52, 74%, 55%)
CMYKcmyk(0%, 9.9%, 74.5%, 44.7%)
CIE-LABlab(52.92, -5.25, 48.56)
CIE-LCHlch(52.92, 48.84, 96.17°)
OKLaboklab(59.23% -0.0194 0.1074)
OKLCHoklch(59.23% 0.109 100.3)
XYZxyz(18.8932, 20.9697, 4.7211)
Luminance0.2097 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D7F24 #24328D
analogous
#8D4B24 #8D7F24 #678D24
triadic
#8D7F24 #248D7F #7F248D
tetradic
#8D7F24 #248D4B #24328D #8D2467
square
#8D7F24 #248D4B #24328D #8D2467
split-complementary
#8D7F24 #24678D #4B248D
monochromatic
#2B270B #5C5318 #8D7F24 #BEAB30 #D4C457

Accessibility & contrast

On white

4.04
#8D7F24 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.19
#8D7F24 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D7F24
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D7F24#FFFFFF#000000##000000
##8D7F241.004.045.195.19
#FFFFFF4.041.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7B15
Deuteranopia (green-blind)
#8F812A
Tritanopia (blue-blind)
#98756D
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #8d7f24;
/* rgb */ color: rgb(141, 127, 36);
/* oklch */ color: oklch(59.2% 0.109 100.3);
Tailwind
colors: {
  custom: {
    50: '#b2a365',
    500: '#8d7f24',
    950: '#000000',
  },
}
SCSS
$custom: #8d7f24;
$custom-light: #b2a365;
$custom-dark: #000000;
JSON
{
  "hex": "#8d7f24",
  "rgb": {
    "r": 141,
    "g": 127,
    "b": 36
  },
  "hsl": {
    "h": 52,
    "s": 59.322,
    "l": 34.706
  },
  "oklch": {
    "l": 0.59233,
    "c": 0.10915,
    "h": 100.3
  },
  "luminance": 0.20969
}

Semantic roles & 50–950 ramp

primary
#8D7F24
secondary
#5462B8
accent
#5AE345
background
#FBFAF6
surface
#F6F3EB
border
#D0CDC6
text
#110F06
muted
#807F7A

Preview Lab

Preview with #8D7F24

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

Preview Lab → · Contrast checker → · Palette generator →

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