#8CA52F#8CA52F

#8CA52F is a light, vivid yellow-green. Relative luminance 0.327; OKLCH L 68.0% C 0.143 H 120.8°. Best body text is #000000 at 7.54:1 contrast (WCAG AA passes).

Color values

HEX#8CA52F
RGBrgb(140, 165, 47)
HSLhsl(73, 56%, 42%)
HSVhsv(73, 72%, 65%)
CMYKcmyk(15.2%, 0%, 71.5%, 35.3%)
CIE-LABlab(63.91, -25.01, 55.09)
CIE-LCHlch(63.91, 60.50, 114.41°)
OKLaboklab(68.03% -0.0735 0.1232)
OKLCHoklch(68.03% 0.143 120.8)
XYZxyz(24.7838, 32.6910, 7.6931)
Luminance0.3269 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8CA52F #482FA5
analogous
#A5832F #8CA52F #51A52F
triadic
#8CA52F #2F8CA5 #A52F8C
tetradic
#8CA52F #2FA583 #482FA5 #A52F51
square
#8CA52F #2FA583 #482FA5 #A52F51
split-complementary
#8CA52F #2F51A5 #832FA5
monochromatic
#3B4614 #647521 #8CA52F #AFCB47 #C3D876

Accessibility & contrast

On white

2.79
#8CA52F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.54
#8CA52F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8CA52F
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8CA52F#FFFFFF#000000##000000
##8CA52F1.002.797.547.54
#FFFFFF2.791.0021.0021.00
#0000007.5421.001.001.00
##0000007.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9B1B
Deuteranopia (green-blind)
#AC9B39
Tritanopia (blue-blind)
#949C8E
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #8ca52f;
/* rgb */ color: rgb(140, 165, 47);
/* oklch */ color: oklch(68.0% 0.143 120.8);
Tailwind
colors: {
  custom: {
    50: '#b1bf6f',
    500: '#8ca52f',
    950: '#000000',
  },
}
SCSS
$custom: #8ca52f;
$custom-light: #b1bf6f;
$custom-dark: #000000;
JSON
{
  "hex": "#8ca52f",
  "rgb": {
    "r": 140,
    "g": 165,
    "b": 47
  },
  "hsl": {
    "h": 72.712,
    "s": 55.66,
    "l": 41.569
  },
  "oklch": {
    "l": 0.68033,
    "c": 0.14343,
    "h": 120.8
  },
  "luminance": 0.32691
}

Semantic roles & 50–950 ramp

primary
#8CA52F
secondary
#8170C0
accent
#49DF69
background
#FBFBF7
surface
#F6F7ED
border
#D0D0C8
text
#111208
muted
#80817B

Preview Lab

Preview with #8CA52F

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

Preview Lab → · Contrast checker → · Palette generator →

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