#5FA240#5FA240

#5FA240 is a light, vivid green. Relative luminance 0.286; OKLCH L 64.6% C 0.149 H 137.0°. Best body text is #000000 at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#5FA240
RGBrgb(95, 162, 64)
HSLhsl(101, 43%, 44%)
HSVhsv(101, 60%, 64%)
CMYKcmyk(41.4%, 0%, 60.5%, 36.5%)
CIE-LABlab(60.47, -39.49, 43.44)
CIE-LCHlch(60.47, 58.71, 132.27°)
OKLaboklab(64.58% -0.109 0.1016)
OKLCHoklch(64.58% 0.149 137)
XYZxyz(18.5645, 28.6427, 9.3999)
Luminance0.2864 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5FA240 #8340A2
analogous
#90A240 #5FA240 #40A252
triadic
#5FA240 #405FA2 #A2405F
tetradic
#5FA240 #4090A2 #8340A2 #A25240
square
#5FA240 #4090A2 #8340A2 #A25240
split-complementary
#5FA240 #5240A2 #A24090
monochromatic
#2C4A1D #45762F #5FA240 #7EC05F #A1D18B

Accessibility & contrast

On white

3.12
#5FA240 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.73
#5FA240 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5FA240
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5FA240#FFFFFF#000000##000000
##5FA2401.003.126.736.73
#FFFFFF3.121.0021.0021.00
#0000006.7321.001.001.00
##0000006.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A79535
Deuteranopia (green-blind)
#9E9047
Tritanopia (blue-blind)
#5C9D8D
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #5fa240;
/* rgb */ color: rgb(95, 162, 64);
/* oklch */ color: oklch(64.6% 0.149 137.0);
Tailwind
colors: {
  custom: {
    50: '#91be78',
    500: '#5fa240',
    950: '#000000',
  },
}
SCSS
$custom: #5fa240;
$custom-light: #91be78;
$custom-dark: #000000;
JSON
{
  "hex": "#5fa240",
  "rgb": {
    "r": 95,
    "g": 162,
    "b": 64
  },
  "hsl": {
    "h": 101.02,
    "s": 43.363,
    "l": 44.314
  },
  "oklch": {
    "l": 0.64582,
    "c": 0.14902,
    "h": 137
  },
  "luminance": 0.28644
}

Semantic roles & 50–950 ramp

primary
#5FA240
secondary
#AA82BC
accent
#55D3AB
background
#F9FBF7
surface
#F1F7ED
border
#CBD0C8
text
#0D1209
muted
#7E817B

Preview Lab

Preview with #5FA240

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

Preview Lab → · Contrast checker → · Palette generator →

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