#8A9847#8A9847

#8A9847 is a light, moderate yellow-green. Relative luminance 0.283; OKLCH L 65.1% C 0.108 H 117.6°. Best body text is #000000 at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#8A9847
RGBrgb(138, 152, 71)
HSLhsl(70, 36%, 44%)
HSVhsv(70, 53%, 60%)
CMYKcmyk(9.2%, 0%, 53.3%, 40.4%)
CIE-LABlab(60.17, -17.44, 40.43)
CIE-LCHlch(60.17, 44.04, 113.33°)
OKLaboklab(65.06% -0.0499 0.0953)
OKLCHoklch(65.06% 0.108 117.6)
XYZxyz(22.8471, 28.3149, 10.2217)
Luminance0.2832 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9847 #554798
analogous
#987D47 #8A9847 #619847
triadic
#8A9847 #478A98 #98478A
tetradic
#8A9847 #47987D #554798 #984761
square
#8A9847 #47987D #554798 #984761
split-complementary
#8A9847 #476198 #7D4798
monochromatic
#3E4520 #646E34 #8A9847 #A9B765 #C0CB8F

Accessibility & contrast

On white

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

On black

6.66
#8A9847 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A9847
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A9847#FFFFFF#000000##000000
##8A98471.003.156.666.66
#FFFFFF3.151.0021.0021.00
#0000006.6621.001.001.00
##0000006.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A1913F
Deuteranopia (green-blind)
#A0924C
Tritanopia (blue-blind)
#919186
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #8a9847;
/* rgb */ color: rgb(138, 152, 71);
/* oklch */ color: oklch(65.1% 0.108 117.6);
Tailwind
colors: {
  custom: {
    50: '#aeb67d',
    500: '#8a9847',
    950: '#000000',
  },
}
SCSS
$custom: #8a9847;
$custom-light: #aeb67d;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9847",
  "rgb": {
    "r": 138,
    "g": 152,
    "b": 71
  },
  "hsl": {
    "h": 70.37,
    "s": 36.323,
    "l": 43.725
  },
  "oklch": {
    "l": 0.65061,
    "c": 0.10753,
    "h": 117.6
  },
  "luminance": 0.28315
}

Semantic roles & 50–950 ramp

primary
#8A9847
secondary
#8D85B6
accent
#5BCC6F
background
#FAFBF7
surface
#F5F6EE
border
#CFD0C9
text
#10110A
muted
#7F807C

Preview Lab

Preview with #8A9847

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

Preview Lab → · Contrast checker → · Palette generator →

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