#8A8D5B#8A8D5B

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

Color values

HEX#8A8D5B
RGBrgb(138, 141, 91)
HSLhsl(64, 22%, 45%)
HSVhsv(64, 35%, 55%)
CMYKcmyk(2.1%, 0%, 35.5%, 44.7%)
CIE-LABlab(57.28, -9.35, 26.35)
CIE-LCHlch(57.28, 27.96, 109.54°)
OKLaboklab(62.84% -0.0252 0.065)
OKLCHoklch(62.84% 0.07 111.2)
XYZxyz(21.8946, 25.2087, 13.6079)
Luminance0.2521 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8D5B #5E5B8D
analogous
#8D775B #8A8D5B #718D5B
triadic
#8A8D5B #5B8A8D #8D5B8A
tetradic
#8A8D5B #5B8D77 #5E5B8D #8D5B71
square
#8A8D5B #5B8D77 #5E5B8D #8D5B71
split-complementary
#8A8D5B #5B718D #775B8D
monochromatic
#41432B #666843 #8A8D5B #A7AA7B #C0C2A0

Accessibility & contrast

On white

3.48
#8A8D5B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.04
#8A8D5B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A8D5B
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8D5B#FFFFFF#000000##000000
##8A8D5B1.003.486.046.04
#FFFFFF3.481.0021.0021.00
#0000006.0421.001.001.00
##0000006.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#948957
Deuteranopia (green-blind)
#958A5D
Tritanopia (blue-blind)
#908780
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #8a8d5b;
/* rgb */ color: rgb(138, 141, 91);
/* oklch */ color: oklch(62.8% 0.070 111.2);
Tailwind
colors: {
  custom: {
    50: '#adae8a',
    500: '#8a8d5b',
    950: '#000000',
  },
}
SCSS
$custom: #8a8d5b;
$custom-light: #adae8a;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8d5b",
  "rgb": {
    "r": 138,
    "g": 141,
    "b": 91
  },
  "hsl": {
    "h": 63.6,
    "s": 21.552,
    "l": 45.49
  },
  "oklch": {
    "l": 0.62842,
    "c": 0.06973,
    "h": 111.2
  },
  "luminance": 0.25208
}

Semantic roles & 50–950 ramp

primary
#8A8D5B
secondary
#9694B0
accent
#6ABE6F
background
#FAFAF8
surface
#F4F4F0
border
#CECECB
text
#10100B
muted
#7F7F7C

Preview Lab

Preview with #8A8D5B

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

Preview Lab → · Contrast checker → · Palette generator →

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