#8CA04A#8CA04A

#8CA04A is a light, moderate yellow-green. Relative luminance 0.312; OKLCH L 67.1% C 0.115 H 120.4°. Best body text is #000000 at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#8CA04A
RGBrgb(140, 160, 74)
HSLhsl(74, 37%, 46%)
HSVhsv(74, 54%, 63%)
CMYKcmyk(12.5%, 0%, 53.7%, 37.3%)
CIE-LABlab(62.69, -20.43, 41.94)
CIE-LCHlch(62.69, 46.65, 115.96°)
OKLaboklab(67.13% -0.0581 0.0988)
OKLCHoklch(67.13% 0.115 120.4)
XYZxyz(24.6223, 31.2115, 11.2045)
Luminance0.3121 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8CA04A #5E4AA0
analogous
#A0894A #8CA04A #61A04A
triadic
#8CA04A #4A8CA0 #A04A8C
tetradic
#8CA04A #4AA089 #5E4AA0 #A04A61
square
#8CA04A #4AA089 #5E4AA0 #A04A61
split-complementary
#8CA04A #4A61A0 #894AA0
monochromatic
#434C23 #677637 #8CA04A #A9BB6C #C1CE96

Accessibility & contrast

On white

2.90
#8CA04A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.24
#8CA04A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8CA04A
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8CA04A#FFFFFF#000000##000000
##8CA04A1.002.907.247.24
#FFFFFF2.901.0021.0021.00
#0000007.2421.001.001.00
##0000007.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A99842
Deuteranopia (green-blind)
#A6984F
Tritanopia (blue-blind)
#93998D
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #8ca04a;
/* rgb */ color: rgb(140, 160, 74);
/* oklch */ color: oklch(67.1% 0.115 120.4);
Tailwind
colors: {
  custom: {
    50: '#afbc7f',
    500: '#8ca04a',
    950: '#000000',
  },
}
SCSS
$custom: #8ca04a;
$custom-light: #afbc7f;
$custom-dark: #000000;
JSON
{
  "hex": "#8ca04a",
  "rgb": {
    "r": 140,
    "g": 160,
    "b": 74
  },
  "hsl": {
    "h": 73.953,
    "s": 36.752,
    "l": 45.882
  },
  "oklch": {
    "l": 0.67125,
    "c": 0.11461,
    "h": 120.4
  },
  "luminance": 0.31211
}

Semantic roles & 50–950 ramp

primary
#8CA04A
secondary
#968BBB
accent
#5BCD75
background
#FBFBF7
surface
#F6F6EE
border
#D0D0C9
text
#11120A
muted
#80817C

Preview Lab

Preview with #8CA04A

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

Preview Lab → · Contrast checker → · Palette generator →

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