#8CA52A#8CA52A

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

Color values

HEX#8CA52A
RGBrgb(140, 165, 42)
HSLhsl(72, 59%, 41%)
HSVhsv(72, 75%, 65%)
CMYKcmyk(15.2%, 0%, 74.5%, 35.3%)
CIE-LABlab(63.88, -25.28, 56.88)
CIE-LCHlch(63.88, 62.24, 113.97°)
OKLaboklab(68% -0.0747 0.1261)
OKLCHoklch(68% 0.147 120.6)
XYZxyz(24.6887, 32.6529, 7.1921)
Luminance0.3265 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8CA52A #432AA5
analogous
#A5802A #8CA52A #4EA52A
triadic
#8CA52A #2A8CA5 #A52A8C
tetradic
#8CA52A #2AA580 #432AA5 #A52A4E
square
#8CA52A #2AA580 #432AA5 #A52A4E
split-complementary
#8CA52A #2A4EA5 #802AA5
monochromatic
#394311 #63741E #8CA52A #B1CE3E #C5DA6F

Accessibility & contrast

On white

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

On black

7.53
#8CA52A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8CA52A
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8CA52A#FFFFFF#000000##000000
##8CA52A1.002.797.537.53
#FFFFFF2.791.0021.0021.00
#0000007.5321.001.001.00
##0000007.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9B10
Deuteranopia (green-blind)
#AC9B35
Tritanopia (blue-blind)
#949C8D
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #8ca52a;
/* rgb */ color: rgb(140, 165, 42);
/* oklch */ color: oklch(68.0% 0.147 120.6);
Tailwind
colors: {
  custom: {
    50: '#b1bf6d',
    500: '#8ca52a',
    950: '#000000',
  },
}
SCSS
$custom: #8ca52a;
$custom-light: #b1bf6d;
$custom-dark: #000000;
JSON
{
  "hex": "#8ca52a",
  "rgb": {
    "r": 140,
    "g": 165,
    "b": 42
  },
  "hsl": {
    "h": 72.195,
    "s": 59.42,
    "l": 40.588
  },
  "oklch": {
    "l": 0.67998,
    "c": 0.14655,
    "h": 120.6
  },
  "luminance": 0.32653
}

Semantic roles & 50–950 ramp

primary
#8CA52A
secondary
#7B69C1
accent
#45E365
background
#FBFBF6
surface
#F6F7EC
border
#D0D0C7
text
#111207
muted
#80817A

Preview Lab

Preview with #8CA52A

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

Preview Lab → · Contrast checker → · Palette generator →

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