#5FB240#5FB240

#5FB240 is a light, vivid green. Relative luminance 0.346; OKLCH L 68.7% C 0.171 H 138.3°. Best body text is #000000 at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#5FB240
RGBrgb(95, 178, 64)
HSLhsl(104, 47%, 47%)
HSVhsv(104, 64%, 70%)
CMYKcmyk(46.6%, 0%, 64%, 30.2%)
CIE-LABlab(65.47, -46.21, 49.04)
CIE-LCHlch(65.47, 67.38, 133.29°)
OKLaboklab(68.68% -0.1273 0.1135)
OKLCHoklch(68.68% 0.171 138.3)
XYZxyz(21.5644, 34.6424, 10.3998)
Luminance0.3464 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5FB240 #9340B2
analogous
#98B240 #5FB240 #40B25A
triadic
#5FB240 #405FB2 #B2405F
tetradic
#5FB240 #4098B2 #9340B2 #B25A40
square
#5FB240 #4098B2 #9340B2 #B25A40
split-complementary
#5FB240 #5A40B2 #B24098
monochromatic
#2F5820 #478530 #5FB240 #81C867 #A7D894

Accessibility & contrast

On white

2.65
#5FB240 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.93
#5FB240 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5FB240
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5FB240#FFFFFF#000000##000000
##5FB2401.002.657.937.93
#FFFFFF2.651.0021.0021.00
#0000007.9321.001.001.00
##0000007.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A332
Deuteranopia (green-blind)
#AC9C49
Tritanopia (blue-blind)
#59AC9A
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #5fb240;
/* rgb */ color: rgb(95, 178, 64);
/* oklch */ color: oklch(68.7% 0.171 138.3);
Tailwind
colors: {
  custom: {
    50: '#93ca7a',
    500: '#5fb240',
    950: '#000000',
  },
}
SCSS
$custom: #5fb240;
$custom-light: #93ca7a;
$custom-dark: #000000;
JSON
{
  "hex": "#5fb240",
  "rgb": {
    "r": 95,
    "g": 178,
    "b": 64
  },
  "hsl": {
    "h": 103.684,
    "s": 47.107,
    "l": 47.451
  },
  "oklch": {
    "l": 0.6868,
    "c": 0.17058,
    "h": 138.3
  },
  "luminance": 0.34644
}

Semantic roles & 50–950 ramp

primary
#5FB240
secondary
#B48AC4
accent
#51D7B2
background
#F9FCF7
surface
#F2F8EE
border
#CCD1C9
text
#0E1309
muted
#7E827B

Preview Lab

Preview with #5FB240

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

Preview Lab → · Contrast checker → · Palette generator →

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