#8A9D4F#8A9D4F

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

Color values

HEX#8A9D4F
RGBrgb(138, 157, 79)
HSLhsl(75, 33%, 46%)
HSVhsv(75, 50%, 62%)
CMYKcmyk(12.1%, 0%, 49.7%, 38.4%)
CIE-LABlab(61.72, -19.21, 38.28)
CIE-LCHlch(61.72, 42.83, 116.65°)
OKLaboklab(66.34% -0.0541 0.0913)
OKLCHoklch(66.34% 0.106 120.7)
XYZxyz(23.9496, 30.0818, 11.9403)
Luminance0.3008 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9D4F #624F9D
analogous
#9D894F #8A9D4F #639D4F
triadic
#8A9D4F #4F8A9D #9D4F8A
tetradic
#8A9D4F #4F9D89 #624F9D #9D4F63
square
#8A9D4F #4F9D89 #624F9D #9D4F63
split-complementary
#8A9D4F #4F639D #894F9D
monochromatic
#424C26 #66743B #8A9D4F #A7B871 #C0CC9A

Accessibility & contrast

On white

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

On black

7.02
#8A9D4F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8A9D4F
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A9D4F#FFFFFF#000000##000000
##8A9D4F1.002.997.027.02
#FFFFFF2.991.0021.0021.00
#0000007.0221.001.001.00
##0000007.0221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8a9d4f;
/* rgb */ color: rgb(138, 157, 79);
/* oklch */ color: oklch(66.3% 0.106 120.7);
Tailwind
colors: {
  custom: {
    50: '#aeba82',
    500: '#8a9d4f',
    950: '#000000',
  },
}
SCSS
$custom: #8a9d4f;
$custom-light: #aeba82;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9d4f",
  "rgb": {
    "r": 138,
    "g": 157,
    "b": 79
  },
  "hsl": {
    "h": 74.615,
    "s": 33.051,
    "l": 46.275
  },
  "oklch": {
    "l": 0.66336,
    "c": 0.10609,
    "h": 120.7
  },
  "luminance": 0.30082
}

Semantic roles & 50–950 ramp

primary
#8A9D4F
secondary
#998FB9
accent
#5FC979
background
#FAFBF8
surface
#F4F6EF
border
#CED0CA
text
#10110A
muted
#7F807C

Preview Lab

Preview with #8A9D4F

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

Preview Lab → · Contrast checker → · Palette generator →

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