#5FA871#5FA871

#5FA871 is a light, moderate green. Relative luminance 0.316; OKLCH L 66.9% C 0.110 H 150.5°. Best body text is #000000 at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#5FA871
RGBrgb(95, 168, 113)
HSLhsl(135, 30%, 52%)
HSVhsv(135, 43%, 66%)
CMYKcmyk(43.5%, 0%, 32.7%, 34.1%)
CIE-LABlab(63.04, -35.07, 21.49)
CIE-LCHlch(63.04, 41.13, 148.50°)
OKLaboklab(66.91% -0.0956 0.0541)
OKLCHoklch(66.91% 0.11 150.5)
XYZxyz(21.7013, 31.6290, 20.5811)
Luminance0.3163 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5FA871 #A85F96
analogous
#72A85F #5FA871 #5FA896
triadic
#5FA871 #715FA8 #A8715F
tetradic
#5FA871 #5F72A8 #A85F96 #A8965F
square
#5FA871 #5F72A8 #A85F96 #A8965F
split-complementary
#5FA871 #965FA8 #A85F72
monochromatic
#325B3C #478356 #5FA871 #87BE94 #AED3B7

Accessibility & contrast

On white

2.87
#5FA871 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.33
#5FA871 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5FA871
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5FA871#FFFFFF#000000##000000
##5FA8711.002.877.337.33
#FFFFFF2.871.0021.0021.00
#0000007.3321.001.001.00
##0000007.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A99D6E
Deuteranopia (green-blind)
#9E9674
Tritanopia (blue-blind)
#52A69A
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #5fa871;
/* rgb */ color: rgb(95, 168, 113);
/* oklch */ color: oklch(66.9% 0.110 150.5);
Tailwind
colors: {
  custom: {
    50: '#90c29a',
    500: '#5fa871',
    950: '#000000',
  },
}
SCSS
$custom: #5fa871;
$custom-light: #90c29a;
$custom-dark: #000000;
JSON
{
  "hex": "#5fa871",
  "rgb": {
    "r": 95,
    "g": 168,
    "b": 113
  },
  "hsl": {
    "h": 134.795,
    "s": 29.555,
    "l": 51.569
  },
  "oklch": {
    "l": 0.66908,
    "c": 0.10988,
    "h": 150.5
  },
  "luminance": 0.3163
}

Semantic roles & 50–950 ramp

primary
#5FA871
secondary
#C1A1BA
accent
#62ADC6
background
#F9FCF9
surface
#F1F8F2
border
#CBD1CC
text
#0D120E
muted
#7E817E

Preview Lab

Preview with #5FA871

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

Preview Lab → · Contrast checker → · Palette generator →

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