#8D8327#8D8327

#8D8327 is a mid, moderate yellow. Relative luminance 0.220; OKLCH L 60.2% C 0.111 H 103.0°. Best body text is #000000 at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#8D8327
RGBrgb(141, 131, 39)
HSLhsl(54, 57%, 35%)
HSVhsv(54, 72%, 55%)
CMYKcmyk(0%, 7.1%, 72.3%, 44.7%)
CIE-LABlab(54.07, -7.30, 48.49)
CIE-LCHlch(54.07, 49.04, 98.56°)
OKLaboklab(60.16% -0.0249 0.1078)
OKLCHoklch(60.16% 0.111 103)
XYZxyz(19.4678, 22.0426, 5.1483)
Luminance0.2204 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D8327 #27318D
analogous
#8D5027 #8D8327 #648D27
triadic
#8D8327 #278D83 #83278D
tetradic
#8D8327 #278D50 #27318D #8D2764
square
#8D8327 #278D50 #27318D #8D2764
split-complementary
#8D8327 #27648D #50278D
monochromatic
#2D2A0C #5D561A #8D8327 #BDB034 #D2C65C

Accessibility & contrast

On white

3.88
#8D8327 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.41
#8D8327 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D8327
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D8327#FFFFFF#000000##000000
##8D83271.003.885.415.41
#FFFFFF3.881.0021.0021.00
#0000005.4121.001.001.00
##0000005.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7F18
Deuteranopia (green-blind)
#92832D
Tritanopia (blue-blind)
#987A71
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #8d8327;
/* rgb */ color: rgb(141, 131, 39);
/* oklch */ color: oklch(60.2% 0.111 103.0);
Tailwind
colors: {
  custom: {
    50: '#b1a667',
    500: '#8d8327',
    950: '#000000',
  },
}
SCSS
$custom: #8d8327;
$custom-light: #b1a667;
$custom-dark: #000000;
JSON
{
  "hex": "#8d8327",
  "rgb": {
    "r": 141,
    "g": 131,
    "b": 39
  },
  "hsl": {
    "h": 54.118,
    "s": 56.667,
    "l": 35.294
  },
  "oklch": {
    "l": 0.60157,
    "c": 0.11068,
    "h": 103
  },
  "luminance": 0.22042
}

Semantic roles & 50–950 ramp

primary
#8D8327
secondary
#5962B7
accent
#57E048
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A

Preview Lab

Preview with #8D8327

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

Preview Lab → · Contrast checker → · Palette generator →

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