#8D8A57#8D8A57

#8D8A57 is a light, moderate yellow. Relative luminance 0.245; OKLCH L 62.4% C 0.071 H 105.4°. Best body text is #000000 at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#8D8A57
RGBrgb(141, 138, 87)
HSLhsl(57, 24%, 45%)
HSVhsv(57, 38%, 55%)
CMYKcmyk(0%, 2.1%, 38.3%, 44.7%)
CIE-LABlab(56.61, -6.95, 27.73)
CIE-LCHlch(56.61, 28.59, 104.08°)
OKLaboklab(62.35% -0.0187 0.068)
OKLCHoklch(62.35% 0.071 105.4)
XYZxyz(21.7936, 24.5283, 12.6014)
Luminance0.2453 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D8A57 #575A8D
analogous
#8D6F57 #8D8A57 #758D57
triadic
#8D8A57 #578D8A #8A578D
tetradic
#8D8A57 #578D6F #575A8D #8D5775
square
#8D8A57 #578D6F #575A8D #8D5775
split-complementary
#8D8A57 #57758D #6F578D
monochromatic
#414028 #676540 #8D8A57 #ABA876 #C2C09C

Accessibility & contrast

On white

3.56
#8D8A57 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.91
#8D8A57 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D8A57
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D8A57#FFFFFF#000000##000000
##8D8A571.003.565.915.91
#FFFFFF3.561.0021.0021.00
#0000005.9121.001.001.00
##0000005.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#928653
Deuteranopia (green-blind)
#948959
Tritanopia (blue-blind)
#94847D
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #8d8a57;
/* rgb */ color: rgb(141, 138, 87);
/* oklch */ color: oklch(62.4% 0.071 105.4);
Tailwind
colors: {
  custom: {
    50: '#afac87',
    500: '#8d8a57',
    950: '#000000',
  },
}
SCSS
$custom: #8d8a57;
$custom-light: #afac87;
$custom-dark: #000000;
JSON
{
  "hex": "#8d8a57",
  "rgb": {
    "r": 141,
    "g": 138,
    "b": 87
  },
  "hsl": {
    "h": 56.667,
    "s": 23.684,
    "l": 44.706
  },
  "oklch": {
    "l": 0.62354,
    "c": 0.07055,
    "h": 105.4
  },
  "luminance": 0.24528
}

Semantic roles & 50–950 ramp

primary
#8D8A57
secondary
#9092B0
accent
#6DC068
background
#FAFAF8
surface
#F5F4EF
border
#CFCECA
text
#10100B
muted
#7F7F7C

Preview Lab

Preview with #8D8A57

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

Preview Lab → · Contrast checker → · Palette generator →

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