#8A8A5B#8A8A5B

#8A8A5B is a light, moderate yellow. Relative luminance 0.243; OKLCH L 62.2% C 0.066 H 108.2°. Best body text is #000000 at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#8A8A5B
RGBrgb(138, 138, 91)
HSLhsl(60, 21%, 45%)
HSVhsv(60, 34%, 54%)
CMYKcmyk(0%, 0%, 34.1%, 45.9%)
CIE-LABlab(56.42, -7.71, 25.23)
CIE-LCHlch(56.42, 26.38, 107.00°)
OKLaboklab(62.16% -0.0205 0.0624)
OKLCHoklch(62.16% 0.066 108.2)
XYZxyz(21.4582, 24.3359, 13.4624)
Luminance0.2434 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8A5B #5B5B8A
analogous
#8A735B #8A8A5B #738A5B
triadic
#8A8A5B #5B8A8A #8A5B8A
tetradic
#8A8A5B #5B8A73 #5B5B8A #8A5B73
square
#8A8A5B #5B8A73 #5B5B8A #8A5B73
split-complementary
#8A8A5B #5B738A #735B8A
monochromatic
#40402A #656543 #8A8A5B #A8A87B #C0C09F

Accessibility & contrast

On white

3.58
#8A8A5B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.87
#8A8A5B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A8A5B
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8A5B#FFFFFF#000000##000000
##8A8A5B1.003.585.875.87
#FFFFFF3.581.0021.0021.00
#0000005.8721.001.001.00
##0000005.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#918658
Deuteranopia (green-blind)
#92885D
Tritanopia (blue-blind)
#90847E
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #8a8a5b;
/* rgb */ color: rgb(138, 138, 91);
/* oklch */ color: oklch(62.2% 0.066 108.2);
Tailwind
colors: {
  custom: {
    50: '#adac8a',
    500: '#8a8a5b',
    950: '#000000',
  },
}
SCSS
$custom: #8a8a5b;
$custom-light: #adac8a;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8a5b",
  "rgb": {
    "r": 138,
    "g": 138,
    "b": 91
  },
  "hsl": {
    "h": 60,
    "s": 20.524,
    "l": 44.902
  },
  "oklch": {
    "l": 0.62162,
    "c": 0.06571,
    "h": 108.2
  },
  "luminance": 0.24336
}

Semantic roles & 50–950 ramp

primary
#8A8A5B
secondary
#9393AE
accent
#6BBD6B
background
#FAFAF8
surface
#F4F4F0
border
#CECECB
text
#10100B
muted
#7F7F7C

Preview Lab

Preview with #8A8A5B

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

Preview Lab → · Contrast checker → · Palette generator →

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