#8E8A72#8E8A72

#8E8A72 is a light, muted yellow. Relative luminance 0.251; OKLCH L 63.0% C 0.035 H 99.5°. Best body text is #000000 at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#8E8A72
RGBrgb(142, 138, 114)
HSLhsl(51, 11%, 50%)
HSVhsv(51, 20%, 56%)
CMYKcmyk(0%, 2.8%, 19.7%, 44.3%)
CIE-LABlab(57.21, -2.74, 13.42)
CIE-LCHlch(57.21, 13.69, 101.54°)
OKLaboklab(63.02% -0.0057 0.0344)
OKLCHoklch(63.02% 0.035 99.5)
XYZxyz(23.2809, 25.1430, 19.5430)
Luminance0.2514 (WCAG relative)
Temperatureneutral
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E8A72 #72768E
analogous
#8E7C72 #8E8A72 #848E72
triadic
#8E8A72 #728E8A #8A728E
tetradic
#8E8A72 #728E7C #72768E #8E7284
square
#8E8A72 #728E7C #72768E #8E7284
split-complementary
#8E8A72 #72848E #7C728E
monochromatic
#4A483B #6C6957 #8E8A72 #A9A694 #C4C2B6

Accessibility & contrast

On white

3.48
#8E8A72 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.03
#8E8A72 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E8A72
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E8A72#FFFFFF#000000##000000
##8E8A721.003.486.036.03
#FFFFFF3.481.0021.0021.00
#0000006.0321.001.001.00
##0000006.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F8871
Deuteranopia (green-blind)
#908A73
Tritanopia (blue-blind)
#938683
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #8e8a72;
/* rgb */ color: rgb(142, 138, 114);
/* oklch */ color: oklch(63.0% 0.035 99.5);
Tailwind
colors: {
  custom: {
    50: '#afac9a',
    500: '#8e8a72',
    950: '#000000',
  },
}
SCSS
$custom: #8e8a72;
$custom-light: #afac9a;
$custom-dark: #000000;
JSON
{
  "hex": "#8e8a72",
  "rgb": {
    "r": 142,
    "g": 138,
    "b": 114
  },
  "hsl": {
    "h": 51.429,
    "s": 11.024,
    "l": 50.196
  },
  "oklch": {
    "l": 0.6302,
    "c": 0.03491,
    "h": 99.5
  },
  "luminance": 0.25143
}

Semantic roles & 50–950 ramp

primary
#8E8A72
secondary
#A8A9B4
accent
#7DB474
background
#FAFAF9
surface
#F4F4F2
border
#CECECC
text
#10100E
muted
#7F7F7E

Preview Lab

Preview with #8E8A72

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

Preview Lab → · Contrast checker → · Palette generator →

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