#8D7D24#8D7D24

#8D7D24 is a mid, moderate yellow. Relative luminance 0.205; OKLCH L 58.8% C 0.107 H 98.7°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#8D7D24
RGBrgb(141, 125, 36)
HSLhsl(51, 59%, 35%)
HSVhsv(51, 74%, 55%)
CMYKcmyk(0%, 11.3%, 74.5%, 44.7%)
CIE-LABlab(52.35, -4.14, 48.01)
CIE-LCHlch(52.35, 48.19, 94.92°)
OKLaboklab(58.79% -0.0163 0.1062)
OKLCHoklch(58.79% 0.107 98.7)
XYZxyz(18.6375, 20.4582, 4.6359)
Luminance0.2046 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D7D24 #24348D
analogous
#8D4924 #8D7D24 #698D24
triadic
#8D7D24 #248D7D #7D248D
tetradic
#8D7D24 #248D49 #24348D #8D2469
square
#8D7D24 #248D49 #24348D #8D2469
split-complementary
#8D7D24 #24698D #49248D
monochromatic
#2B270B #5C5218 #8D7D24 #BEA830 #D4C157

Accessibility & contrast

On white

4.12
#8D7D24 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#8D7D24 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D7D24
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D7D24#FFFFFF#000000##000000
##8D7D241.004.125.095.09
#FFFFFF4.121.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7A15
Deuteranopia (green-blind)
#8E7F2A
Tritanopia (blue-blind)
#98736B
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #8d7d24;
/* rgb */ color: rgb(141, 125, 36);
/* oklch */ color: oklch(58.8% 0.107 98.7);
Tailwind
colors: {
  custom: {
    50: '#b2a265',
    500: '#8d7d24',
    950: '#000000',
  },
}
SCSS
$custom: #8d7d24;
$custom-light: #b2a265;
$custom-dark: #000000;
JSON
{
  "hex": "#8d7d24",
  "rgb": {
    "r": 141,
    "g": 125,
    "b": 36
  },
  "hsl": {
    "h": 50.857,
    "s": 59.322,
    "l": 34.706
  },
  "oklch": {
    "l": 0.58785,
    "c": 0.10748,
    "h": 98.7
  },
  "luminance": 0.20457
}

Semantic roles & 50–950 ramp

primary
#8D7D24
secondary
#5464B8
accent
#5DE345
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110F06
muted
#807E7A

Preview Lab

Preview with #8D7D24

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

Preview Lab → · Contrast checker → · Palette generator →

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