#8A8A5E#8A8A5E

#8A8A5E is a light, moderate yellow. Relative luminance 0.244; OKLCH L 62.2% C 0.062 H 108.1°. Best body text is #000000 at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#8A8A5E
RGBrgb(138, 138, 94)
HSLhsl(60, 19%, 45%)
HSVhsv(60, 32%, 54%)
CMYKcmyk(0%, 0%, 31.9%, 45.9%)
CIE-LABlab(56.47, -7.31, 23.63)
CIE-LCHlch(56.47, 24.74, 107.20°)
OKLaboklab(62.22% -0.0192 0.0588)
OKLCHoklch(62.22% 0.062 108.1)
XYZxyz(21.5902, 24.3887, 14.1576)
Luminance0.2439 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8A5E #5E5E8A
analogous
#8A745E #8A8A5E #748A5E
triadic
#8A8A5E #5E8A8A #8A5E8A
tetradic
#8A8A5E #5E8A74 #5E5E8A #8A5E74
square
#8A8A5E #5E8A74 #5E5E8A #8A5E74
split-complementary
#8A8A5E #5E748A #745E8A
monochromatic
#41412C #666645 #8A8A5E #A7A77E #C0C0A2

Accessibility & contrast

On white

3.57
#8A8A5E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.88
#8A8A5E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A8A5E
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8A5E#FFFFFF#000000##000000
##8A8A5E1.003.575.885.88
#FFFFFF3.571.0021.0021.00
#0000005.8821.001.001.00
##0000005.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#91865B
Deuteranopia (green-blind)
#928860
Tritanopia (blue-blind)
#90857F
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #8a8a5e;
/* rgb */ color: rgb(138, 138, 94);
/* oklch */ color: oklch(62.2% 0.062 108.1);
Tailwind
colors: {
  custom: {
    50: '#adac8c',
    500: '#8a8a5e',
    950: '#000000',
  },
}
SCSS
$custom: #8a8a5e;
$custom-light: #adac8c;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8a5e",
  "rgb": {
    "r": 138,
    "g": 138,
    "b": 94
  },
  "hsl": {
    "h": 60,
    "s": 18.966,
    "l": 45.49
  },
  "oklch": {
    "l": 0.62221,
    "c": 0.06185,
    "h": 108.1
  },
  "luminance": 0.24388
}

Semantic roles & 50–950 ramp

primary
#8A8A5E
secondary
#9696AE
accent
#6CBC6C
background
#FAFAF8
surface
#F4F4F0
border
#CECECB
text
#10100C
muted
#7F7F7D

Preview Lab

Preview with #8A8A5E

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

Preview Lab → · Contrast checker → · Palette generator →

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