#8E8A70#8E8A70

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

Color values

HEX#8E8A70
RGBrgb(142, 138, 112)
HSLhsl(52, 12%, 50%)
HSVhsv(52, 21%, 56%)
CMYKcmyk(0%, 2.8%, 21.1%, 44.3%)
CIE-LABlab(57.17, -3.06, 14.49)
CIE-LCHlch(57.17, 14.81, 101.90°)
OKLaboklab(62.97% -0.0066 0.0371)
OKLCHoklch(62.97% 0.038 100.1)
XYZxyz(23.1683, 25.0979, 18.9500)
Luminance0.2510 (WCAG relative)
Temperatureneutral
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E8A70 #70748E
analogous
#8E7B70 #8E8A70 #838E70
triadic
#8E8A70 #708E8A #8A708E
tetradic
#8E8A70 #708E7B #70748E #8E7083
square
#8E8A70 #708E7B #70748E #8E7083
split-complementary
#8E8A70 #70838E #7B708E
monochromatic
#4A473A #6C6955 #8E8A70 #A9A692 #C4C2B4

Accessibility & contrast

On white

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

On black

6.02
#8E8A70 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E8A70
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E8A70#FFFFFF#000000##000000
##8E8A701.003.496.026.02
#FFFFFF3.491.0021.0021.00
#0000006.0221.001.001.00
##0000006.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F886E
Deuteranopia (green-blind)
#918A71
Tritanopia (blue-blind)
#938683
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #8e8a70;
/* rgb */ color: rgb(142, 138, 112);
/* oklch */ color: oklch(63.0% 0.038 100.1);
Tailwind
colors: {
  custom: {
    50: '#afac99',
    500: '#8e8a70',
    950: '#000000',
  },
}
SCSS
$custom: #8e8a70;
$custom-light: #afac99;
$custom-dark: #000000;
JSON
{
  "hex": "#8e8a70",
  "rgb": {
    "r": 142,
    "g": 138,
    "b": 112
  },
  "hsl": {
    "h": 52,
    "s": 11.811,
    "l": 49.804
  },
  "oklch": {
    "l": 0.62971,
    "c": 0.03767,
    "h": 100.1
  },
  "luminance": 0.25098
}

Semantic roles & 50–950 ramp

primary
#8E8A70
secondary
#A6A8B4
accent
#7CB573
background
#FAFAF9
surface
#F4F4F2
border
#CECECC
text
#10100D
muted
#7F7F7E

Preview Lab

Preview with #8E8A70

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

Preview Lab → · Contrast checker → · Palette generator →

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