#8D8459#8D8459

#8D8459 is a mid, moderate yellow. Relative luminance 0.229; OKLCH L 61.1% C 0.061 H 97.8°. Best body text is #000000 at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#8D8459
RGBrgb(141, 132, 89)
HSLhsl(50, 23%, 45%)
HSVhsv(50, 37%, 55%)
CMYKcmyk(0%, 6.4%, 36.9%, 44.7%)
CIE-LABlab(54.96, -3.38, 24.47)
CIE-LCHlch(54.96, 24.70, 97.87°)
OKLaboklab(61.05% -0.0083 0.0606)
OKLCHoklch(61.05% 0.061 97.8)
XYZxyz(21.0393, 22.8871, 12.7586)
Luminance0.2289 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D8459 #59628D
analogous
#8D6A59 #8D8459 #7C8D59
triadic
#8D8459 #598D84 #84598D
tetradic
#8D8459 #598D6A #59628D #8D597C
square
#8D8459 #598D6A #59628D #8D597C
split-complementary
#8D8459 #597C8D #6A598D
monochromatic
#423E2A #676141 #8D8459 #AAA279 #C2BC9E

Accessibility & contrast

On white

3.77
#8D8459 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.58
#8D8459 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D8459
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D8459#FFFFFF#000000##000000
##8D84591.003.775.585.58
#FFFFFF3.771.0021.0021.00
#0000005.5821.001.001.00
##0000005.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C8256
Deuteranopia (green-blind)
#8F855B
Tritanopia (blue-blind)
#957E79
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #8d8459;
/* rgb */ color: rgb(141, 132, 89);
/* oklch */ color: oklch(61.1% 0.061 97.8);
Tailwind
colors: {
  custom: {
    50: '#afa788',
    500: '#8d8459',
    950: '#000000',
  },
}
SCSS
$custom: #8d8459;
$custom-light: #afa788;
$custom-dark: #000000;
JSON
{
  "hex": "#8d8459",
  "rgb": {
    "r": 141,
    "g": 132,
    "b": 89
  },
  "hsl": {
    "h": 49.615,
    "s": 22.609,
    "l": 45.098
  },
  "oklch": {
    "l": 0.61052,
    "c": 0.06113,
    "h": 97.8
  },
  "luminance": 0.22887
}

Semantic roles & 50–950 ramp

primary
#8D8459
secondary
#9297B0
accent
#78BF69
background
#FAFAF8
surface
#F5F4F0
border
#CFCECB
text
#100F0B
muted
#7F7F7C

Preview Lab

Preview with #8D8459

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

Preview Lab → · Contrast checker → · Palette generator →

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