#8A9947#8A9947

#8A9947 is a light, moderate yellow-green. Relative luminance 0.286; OKLCH L 65.3% C 0.109 H 118.1°. Best body text is #000000 at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#8A9947
RGBrgb(138, 153, 71)
HSLhsl(71, 37%, 44%)
HSVhsv(71, 54%, 60%)
CMYKcmyk(9.8%, 0%, 53.6%, 40%)
CIE-LABlab(60.46, -17.96, 40.77)
CIE-LCHlch(60.46, 44.56, 113.77°)
OKLaboklab(65.29% -0.0513 0.096)
OKLCHoklch(65.29% 0.109 118.1)
XYZxyz(23.0101, 28.6408, 10.2761)
Luminance0.2864 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9947 #564799
analogous
#997F47 #8A9947 #619947
triadic
#8A9947 #478A99 #99478A
tetradic
#8A9947 #47997F #564799 #994761
square
#8A9947 #47997F #564799 #994761
split-complementary
#8A9947 #476199 #7F4799
monochromatic
#3F4520 #646F34 #8A9947 #A9B865 #C0CB8F

Accessibility & contrast

On white

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

On black

6.73
#8A9947 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A9947
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A9947#FFFFFF#000000##000000
##8A99471.003.126.736.73
#FFFFFF3.121.0021.0021.00
#0000006.7321.001.001.00
##0000006.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A2923F
Deuteranopia (green-blind)
#A0924C
Tritanopia (blue-blind)
#919287
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #8a9947;
/* rgb */ color: rgb(138, 153, 71);
/* oklch */ color: oklch(65.3% 0.109 118.1);
Tailwind
colors: {
  custom: {
    50: '#aeb77d',
    500: '#8a9947',
    950: '#000000',
  },
}
SCSS
$custom: #8a9947;
$custom-light: #aeb77d;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9947",
  "rgb": {
    "r": 138,
    "g": 153,
    "b": 71
  },
  "hsl": {
    "h": 70.976,
    "s": 36.607,
    "l": 43.922
  },
  "oklch": {
    "l": 0.65294,
    "c": 0.10887,
    "h": 118.1
  },
  "luminance": 0.28641
}

Semantic roles & 50–950 ramp

primary
#8A9947
secondary
#8E85B7
accent
#5BCD70
background
#FAFBF7
surface
#F5F6EE
border
#CFD0C9
text
#10110A
muted
#7F807C

Preview Lab

Preview with #8A9947

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

Preview Lab → · Contrast checker → · Palette generator →

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