#8A8774#8A8774

#8A8774 is a light, muted yellow. Relative luminance 0.240; OKLCH L 62.1% C 0.028 H 99.8°. Best body text is #000000 at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#8A8774
RGBrgb(138, 135, 116)
HSLhsl(52, 9%, 50%)
HSVhsv(52, 16%, 54%)
CMYKcmyk(0%, 2.2%, 15.9%, 45.9%)
CIE-LABlab(56.08, -2.32, 10.63)
CIE-LCHlch(56.08, 10.88, 102.30°)
OKLaboklab(62.06% -0.0047 0.0275)
OKLCHoklch(62.06% 0.028 99.8)
XYZxyz(22.2974, 23.9924, 19.9760)
Luminance0.2399 (WCAG relative)
Temperatureneutral
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8774 #74778A
analogous
#8A7C74 #8A8774 #828A74
triadic
#8A8774 #748A87 #87748A
tetradic
#8A8774 #748A7C #74778A #8A7482
square
#8A8774 #748A7C #74778A #8A7482
split-complementary
#8A8774 #74828A #7C748A
monochromatic
#47463C #696658 #8A8774 #A6A495 #C2C0B6

Accessibility & contrast

On white

3.62
#8A8774 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.80
#8A8774 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A8774
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8774#FFFFFF#000000##000000
##8A87741.003.625.805.80
#FFFFFF3.621.0021.0021.00
#0000005.8021.001.001.00
##0000005.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B8673
Deuteranopia (green-blind)
#8C8775
Tritanopia (blue-blind)
#8E8482
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #8a8774;
/* rgb */ color: rgb(138, 135, 116);
/* oklch */ color: oklch(62.1% 0.028 99.8);
Tailwind
colors: {
  custom: {
    50: '#aca99c',
    500: '#8a8774',
    950: '#000000',
  },
}
SCSS
$custom: #8a8774;
$custom-light: #aca99c;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8774",
  "rgb": {
    "r": 138,
    "g": 135,
    "b": 116
  },
  "hsl": {
    "h": 51.818,
    "s": 8.661,
    "l": 49.804
  },
  "oklch": {
    "l": 0.62056,
    "c": 0.02787,
    "h": 99.8
  },
  "luminance": 0.23992
}

Semantic roles & 50–950 ramp

primary
#8A8774
secondary
#A8A9B2
accent
#7EB276
background
#FAFAF9
surface
#F4F4F2
border
#CECECC
text
#10100E
muted
#7F7F7E

Preview Lab

Preview with #8A8774

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

Preview Lab → · Contrast checker → · Palette generator →

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