#8A985F#8A985F

#8A985F is a light, moderate yellow-green. Relative luminance 0.287; OKLCH L 65.4% C 0.081 H 119.9°. Best body text is #000000 at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#8A985F
RGBrgb(138, 152, 95)
HSLhsl(75, 23%, 48%)
HSVhsv(75, 38%, 60%)
CMYKcmyk(9.2%, 0%, 37.5%, 40.4%)
CIE-LABlab(60.50, -14.72, 28.36)
CIE-LCHlch(60.50, 31.95, 117.43°)
OKLaboklab(65.43% -0.0402 0.0698)
OKLCHoklch(65.43% 0.081 119.9)
XYZxyz(23.7750, 28.6860, 15.1087)
Luminance0.2869 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A985F #6D5F98
analogous
#98895F #8A985F #6D985F
triadic
#8A985F #5F8A98 #985F8A
tetradic
#8A985F #5F9889 #6D5F98 #985F6D
square
#8A985F #5F9889 #6D5F98 #985F6D
split-complementary
#8A985F #5F6D98 #895F98
monochromatic
#464D30 #687247 #8A985F #A6B183 #C1C9A8

Accessibility & contrast

On white

3.12
#8A985F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.74
#8A985F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A985F
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A985F#FFFFFF#000000##000000
##8A985F1.003.126.746.74
#FFFFFF3.121.0021.0021.00
#0000006.7421.001.001.00
##0000006.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#9F925B
Deuteranopia (green-blind)
#9D9262
Tritanopia (blue-blind)
#8F928A
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #8a985f;
/* rgb */ color: rgb(138, 152, 95);
/* oklch */ color: oklch(65.4% 0.081 119.9);
Tailwind
colors: {
  custom: {
    50: '#adb68d',
    500: '#8a985f',
    950: '#000000',
  },
}
SCSS
$custom: #8a985f;
$custom-light: #adb68d;
$custom-dark: #000000;
JSON
{
  "hex": "#8a985f",
  "rgb": {
    "r": 138,
    "g": 152,
    "b": 95
  },
  "hsl": {
    "h": 74.737,
    "s": 23.077,
    "l": 48.431
  },
  "oklch": {
    "l": 0.65434,
    "c": 0.08058,
    "h": 119.9
  },
  "luminance": 0.28686
}

Semantic roles & 50–950 ramp

primary
#8A985F
secondary
#A29CB7
accent
#68C07E
background
#FAFBF8
surface
#F4F6F0
border
#CED0CB
text
#10110C
muted
#7F807D

Preview Lab

Preview with #8A985F

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

Preview Lab → · Contrast checker → · Palette generator →

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