#8A9F4E#8A9F4E

#8A9F4E is a light, moderate yellow-green. Relative luminance 0.307; OKLCH L 66.8% C 0.110 H 121.4°. Best body text is #000000 at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#8A9F4E
RGBrgb(138, 159, 78)
HSLhsl(76, 34%, 46%)
HSVhsv(76, 51%, 62%)
CMYKcmyk(13.2%, 0%, 50.9%, 37.6%)
CIE-LABlab(62.30, -20.34, 39.47)
CIE-LCHlch(62.30, 44.40, 117.26°)
OKLaboklab(66.79% -0.0573 0.0938)
OKLCHoklch(66.79% 0.11 121.4)
XYZxyz(24.2546, 30.7496, 11.8637)
Luminance0.3075 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9F4E #634E9F
analogous
#9F8C4E #8A9F4E #629F4E
triadic
#8A9F4E #4E8A9F #9F4E8A
tetradic
#8A9F4E #4E9F8C #634E9F #9F4E62
square
#8A9F4E #4E9F8C #634E9F #9F4E62
split-complementary
#8A9F4E #4E629F #8C4E9F
monochromatic
#434D26 #66763A #8A9F4E #A7B971 #C0CD9A

Accessibility & contrast

On white

2.94
#8A9F4E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.15
#8A9F4E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8A9F4E
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A9F4E#FFFFFF#000000##000000
##8A9F4E1.002.947.157.15
#FFFFFF2.941.0021.0021.00
#0000007.1521.001.001.00
##0000007.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A79747
Deuteranopia (green-blind)
#A59753
Tritanopia (blue-blind)
#90988C
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #8a9f4e;
/* rgb */ color: rgb(138, 159, 78);
/* oklch */ color: oklch(66.8% 0.110 121.4);
Tailwind
colors: {
  custom: {
    50: '#aebb82',
    500: '#8a9f4e',
    950: '#000000',
  },
}
SCSS
$custom: #8a9f4e;
$custom-light: #aebb82;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9f4e",
  "rgb": {
    "r": 138,
    "g": 159,
    "b": 78
  },
  "hsl": {
    "h": 75.556,
    "s": 34.177,
    "l": 46.471
  },
  "oklch": {
    "l": 0.66791,
    "c": 0.10993,
    "h": 121.4
  },
  "luminance": 0.3075
}

Semantic roles & 50–950 ramp

primary
#8A9F4E
secondary
#9A8FBA
accent
#5ECA7A
background
#FAFBF8
surface
#F4F6EF
border
#CED0CA
text
#10110A
muted
#7F807C

Preview Lab

Preview with #8A9F4E

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

Preview Lab → · Contrast checker → · Palette generator →

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