#8A9C4E#8A9C4E

#8A9C4E is a light, moderate yellow-green. Relative luminance 0.297; OKLCH L 66.1% C 0.106 H 120.1°. Best body text is #000000 at 6.95:1 contrast (WCAG AA passes).

Color values

HEX#8A9C4E
RGBrgb(138, 156, 78)
HSLhsl(74, 33%, 46%)
HSVhsv(74, 50%, 61%)
CMYKcmyk(11.5%, 0%, 50%, 38.8%)
CIE-LABlab(61.42, -18.80, 38.42)
CIE-LCHlch(61.42, 42.77, 116.08°)
OKLaboklab(66.09% -0.053 0.0915)
OKLCHoklch(66.09% 0.106 120.1)
XYZxyz(23.7450, 29.7303, 11.6939)
Luminance0.2973 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9C4E #604E9C
analogous
#9C874E #8A9C4E #639C4E
triadic
#8A9C4E #4E8A9C #9C4E8A
tetradic
#8A9C4E #4E9C87 #604E9C #9C4E63
square
#8A9C4E #4E9C87 #604E9C #9C4E63
split-complementary
#8A9C4E #4E639C #874E9C
monochromatic
#424A25 #66733A #8A9C4E #A7B770 #C0CC99

Accessibility & contrast

On white

3.02
#8A9C4E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.95
#8A9C4E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A9C4E
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A9C4E#FFFFFF#000000##000000
##8A9C4E1.003.026.956.95
#FFFFFF3.021.0021.0021.00
#0000006.9521.001.001.00
##0000006.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A49447
Deuteranopia (green-blind)
#A29552
Tritanopia (blue-blind)
#90958A
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #8a9c4e;
/* rgb */ color: rgb(138, 156, 78);
/* oklch */ color: oklch(66.1% 0.106 120.1);
Tailwind
colors: {
  custom: {
    50: '#aeb981',
    500: '#8a9c4e',
    950: '#000000',
  },
}
SCSS
$custom: #8a9c4e;
$custom-light: #aeb981;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9c4e",
  "rgb": {
    "r": 138,
    "g": 156,
    "b": 78
  },
  "hsl": {
    "h": 73.846,
    "s": 33.333,
    "l": 45.882
  },
  "oklch": {
    "l": 0.66089,
    "c": 0.10575,
    "h": 120.1
  },
  "luminance": 0.2973
}

Semantic roles & 50–950 ramp

primary
#8A9C4E
secondary
#978DB8
accent
#5EC977
background
#FAFBF8
surface
#F4F6EF
border
#CED0CA
text
#10110A
muted
#7F807C

Preview Lab

Preview with #8A9C4E

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

Preview Lab → · Contrast checker → · Palette generator →

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