#8A975F#8A975F

#8A975F is a light, moderate yellow-green. Relative luminance 0.284; OKLCH L 65.2% C 0.079 H 119.3°. Best body text is #000000 at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#8A975F
RGBrgb(138, 151, 95)
HSLhsl(74, 23%, 48%)
HSVhsv(74, 37%, 59%)
CMYKcmyk(8.6%, 0%, 37.1%, 40.8%)
CIE-LABlab(60.22, -14.19, 27.99)
CIE-LCHlch(60.22, 31.38, 116.89°)
OKLaboklab(65.2% -0.0387 0.069)
OKLCHoklch(65.2% 0.079 119.3)
XYZxyz(23.6134, 28.3628, 15.0548)
Luminance0.2836 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A975F #6C5F97
analogous
#97885F #8A975F #6E975F
triadic
#8A975F #5F8A97 #975F8A
tetradic
#8A975F #5F9788 #6C5F97 #975F6E
square
#8A975F #5F9788 #6C5F97 #975F6E
split-complementary
#8A975F #5F6E97 #885F97
monochromatic
#454C30 #687147 #8A975F #A6B183 #C1C8A8

Accessibility & contrast

On white

3.15
#8A975F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.67
#8A975F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A975F
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A975F#FFFFFF#000000##000000
##8A975F1.003.156.676.67
#FFFFFF3.151.0021.0021.00
#0000006.6721.001.001.00
##0000006.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#9E915B
Deuteranopia (green-blind)
#9C9162
Tritanopia (blue-blind)
#8F9189
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #8a975f;
/* rgb */ color: rgb(138, 151, 95);
/* oklch */ color: oklch(65.2% 0.079 119.3);
Tailwind
colors: {
  custom: {
    50: '#adb58d',
    500: '#8a975f',
    950: '#000000',
  },
}
SCSS
$custom: #8a975f;
$custom-light: #adb58d;
$custom-dark: #000000;
JSON
{
  "hex": "#8a975f",
  "rgb": {
    "r": 138,
    "g": 151,
    "b": 95
  },
  "hsl": {
    "h": 73.929,
    "s": 22.764,
    "l": 48.235
  },
  "oklch": {
    "l": 0.65203,
    "c": 0.07909,
    "h": 119.3
  },
  "luminance": 0.28363
}

Semantic roles & 50–950 ramp

primary
#8A975F
secondary
#A29BB7
accent
#69BF7D
background
#FAFBF8
surface
#F4F6F0
border
#CED0CB
text
#10110C
muted
#7F807D

Preview Lab

Preview with #8A975F

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

Preview Lab → · Contrast checker → · Palette generator →

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