#8D8D59#8D8D59

#8D8D59 is a light, moderate yellow. Relative luminance 0.254; OKLCH L 63.1% C 0.072 H 108.3°. Best body text is #000000 at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#8D8D59
RGBrgb(141, 141, 89)
HSLhsl(60, 23%, 45%)
HSVhsv(60, 37%, 55%)
CMYKcmyk(0%, 0%, 36.9%, 44.7%)
CIE-LABlab(57.50, -8.35, 27.77)
CIE-LCHlch(57.50, 29.00, 106.73°)
OKLaboklab(63.07% -0.0226 0.0682)
OKLCHoklch(63.07% 0.072 108.3)
XYZxyz(22.3128, 25.4342, 13.1831)
Luminance0.2543 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D8D59 #59598D
analogous
#8D7359 #8D8D59 #738D59
triadic
#8D8D59 #598D8D #8D598D
tetradic
#8D8D59 #598D73 #59598D #8D5973
square
#8D8D59 #598D73 #59598D #8D5973
split-complementary
#8D8D59 #59738D #73598D
monochromatic
#42422A #676741 #8D8D59 #AAAA79 #C2C29E

Accessibility & contrast

On white

3.45
#8D8D59 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.09
#8D8D59 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D8D59
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D8D59#FFFFFF#000000##000000
##8D8D591.003.456.096.09
#FFFFFF3.451.0021.0021.00
#0000006.0921.001.001.00
##0000006.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#958955
Deuteranopia (green-blind)
#968B5B
Tritanopia (blue-blind)
#948780
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #8d8d59;
/* rgb */ color: rgb(141, 141, 89);
/* oklch */ color: oklch(63.1% 0.072 108.3);
Tailwind
colors: {
  custom: {
    50: '#afae88',
    500: '#8d8d59',
    950: '#000000',
  },
}
SCSS
$custom: #8d8d59;
$custom-light: #afae88;
$custom-dark: #000000;
JSON
{
  "hex": "#8d8d59",
  "rgb": {
    "r": 141,
    "g": 141,
    "b": 89
  },
  "hsl": {
    "h": 60,
    "s": 22.609,
    "l": 45.098
  },
  "oklch": {
    "l": 0.63066,
    "c": 0.07185,
    "h": 108.3
  },
  "luminance": 0.25434
}

Semantic roles & 50–950 ramp

primary
#8D8D59
secondary
#9292B0
accent
#69BF69
background
#FAFAF8
surface
#F5F4F0
border
#CFCECB
text
#10100B
muted
#7F7F7C

Preview Lab

Preview with #8D8D59

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

Preview Lab → · Contrast checker → · Palette generator →

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