#5FA781#5FA781

#5FA781 is a light, moderate green. Relative luminance 0.317; OKLCH L 67.0% C 0.093 H 159.4°. Best body text is #000000 at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#5FA781
RGBrgb(95, 167, 129)
HSLhsl(148, 29%, 51%)
HSVhsv(148, 43%, 65%)
CMYKcmyk(43.1%, 0%, 22.8%, 34.5%)
CIE-LABlab(63.06, -31.46, 12.72)
CIE-LCHlch(63.06, 33.93, 157.98°)
OKLaboklab(67.03% -0.0869 0.0326)
OKLCHoklch(67.03% 0.093 159.4)
XYZxyz(22.4988, 31.6537, 25.6888)
Luminance0.3165 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5FA781 #A75F85
analogous
#61A75F #5FA781 #5FA7A5
triadic
#5FA781 #815FA7 #A7815F
tetradic
#5FA781 #5F61A7 #A75F85 #A7A55F
square
#5FA781 #5F61A7 #A75F85 #A7A55F
split-complementary
#5FA781 #A55FA7 #A75F61
monochromatic
#325A45 #478263 #5FA781 #86BDA0 #AED2BF

Accessibility & contrast

On white

2.86
#5FA781 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##5FA781#FFFFFF#000000##000000
##5FA7811.002.867.337.33
#FFFFFF2.861.0021.0021.00
#0000007.3321.001.001.00
##0000007.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A69D7F
Deuteranopia (green-blind)
#9A9583
Tritanopia (blue-blind)
#4DA69C
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #5fa781;
/* rgb */ color: rgb(95, 167, 129);
/* oklch */ color: oklch(67.0% 0.093 159.4);
Tailwind
colors: {
  custom: {
    50: '#90c1a5',
    500: '#5fa781',
    950: '#000000',
  },
}
SCSS
$custom: #5fa781;
$custom-light: #90c1a5;
$custom-dark: #000000;
JSON
{
  "hex": "#5fa781",
  "rgb": {
    "r": 95,
    "g": 167,
    "b": 129
  },
  "hsl": {
    "h": 148.333,
    "s": 29.032,
    "l": 51.373
  },
  "oklch": {
    "l": 0.67032,
    "c": 0.09286,
    "h": 159.4
  },
  "luminance": 0.31655
}

Semantic roles & 50–950 ramp

primary
#5FA781
secondary
#C1A1B2
accent
#6297C5
background
#F9FBFA
surface
#F1F7F4
border
#CBD0CE
text
#0D120F
muted
#7E817F

Preview Lab

Preview with #5FA781

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

Preview Lab → · Contrast checker → · Palette generator →

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