#8A8D5D#8A8D5D

#8A8D5D is a light, moderate yellow. Relative luminance 0.252; OKLCH L 62.9% C 0.067 H 111.2°. Best body text is #000000 at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#8A8D5D
RGBrgb(138, 141, 93)
HSLhsl(64, 21%, 46%)
HSVhsv(64, 34%, 55%)
CMYKcmyk(2.1%, 0%, 34%, 44.7%)
CIE-LABlab(57.31, -9.09, 25.29)
CIE-LCHlch(57.31, 26.87, 109.77°)
OKLaboklab(62.88% -0.0243 0.0626)
OKLCHoklch(62.88% 0.067 111.2)
XYZxyz(21.9820, 25.2436, 14.0683)
Luminance0.2524 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8D5D #605D8D
analogous
#8D785D #8A8D5D #728D5D
triadic
#8A8D5D #5D8A8D #8D5D8A
tetradic
#8A8D5D #5D8D78 #605D8D #8D5D72
square
#8A8D5D #5D8D78 #605D8D #8D5D72
split-complementary
#8A8D5D #5D728D #785D8D
monochromatic
#42432C #666845 #8A8D5D #A7AA7E #C0C2A2

Accessibility & contrast

On white

3.47
#8A8D5D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.05
#8A8D5D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A8D5D
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8D5D#FFFFFF#000000##000000
##8A8D5D1.003.476.056.05
#FFFFFF3.471.0021.0021.00
#0000006.0521.001.001.00
##0000006.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#94895A
Deuteranopia (green-blind)
#948A5F
Tritanopia (blue-blind)
#908781
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #8a8d5d;
/* rgb */ color: rgb(138, 141, 93);
/* oklch */ color: oklch(62.9% 0.067 111.2);
Tailwind
colors: {
  custom: {
    50: '#adae8b',
    500: '#8a8d5d',
    950: '#000000',
  },
}
SCSS
$custom: #8a8d5d;
$custom-light: #adae8b;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8d5d",
  "rgb": {
    "r": 138,
    "g": 141,
    "b": 93
  },
  "hsl": {
    "h": 63.75,
    "s": 20.513,
    "l": 45.882
  },
  "oklch": {
    "l": 0.6288,
    "c": 0.06719,
    "h": 111.2
  },
  "luminance": 0.25243
}

Semantic roles & 50–950 ramp

primary
#8A8D5D
secondary
#9796B0
accent
#6BBD70
background
#FAFAF8
surface
#F4F4F0
border
#CECECB
text
#10100C
muted
#7F7F7D

Preview Lab

Preview with #8A8D5D

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

Preview Lab → · Contrast checker → · Palette generator →

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