#5FA940#5FA940

#5FA940 is a light, vivid green. Relative luminance 0.312; OKLCH L 66.4% C 0.159 H 137.6°. Best body text is #000000 at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#5FA940
RGBrgb(95, 169, 64)
HSLhsl(102, 45%, 46%)
HSVhsv(102, 62%, 66%)
CMYKcmyk(43.8%, 0%, 62.1%, 33.7%)
CIE-LABlab(62.66, -42.48, 45.92)
CIE-LCHlch(62.66, 62.55, 132.77°)
OKLaboklab(66.38% -0.1172 0.1069)
OKLCHoklch(66.38% 0.159 137.6)
XYZxyz(19.8321, 31.1778, 9.8224)
Luminance0.3118 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5FA940 #8A40A9
analogous
#93A940 #5FA940 #40A956
triadic
#5FA940 #405FA9 #A9405F
tetradic
#5FA940 #4093A9 #8A40A9 #A95640
square
#5FA940 #4093A9 #8A40A9 #A95640
split-complementary
#5FA940 #5640A9 #A94093
monochromatic
#2D501E #467D2F #5FA940 #7FC462 #A3D58F

Accessibility & contrast

On white

2.90
#5FA940 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.24
#5FA940 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5FA940
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5FA940#FFFFFF#000000##000000
##5FA9401.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)
#AE9C34
Deuteranopia (green-blind)
#A49548
Tritanopia (blue-blind)
#5BA393
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #5fa940;
/* rgb */ color: rgb(95, 169, 64);
/* oklch */ color: oklch(66.4% 0.159 137.6);
Tailwind
colors: {
  custom: {
    50: '#92c379',
    500: '#5fa940',
    950: '#000000',
  },
}
SCSS
$custom: #5fa940;
$custom-light: #92c379;
$custom-dark: #000000;
JSON
{
  "hex": "#5fa940",
  "rgb": {
    "r": 95,
    "g": 169,
    "b": 64
  },
  "hsl": {
    "h": 102.286,
    "s": 45.064,
    "l": 45.686
  },
  "oklch": {
    "l": 0.66376,
    "c": 0.15861,
    "h": 137.6
  },
  "luminance": 0.31179
}

Semantic roles & 50–950 ramp

primary
#5FA940
secondary
#AE85C0
accent
#53D5AE
background
#F9FCF7
surface
#F2F8EE
border
#CCD1C9
text
#0D1209
muted
#7E817B

Preview Lab

Preview with #5FA940

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

Preview Lab → · Contrast checker → · Palette generator →

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