#5FA271#5FA271

#5FA271 is a light, moderate green. Relative luminance 0.295; OKLCH L 65.4% C 0.100 H 151.4°. Best body text is #000000 at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#5FA271
RGBrgb(95, 162, 113)
HSLhsl(136, 26%, 50%)
HSVhsv(136, 41%, 64%)
CMYKcmyk(41.4%, 0%, 30.2%, 36.5%)
CIE-LABlab(61.19, -32.28, 18.98)
CIE-LCHlch(61.19, 37.45, 149.55°)
OKLaboklab(65.41% -0.0882 0.0481)
OKLCHoklch(65.41% 0.1 151.4)
XYZxyz(20.6190, 29.4645, 20.2203)
Luminance0.2947 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5FA271 #A25F90
analogous
#6FA25F #5FA271 #5FA292
triadic
#5FA271 #715FA2 #A2715F
tetradic
#5FA271 #5F6FA2 #A25F90 #A2925F
square
#5FA271 #5F6FA2 #A25F90 #A2925F
split-complementary
#5FA271 #925FA2 #A25F6F
monochromatic
#31553B #487C56 #5FA271 #86B893 #ACCFB6

Accessibility & contrast

On white

3.05
#5FA271 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.89
#5FA271 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5FA271
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5FA271#FFFFFF#000000##000000
##5FA2711.003.056.896.89
#FFFFFF3.051.0021.0021.00
#0000006.8921.001.001.00
##0000006.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A3986E
Deuteranopia (green-blind)
#989174
Tritanopia (blue-blind)
#53A095
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #5fa271;
/* rgb */ color: rgb(95, 162, 113);
/* oklch */ color: oklch(65.4% 0.100 151.4);
Tailwind
colors: {
  custom: {
    50: '#8fbe9a',
    500: '#5fa271',
    950: '#000000',
  },
}
SCSS
$custom: #5fa271;
$custom-light: #8fbe9a;
$custom-dark: #000000;
JSON
{
  "hex": "#5fa271",
  "rgb": {
    "r": 95,
    "g": 162,
    "b": 113
  },
  "hsl": {
    "h": 136.119,
    "s": 26.482,
    "l": 50.392
  },
  "oklch": {
    "l": 0.65409,
    "c": 0.10044,
    "h": 151.4
  },
  "luminance": 0.29466
}

Semantic roles & 50–950 ramp

primary
#5FA271
secondary
#BD9FB5
accent
#65AAC3
background
#F9FBF9
surface
#F1F7F2
border
#CBD0CC
text
#0D120E
muted
#7E817E

Preview Lab

Preview with #5FA271

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

Preview Lab → · Contrast checker → · Palette generator →

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