#8A8D55#8A8D55

#8A8D55 is a light, moderate yellow. Relative luminance 0.251; OKLCH L 62.7% C 0.077 H 111.1°. Best body text is #000000 at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#8A8D55
RGBrgb(138, 141, 85)
HSLhsl(63, 25%, 44%)
HSVhsv(63, 40%, 55%)
CMYKcmyk(2.1%, 0%, 39.7%, 44.7%)
CIE-LABlab(57.18, -10.10, 29.50)
CIE-LCHlch(57.18, 31.18, 108.90°)
OKLaboklab(62.73% -0.0277 0.072)
OKLCHoklch(62.73% 0.077 111.1)
XYZxyz(21.6460, 25.1093, 12.2988)
Luminance0.2511 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8D55 #58558D
analogous
#8D7455 #8A8D55 #6E8D55
triadic
#8A8D55 #558A8D #8D558A
tetradic
#8A8D55 #558D74 #58558D #8D556E
square
#8A8D55 #558D74 #58558D #8D556E
split-complementary
#8A8D55 #556E8D #74558D
monochromatic
#3F4127 #65673E #8A8D55 #A8AB74 #C0C29A

Accessibility & contrast

On white

3.49
#8A8D55 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.02
#8A8D55 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A8D55
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8D55#FFFFFF#000000##000000
##8A8D551.003.496.026.02
#FFFFFF3.491.0021.0021.00
#0000006.0221.001.001.00
##0000006.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#958851
Deuteranopia (green-blind)
#958A58
Tritanopia (blue-blind)
#91877F
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #8a8d55;
/* rgb */ color: rgb(138, 141, 85);
/* oklch */ color: oklch(62.7% 0.077 111.1);
Tailwind
colors: {
  custom: {
    50: '#adae86',
    500: '#8a8d55',
    950: '#000000',
  },
}
SCSS
$custom: #8a8d55;
$custom-light: #adae86;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8d55",
  "rgb": {
    "r": 138,
    "g": 141,
    "b": 85
  },
  "hsl": {
    "h": 63.214,
    "s": 24.779,
    "l": 44.314
  },
  "oklch": {
    "l": 0.62733,
    "c": 0.07716,
    "h": 111.1
  },
  "luminance": 0.25109
}

Semantic roles & 50–950 ramp

primary
#8A8D55
secondary
#908EB0
accent
#67C16B
background
#FAFAF8
surface
#F4F4EF
border
#CECECA
text
#10100B
muted
#7F7F7C

Preview Lab

Preview with #8A8D55

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

Preview Lab → · Contrast checker → · Palette generator →

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