#8A8D72#8A8D72

#8A8D72 is a light, muted yellow. Relative luminance 0.257; OKLCH L 63.3% C 0.039 H 112.7°. Best body text is #000000 at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#8A8D72
RGBrgb(138, 141, 114)
HSLhsl(67, 11%, 50%)
HSVhsv(67, 19%, 55%)
CMYKcmyk(2.1%, 0%, 19.1%, 44.7%)
CIE-LABlab(57.72, -5.99, 14.07)
CIE-LCHlch(57.72, 15.29, 113.06°)
OKLaboklab(63.34% -0.015 0.036)
OKLCHoklch(63.34% 0.039 112.7)
XYZxyz(23.0431, 25.6681, 19.6568)
Luminance0.2567 (WCAG relative)
Temperatureneutral
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8D72 #75728D
analogous
#8D8372 #8A8D72 #7C8D72
triadic
#8A8D72 #728A8D #8D728A
tetradic
#8A8D72 #728D83 #75728D #8D727C
square
#8A8D72 #728D83 #75728D #8D727C
split-complementary
#8A8D72 #727C8D #83728D
monochromatic
#48493B #696B57 #8A8D72 #A6A894 #C2C4B6

Accessibility & contrast

On white

3.42
#8A8D72 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.13
#8A8D72 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A8D72
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8D72#FFFFFF#000000##000000
##8A8D721.003.426.136.13
#FFFFFF3.421.0021.0021.00
#0000006.1321.001.001.00
##0000006.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#918A70
Deuteranopia (green-blind)
#918B73
Tritanopia (blue-blind)
#8E8A86
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #8a8d72;
/* rgb */ color: rgb(138, 141, 114);
/* oklch */ color: oklch(63.3% 0.039 112.7);
Tailwind
colors: {
  custom: {
    50: '#acae9a',
    500: '#8a8d72',
    950: '#000000',
  },
}
SCSS
$custom: #8a8d72;
$custom-light: #acae9a;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8d72",
  "rgb": {
    "r": 138,
    "g": 141,
    "b": 114
  },
  "hsl": {
    "h": 66.667,
    "s": 10.588,
    "l": 50
  },
  "oklch": {
    "l": 0.63338,
    "c": 0.03906,
    "h": 112.7
  },
  "luminance": 0.25668
}

Semantic roles & 50–950 ramp

primary
#8A8D72
secondary
#A9A7B3
accent
#74B47B
background
#FAFAF9
surface
#F4F4F2
border
#CECECC
text
#10100E
muted
#7F7F7E

Preview Lab

Preview with #8A8D72

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

Preview Lab → · Contrast checker → · Palette generator →

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