#8D8427#8D8427

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

Color values

HEX#8D8427
RGBrgb(141, 132, 39)
HSLhsl(55, 57%, 35%)
HSVhsv(55, 72%, 55%)
CMYKcmyk(0%, 6.4%, 72.3%, 44.7%)
CIE-LABlab(54.36, -7.85, 48.77)
CIE-LCHlch(54.36, 49.40, 99.14°)
OKLaboklab(60.38% -0.0265 0.1084)
OKLCHoklch(60.38% 0.112 103.7)
XYZxyz(19.6028, 22.3125, 5.1932)
Luminance0.2231 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D8427 #27308D
analogous
#8D5127 #8D8427 #638D27
triadic
#8D8427 #278D84 #84278D
tetradic
#8D8427 #278D51 #27308D #8D2763
square
#8D8427 #278D51 #27308D #8D2763
split-complementary
#8D8427 #27638D #51278D
monochromatic
#2D2A0C #5D571A #8D8427 #BDB134 #D2C85C

Accessibility & contrast

On white

3.84
#8D8427 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##8D8427#FFFFFF#000000##000000
##8D84271.003.845.465.46
#FFFFFF3.841.0021.0021.00
#0000005.4621.001.001.00
##0000005.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F18
Deuteranopia (green-blind)
#93842D
Tritanopia (blue-blind)
#987B72
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #8d8427;
/* rgb */ color: rgb(141, 132, 39);
/* oklch */ color: oklch(60.4% 0.112 103.7);
Tailwind
colors: {
  custom: {
    50: '#b1a768',
    500: '#8d8427',
    950: '#000000',
  },
}
SCSS
$custom: #8d8427;
$custom-light: #b1a768;
$custom-dark: #000000;
JSON
{
  "hex": "#8d8427",
  "rgb": {
    "r": 141,
    "g": 132,
    "b": 39
  },
  "hsl": {
    "h": 54.706,
    "s": 56.667,
    "l": 35.294
  },
  "oklch": {
    "l": 0.60384,
    "c": 0.11161,
    "h": 103.7
  },
  "luminance": 0.22312
}

Semantic roles & 50–950 ramp

primary
#8D8427
secondary
#5961B7
accent
#55E048
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A

Preview Lab

Preview with #8D8427

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

Preview Lab → · Contrast checker → · Palette generator →

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