#5FA242#5FA242

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

Color values

HEX#5FA242
RGBrgb(95, 162, 66)
HSLhsl(102, 42%, 45%)
HSVhsv(102, 59%, 64%)
CMYKcmyk(41.4%, 0%, 59.3%, 36.5%)
CIE-LABlab(60.49, -39.27, 42.53)
CIE-LCHlch(60.49, 57.89, 132.72°)
OKLaboklab(64.61% -0.1083 0.0998)
OKLCHoklch(64.61% 0.147 137.3)
XYZxyz(18.6225, 28.6659, 9.7050)
Luminance0.2867 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5FA242 #8542A2
analogous
#8FA242 #5FA242 #42A255
triadic
#5FA242 #425FA2 #A2425F
tetradic
#5FA242 #428FA2 #8542A2 #A25542
square
#5FA242 #428FA2 #8542A2 #A25542
split-complementary
#5FA242 #5542A2 #A2428F
monochromatic
#2C4B1F #467730 #5FA242 #7EBF62 #A2D18E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5FA242#FFFFFF#000000##000000
##5FA2421.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)
#A79538
Deuteranopia (green-blind)
#9E9049
Tritanopia (blue-blind)
#5C9D8D
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #5fa242;
/* rgb */ color: rgb(95, 162, 66);
/* oklch */ color: oklch(64.6% 0.147 137.3);
Tailwind
colors: {
  custom: {
    50: '#91be7a',
    500: '#5fa242',
    950: '#000000',
  },
}
SCSS
$custom: #5fa242;
$custom-light: #91be7a;
$custom-dark: #000000;
JSON
{
  "hex": "#5fa242",
  "rgb": {
    "r": 95,
    "g": 162,
    "b": 66
  },
  "hsl": {
    "h": 101.875,
    "s": 42.105,
    "l": 44.706
  },
  "oklch": {
    "l": 0.64606,
    "c": 0.1473,
    "h": 137.3
  },
  "luminance": 0.28667
}

Semantic roles & 50–950 ramp

primary
#5FA242
secondary
#AB84BC
accent
#56D2AC
background
#F9FBF7
surface
#F1F7EE
border
#CBD0C9
text
#0D1209
muted
#7E817B

Preview Lab

Preview with #5FA242

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

Preview Lab → · Contrast checker → · Palette generator →

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