#8D8A58#8D8A58

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

Color values

HEX#8D8A58
RGBrgb(141, 138, 88)
HSLhsl(57, 23%, 45%)
HSVhsv(57, 38%, 55%)
CMYKcmyk(0%, 2.1%, 37.6%, 44.7%)
CIE-LABlab(56.63, -6.83, 27.20)
CIE-LCHlch(56.63, 28.05, 104.10°)
OKLaboklab(62.37% -0.0183 0.0669)
OKLCHoklch(62.37% 0.069 105.3)
XYZxyz(21.8347, 24.5447, 12.8180)
Luminance0.2454 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D8A58 #585B8D
analogous
#8D7058 #8D8A58 #758D58
triadic
#8D8A58 #588D8A #8A588D
tetradic
#8D8A58 #588D70 #585B8D #8D5875
square
#8D8A58 #588D70 #585B8D #8D5875
split-complementary
#8D8A58 #58758D #70588D
monochromatic
#424029 #676540 #8D8A58 #ABA878 #C2C09D

Accessibility & contrast

On white

3.55
#8D8A58 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##8D8A58#FFFFFF#000000##000000
##8D8A581.003.555.915.91
#FFFFFF3.551.0021.0021.00
#0000005.9121.001.001.00
##0000005.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#928654
Deuteranopia (green-blind)
#94895A
Tritanopia (blue-blind)
#94847D
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #8d8a58;
/* rgb */ color: rgb(141, 138, 88);
/* oklch */ color: oklch(62.4% 0.069 105.3);
Tailwind
colors: {
  custom: {
    50: '#afac88',
    500: '#8d8a58',
    950: '#000000',
  },
}
SCSS
$custom: #8d8a58;
$custom-light: #afac88;
$custom-dark: #000000;
JSON
{
  "hex": "#8d8a58",
  "rgb": {
    "r": 141,
    "g": 138,
    "b": 88
  },
  "hsl": {
    "h": 56.604,
    "s": 23.144,
    "l": 44.902
  },
  "oklch": {
    "l": 0.62372,
    "c": 0.06931,
    "h": 105.3
  },
  "luminance": 0.24544
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8D8A58

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

Preview Lab → · Contrast checker → · Palette generator →

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