#8A8A74#8A8A74

#8A8A74 is a light, muted yellow. Relative luminance 0.248; OKLCH L 62.7% C 0.032 H 107.3°. Best body text is #000000 at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#8A8A74
RGBrgb(138, 138, 116)
HSLhsl(60, 9%, 50%)
HSVhsv(60, 16%, 54%)
CMYKcmyk(0%, 0%, 15.9%, 45.9%)
CIE-LABlab(56.92, -4.00, 11.81)
CIE-LCHlch(56.92, 12.47, 108.69°)
OKLaboklab(62.72% -0.0095 0.0304)
OKLCHoklch(62.72% 0.032 107.3)
XYZxyz(22.7218, 24.8414, 20.1175)
Luminance0.2484 (WCAG relative)
Temperatureneutral
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8A74 #74748A
analogous
#8A7F74 #8A8A74 #7F8A74
triadic
#8A8A74 #748A8A #8A748A
tetradic
#8A8A74 #748A7F #74748A #8A747F
square
#8A8A74 #748A7F #74748A #8A747F
split-complementary
#8A8A74 #747F8A #7F748A
monochromatic
#47473C #696958 #8A8A74 #A6A695 #C2C2B6

Accessibility & contrast

On white

3.52
#8A8A74 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.97
#8A8A74 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A8A74
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8A74#FFFFFF#000000##000000
##8A8A741.003.525.975.97
#FFFFFF3.521.0021.0021.00
#0000005.9721.001.001.00
##0000005.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E8873
Deuteranopia (green-blind)
#8E8975
Tritanopia (blue-blind)
#8D8784
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #8a8a74;
/* rgb */ color: rgb(138, 138, 116);
/* oklch */ color: oklch(62.7% 0.032 107.3);
Tailwind
colors: {
  custom: {
    50: '#acac9c',
    500: '#8a8a74',
    950: '#000000',
  },
}
SCSS
$custom: #8a8a74;
$custom-light: #acac9c;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8a74",
  "rgb": {
    "r": 138,
    "g": 138,
    "b": 116
  },
  "hsl": {
    "h": 60,
    "s": 8.661,
    "l": 49.804
  },
  "oklch": {
    "l": 0.6272,
    "c": 0.03187,
    "h": 107.3
  },
  "luminance": 0.24841
}

Semantic roles & 50–950 ramp

primary
#8A8A74
secondary
#A8A8B2
accent
#76B276
background
#FAFAF9
surface
#F4F4F2
border
#CECECC
text
#10100E
muted
#7F7F7E

Preview Lab

Preview with #8A8A74

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

Preview Lab → · Contrast checker → · Palette generator →

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