#8D8424#8D8424

#8D8424 is a mid, moderate yellow. Relative luminance 0.223; OKLCH L 60.4% C 0.114 H 103.9°. Best body text is #000000 at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#8D8424
RGBrgb(141, 132, 36)
HSLhsl(55, 59%, 35%)
HSVhsv(55, 74%, 55%)
CMYKcmyk(0%, 6.4%, 74.5%, 44.7%)
CIE-LABlab(54.34, -8.00, 49.93)
CIE-LCHlch(54.34, 50.57, 99.11°)
OKLaboklab(60.36% -0.0272 0.1103)
OKLCHoklch(60.36% 0.114 103.9)
XYZxyz(19.5550, 22.2934, 4.9417)
Luminance0.2229 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D8424 #242D8D
analogous
#8D5024 #8D8424 #628D24
triadic
#8D8424 #248D84 #84248D
tetradic
#8D8424 #248D50 #242D8D #8D2462
square
#8D8424 #248D50 #242D8D #8D2462
split-complementary
#8D8424 #24628D #50248D
monochromatic
#2B290B #5C5618 #8D8424 #BEB230 #D4C957

Accessibility & contrast

On white

3.85
#8D8424 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.46
#8D8424 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D8424
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D8424#FFFFFF#000000##000000
##8D84241.003.855.465.46
#FFFFFF3.851.0021.0021.00
#0000005.4621.001.001.00
##0000005.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F13
Deuteranopia (green-blind)
#93842B
Tritanopia (blue-blind)
#987B71
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #8d8424;
/* rgb */ color: rgb(141, 132, 36);
/* oklch */ color: oklch(60.4% 0.114 103.9);
Tailwind
colors: {
  custom: {
    50: '#b2a766',
    500: '#8d8424',
    950: '#000000',
  },
}
SCSS
$custom: #8d8424;
$custom-light: #b2a766;
$custom-dark: #000000;
JSON
{
  "hex": "#8d8424",
  "rgb": {
    "r": 141,
    "g": 132,
    "b": 36
  },
  "hsl": {
    "h": 54.857,
    "s": 59.322,
    "l": 34.706
  },
  "oklch": {
    "l": 0.60361,
    "c": 0.11361,
    "h": 103.9
  },
  "luminance": 0.22293
}

Semantic roles & 50–950 ramp

primary
#8D8424
secondary
#545DB8
accent
#53E345
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A

Preview Lab

Preview with #8D8424

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

Preview Lab → · Contrast checker → · Palette generator →

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