#8CA45F#8CA45F

#8CA45F is a light, moderate yellow-green. Relative luminance 0.330; OKLCH L 68.4% C 0.098 H 124.6°. Best body text is #000000 at 7.59:1 contrast (WCAG AA passes).

Color values

HEX#8CA45F
RGBrgb(140, 164, 95)
HSLhsl(81, 27%, 51%)
HSVhsv(81, 42%, 64%)
CMYKcmyk(14.6%, 0%, 42.1%, 35.7%)
CIE-LABlab(64.12, -20.13, 33.03)
CIE-LCHlch(64.12, 38.68, 121.36°)
OKLaboklab(68.37% -0.0555 0.0805)
OKLCHoklch(68.37% 0.098 124.6)
XYZxyz(26.1561, 32.9524, 15.8067)
Luminance0.3295 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8CA45F #775FA4
analogous
#A4995F #8CA45F #69A45F
triadic
#8CA45F #5F8CA4 #A45F8C
tetradic
#8CA45F #5FA499 #775FA4 #A45F69
square
#8CA45F #5FA499 #775FA4 #A45F69
split-complementary
#8CA45F #5F69A4 #995FA4
monochromatic
#4A5732 #6B7E48 #8CA45F #A8BA86 #C4D0AD

Accessibility & contrast

On white

2.77
#8CA45F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.59
#8CA45F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8CA45F
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8CA45F#FFFFFF#000000##000000
##8CA45F1.002.777.597.59
#FFFFFF2.771.0021.0021.00
#0000007.5921.001.001.00
##0000007.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB9C5A
Deuteranopia (green-blind)
#A89B63
Tritanopia (blue-blind)
#909E93
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #8ca45f;
/* rgb */ color: rgb(140, 164, 95);
/* oklch */ color: oklch(68.4% 0.098 124.6);
Tailwind
colors: {
  custom: {
    50: '#afbf8d',
    500: '#8ca45f',
    950: '#000000',
  },
}
SCSS
$custom: #8ca45f;
$custom-light: #afbf8d;
$custom-dark: #000000;
JSON
{
  "hex": "#8ca45f",
  "rgb": {
    "r": 140,
    "g": 164,
    "b": 95
  },
  "hsl": {
    "h": 80.87,
    "s": 27.49,
    "l": 50.784
  },
  "oklch": {
    "l": 0.68367,
    "c": 0.09783,
    "h": 124.6
  },
  "luminance": 0.32953
}

Semantic roles & 50–950 ramp

primary
#8CA45F
secondary
#ABA0BF
accent
#64C485
background
#FAFBF8
surface
#F4F7F0
border
#CED0CB
text
#10120C
muted
#7F817D

Preview Lab

Preview with #8CA45F

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

Preview Lab → · Contrast checker → · Palette generator →

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