#5FA252#5FA252

#5FA252 is a light, vivid green. Relative luminance 0.289; OKLCH L 64.8% C 0.132 H 140.4°. Best body text is #000000 at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#5FA252
RGBrgb(95, 162, 82)
HSLhsl(110, 33%, 48%)
HSVhsv(110, 49%, 64%)
CMYKcmyk(41.4%, 0%, 49.4%, 36.5%)
CIE-LABlab(60.68, -37.32, 34.88)
CIE-LCHlch(60.68, 51.08, 136.94°)
OKLaboklab(64.82% -0.102 0.0843)
OKLCHoklch(64.82% 0.132 140.4)
XYZxyz(19.1619, 28.8816, 12.5460)
Luminance0.2888 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5FA252 #9552A2
analogous
#87A252 #5FA252 #52A26D
triadic
#5FA252 #525FA2 #A2525F
tetradic
#5FA252 #5287A2 #9552A2 #A26D52
square
#5FA252 #5287A2 #9552A2 #A26D52
split-complementary
#5FA252 #6D52A2 #A25287
monochromatic
#2F5129 #47793D #5FA252 #82BA77 #A7CFA0

Accessibility & contrast

On white

3.10
#5FA252 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.78
#5FA252 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5FA252
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5FA252#FFFFFF#000000##000000
##5FA2521.003.106.786.78
#FFFFFF3.101.0021.0021.00
#0000006.7821.001.001.00
##0000006.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A6964B
Deuteranopia (green-blind)
#9C9057
Tritanopia (blue-blind)
#599E8F
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #5fa252;
/* rgb */ color: rgb(95, 162, 82);
/* oklch */ color: oklch(64.8% 0.132 140.4);
Tailwind
colors: {
  custom: {
    50: '#90be84',
    500: '#5fa252',
    950: '#000000',
  },
}
SCSS
$custom: #5fa252;
$custom-light: #90be84;
$custom-dark: #000000;
JSON
{
  "hex": "#5fa252",
  "rgb": {
    "r": 95,
    "g": 162,
    "b": 82
  },
  "hsl": {
    "h": 110.25,
    "s": 32.787,
    "l": 47.843
  },
  "oklch": {
    "l": 0.64824,
    "c": 0.13234,
    "h": 140.4
  },
  "luminance": 0.28883
}

Semantic roles & 50–950 ramp

primary
#5FA252
secondary
#B594BC
accent
#5FC9B8
background
#F9FBF8
surface
#F1F7EF
border
#CBD0CA
text
#0D120B
muted
#7E817C

Preview Lab

Preview with #5FA252

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

Preview Lab → · Contrast checker → · Palette generator →

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