#8A8B71#8A8B71

#8A8B71 is a light, muted yellow. Relative luminance 0.251; OKLCH L 62.9% C 0.038 H 109.3°. Best body text is #000000 at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#8A8B71
RGBrgb(138, 139, 113)
HSLhsl(62, 10%, 49%)
HSVhsv(62, 19%, 55%)
CMYKcmyk(0.7%, 0%, 18.7%, 45.5%)
CIE-LABlab(57.13, -5.04, 13.82)
CIE-LCHlch(57.13, 14.71, 110.05°)
OKLaboklab(62.87% -0.0124 0.0354)
OKLCHoklch(62.87% 0.038 109.3)
XYZxyz(22.6943, 25.0610, 19.2613)
Luminance0.2506 (WCAG relative)
Temperatureneutral
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8B71 #72718B
analogous
#8B7F71 #8A8B71 #7D8B71
triadic
#8A8B71 #718A8B #8B718A
tetradic
#8A8B71 #718B7F #72718B #8B717D
square
#8A8B71 #718B7F #72718B #8B717D
split-complementary
#8A8B71 #717D8B #7F718B
monochromatic
#47473A #686956 #8A8B71 #A6A792 #C2C2B4

Accessibility & contrast

On white

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

On black

6.01
#8A8B71 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A8B71
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8B71#FFFFFF#000000##000000
##8A8B711.003.496.016.01
#FFFFFF3.491.0021.0021.00
#0000006.0121.001.001.00
##0000006.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F896F
Deuteranopia (green-blind)
#908A72
Tritanopia (blue-blind)
#8E8884
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #8a8b71;
/* rgb */ color: rgb(138, 139, 113);
/* oklch */ color: oklch(62.9% 0.038 109.3);
Tailwind
colors: {
  custom: {
    50: '#acac9a',
    500: '#8a8b71',
    950: '#000000',
  },
}
SCSS
$custom: #8a8b71;
$custom-light: #acac9a;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8b71",
  "rgb": {
    "r": 138,
    "g": 139,
    "b": 113
  },
  "hsl": {
    "h": 62.308,
    "s": 10.317,
    "l": 49.412
  },
  "oklch": {
    "l": 0.62867,
    "c": 0.03752,
    "h": 109.3
  },
  "luminance": 0.25061
}

Semantic roles & 50–950 ramp

primary
#8A8B71
secondary
#A6A6B2
accent
#75B377
background
#FAFAF9
surface
#F4F4F2
border
#CECECC
text
#10100E
muted
#7F7F7E

Preview Lab

Preview with #8A8B71

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

Preview Lab → · Contrast checker → · Palette generator →

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