#8A9D4E#8A9D4E

#8A9D4E is a light, moderate yellow-green. Relative luminance 0.301; OKLCH L 66.3% C 0.107 H 120.6°. Best body text is #000000 at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#8A9D4E
RGBrgb(138, 157, 78)
HSLhsl(74, 34%, 46%)
HSVhsv(74, 50%, 62%)
CMYKcmyk(12.1%, 0%, 50.3%, 38.4%)
CIE-LABlab(61.71, -19.32, 38.77)
CIE-LCHlch(61.71, 43.31, 116.49°)
OKLaboklab(66.32% -0.0545 0.0923)
OKLCHoklch(66.32% 0.107 120.6)
XYZxyz(23.9135, 30.0673, 11.7500)
Luminance0.3007 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9D4E #614E9D
analogous
#9D884E #8A9D4E #629D4E
triadic
#8A9D4E #4E8A9D #9D4E8A
tetradic
#8A9D4E #4E9D88 #614E9D #9D4E62
square
#8A9D4E #4E9D88 #614E9D #9D4E62
split-complementary
#8A9D4E #4E629D #884E9D
monochromatic
#424B25 #66743A #8A9D4E #A7B870 #C0CC99

Accessibility & contrast

On white

2.99
#8A9D4E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.01
#8A9D4E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8A9D4E
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A9D4E#FFFFFF#000000##000000
##8A9D4E1.002.997.017.01
#FFFFFF2.991.0021.0021.00
#0000007.0121.001.001.00
##0000007.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A59547
Deuteranopia (green-blind)
#A39552
Tritanopia (blue-blind)
#90968B
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #8a9d4e;
/* rgb */ color: rgb(138, 157, 78);
/* oklch */ color: oklch(66.3% 0.107 120.6);
Tailwind
colors: {
  custom: {
    50: '#aeba81',
    500: '#8a9d4e',
    950: '#000000',
  },
}
SCSS
$custom: #8a9d4e;
$custom-light: #aeba81;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9d4e",
  "rgb": {
    "r": 138,
    "g": 157,
    "b": 78
  },
  "hsl": {
    "h": 74.43,
    "s": 33.617,
    "l": 46.078
  },
  "oklch": {
    "l": 0.66322,
    "c": 0.10714,
    "h": 120.6
  },
  "luminance": 0.30067
}

Semantic roles & 50–950 ramp

primary
#8A9D4E
secondary
#988EB9
accent
#5ECA78
background
#FAFBF8
surface
#F4F6EF
border
#CED0CA
text
#10110A
muted
#7F807C

Preview Lab

Preview with #8A9D4E

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

Preview Lab → · Contrast checker → · Palette generator →

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