#5FA342#5FA342

#5FA342 is a light, vivid green. Relative luminance 0.290; OKLCH L 64.9% C 0.149 H 137.4°. Best body text is #000000 at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#5FA342
RGBrgb(95, 163, 66)
HSLhsl(102, 42%, 45%)
HSVhsv(102, 60%, 64%)
CMYKcmyk(41.7%, 0%, 59.5%, 36.1%)
CIE-LABlab(60.80, -39.71, 42.89)
CIE-LCHlch(60.80, 58.45, 132.79°)
OKLaboklab(64.86% -0.1095 0.1006)
OKLCHoklch(64.86% 0.149 137.4)
XYZxyz(18.7993, 29.0196, 9.7640)
Luminance0.2902 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5FA342 #8642A3
analogous
#8FA342 #5FA342 #42A356
triadic
#5FA342 #425FA3 #A3425F
tetradic
#5FA342 #428FA3 #8642A3 #A35642
square
#5FA342 #428FA3 #8642A3 #A35642
split-complementary
#5FA342 #5642A3 #A3428F
monochromatic
#2C4C1F #467730 #5FA342 #7EC063 #A2D18E

Accessibility & contrast

On white

3.09
#5FA342 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.80
#5FA342 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5FA342
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5FA342#FFFFFF#000000##000000
##5FA3421.003.096.806.80
#FFFFFF3.091.0021.0021.00
#0000006.8021.001.001.00
##0000006.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A89638
Deuteranopia (green-blind)
#9F9049
Tritanopia (blue-blind)
#5C9E8E
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #5fa342;
/* rgb */ color: rgb(95, 163, 66);
/* oklch */ color: oklch(64.9% 0.149 137.4);
Tailwind
colors: {
  custom: {
    50: '#91bf7a',
    500: '#5fa342',
    950: '#000000',
  },
}
SCSS
$custom: #5fa342;
$custom-light: #91bf7a;
$custom-dark: #000000;
JSON
{
  "hex": "#5fa342",
  "rgb": {
    "r": 95,
    "g": 163,
    "b": 66
  },
  "hsl": {
    "h": 102.062,
    "s": 42.358,
    "l": 44.902
  },
  "oklch": {
    "l": 0.64862,
    "c": 0.1487,
    "h": 137.4
  },
  "luminance": 0.29021
}

Semantic roles & 50–950 ramp

primary
#5FA342
secondary
#AC84BC
accent
#56D2AD
background
#F9FBF7
surface
#F1F7EE
border
#CBD0C9
text
#0D1209
muted
#7E817B

Preview Lab

Preview with #5FA342

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

Preview Lab → · Contrast checker → · Palette generator →

#5FA342 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva