#8E8972#8E8972

#8E8972 is a light, muted yellow. Relative luminance 0.249; OKLCH L 62.8% C 0.034 H 97.1°. Best body text is #000000 at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#8E8972
RGBrgb(142, 137, 114)
HSLhsl(49, 11%, 50%)
HSVhsv(49, 20%, 56%)
CMYKcmyk(0%, 3.5%, 19.7%, 44.3%)
CIE-LABlab(56.94, -2.18, 13.03)
CIE-LCHlch(56.94, 13.21, 99.50°)
OKLaboklab(62.8% -0.0042 0.0335)
OKLCHoklch(62.8% 0.034 97.1)
XYZxyz(23.1381, 24.8574, 19.4954)
Luminance0.2486 (WCAG relative)
Temperatureneutral
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E8972 #72778E
analogous
#8E7B72 #8E8972 #858E72
triadic
#8E8972 #728E89 #89728E
tetradic
#8E8972 #728E7B #72778E #8E7285
square
#8E8972 #728E7B #72778E #8E7285
split-complementary
#8E8972 #72858E #7B728E
monochromatic
#4A483B #6C6857 #8E8972 #A9A594 #C4C2B6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8E8972#FFFFFF#000000##000000
##8E89721.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)
#8E8871
Deuteranopia (green-blind)
#8F8973
Tritanopia (blue-blind)
#938683
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #8e8972;
/* rgb */ color: rgb(142, 137, 114);
/* oklch */ color: oklch(62.8% 0.034 97.1);
Tailwind
colors: {
  custom: {
    50: '#afab9a',
    500: '#8e8972',
    950: '#000000',
  },
}
SCSS
$custom: #8e8972;
$custom-light: #afab9a;
$custom-dark: #000000;
JSON
{
  "hex": "#8e8972",
  "rgb": {
    "r": 142,
    "g": 137,
    "b": 114
  },
  "hsl": {
    "h": 49.286,
    "s": 11.024,
    "l": 50.196
  },
  "oklch": {
    "l": 0.628,
    "c": 0.03372,
    "h": 97.1
  },
  "luminance": 0.24857
}

Semantic roles & 50–950 ramp

primary
#8E8972
secondary
#A8AAB4
accent
#7FB474
background
#FAFAF9
surface
#F4F4F2
border
#CECECC
text
#10100E
muted
#7F7F7E

Preview Lab

Preview with #8E8972

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

Preview Lab → · Contrast checker → · Palette generator →

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