#8A9E4E#8A9E4E

#8A9E4E is a light, moderate yellow-green. Relative luminance 0.304; OKLCH L 66.6% C 0.109 H 121.0°. Best body text is #000000 at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#8A9E4E
RGBrgb(138, 158, 78)
HSLhsl(75, 34%, 46%)
HSVhsv(75, 51%, 62%)
CMYKcmyk(12.7%, 0%, 50.6%, 38%)
CIE-LABlab(62.00, -19.83, 39.12)
CIE-LCHlch(62.00, 43.86, 116.88°)
OKLaboklab(66.56% -0.0559 0.093)
OKLCHoklch(66.56% 0.109 121)
XYZxyz(24.0834, 30.4071, 11.8066)
Luminance0.3041 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9E4E #624E9E
analogous
#9E8A4E #8A9E4E #629E4E
triadic
#8A9E4E #4E8A9E #9E4E8A
tetradic
#8A9E4E #4E9E8A #624E9E #9E4E62
square
#8A9E4E #4E9E8A #624E9E #9E4E62
split-complementary
#8A9E4E #4E629E #8A4E9E
monochromatic
#424C26 #66753A #8A9E4E #A7B971 #C0CD9A

Accessibility & contrast

On white

2.97
#8A9E4E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.08
#8A9E4E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8A9E4E
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A9E4E#FFFFFF#000000##000000
##8A9E4E1.002.977.087.08
#FFFFFF2.971.0021.0021.00
#0000007.0821.001.001.00
##0000007.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A69647
Deuteranopia (green-blind)
#A49653
Tritanopia (blue-blind)
#90978C
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #8a9e4e;
/* rgb */ color: rgb(138, 158, 78);
/* oklch */ color: oklch(66.6% 0.109 121.0);
Tailwind
colors: {
  custom: {
    50: '#aeba81',
    500: '#8a9e4e',
    950: '#000000',
  },
}
SCSS
$custom: #8a9e4e;
$custom-light: #aeba81;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9e4e",
  "rgb": {
    "r": 138,
    "g": 158,
    "b": 78
  },
  "hsl": {
    "h": 75,
    "s": 33.898,
    "l": 46.275
  },
  "oklch": {
    "l": 0.66556,
    "c": 0.10854,
    "h": 121
  },
  "luminance": 0.30407
}

Semantic roles & 50–950 ramp

primary
#8A9E4E
secondary
#998EBA
accent
#5ECA79
background
#FAFBF8
surface
#F4F6EF
border
#CED0CA
text
#10110A
muted
#7F807C

Preview Lab

Preview with #8A9E4E

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

Preview Lab → · Contrast checker → · Palette generator →

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