#5FA875#5FA875

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

Color values

HEX#5FA875
RGBrgb(95, 168, 117)
HSLhsl(138, 30%, 52%)
HSVhsv(138, 43%, 66%)
CMYKcmyk(43.5%, 0%, 30.4%, 34.1%)
CIE-LABlab(63.11, -34.32, 19.41)
CIE-LCHlch(63.11, 39.43, 150.51°)
OKLaboklab(67% -0.0938 0.0491)
OKLCHoklch(67% 0.106 152.3)
XYZxyz(21.9314, 31.7210, 21.7933)
Luminance0.3172 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5FA875 #A85F92
analogous
#6EA85F #5FA875 #5FA89A
triadic
#5FA875 #755FA8 #A8755F
tetradic
#5FA875 #5F6EA8 #A85F92 #A89A5F
square
#5FA875 #5F6EA8 #A85F92 #A89A5F
split-complementary
#5FA875 #9A5FA8 #A85F6E
monochromatic
#325B3E #478359 #5FA875 #87BE97 #AED3B9

Accessibility & contrast

On white

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

On black

7.34
#5FA875 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5FA875
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5FA875#FFFFFF#000000##000000
##5FA8751.002.867.347.34
#FFFFFF2.861.0021.0021.00
#0000007.3421.001.001.00
##0000007.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A89D72
Deuteranopia (green-blind)
#9D9678
Tritanopia (blue-blind)
#51A69A
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #5fa875;
/* rgb */ color: rgb(95, 168, 117);
/* oklch */ color: oklch(67.0% 0.106 152.3);
Tailwind
colors: {
  custom: {
    50: '#90c29d',
    500: '#5fa875',
    950: '#000000',
  },
}
SCSS
$custom: #5fa875;
$custom-light: #90c29d;
$custom-dark: #000000;
JSON
{
  "hex": "#5fa875",
  "rgb": {
    "r": 95,
    "g": 168,
    "b": 117
  },
  "hsl": {
    "h": 138.082,
    "s": 29.555,
    "l": 51.569
  },
  "oklch": {
    "l": 0.66995,
    "c": 0.10586,
    "h": 152.3
  },
  "luminance": 0.31723
}

Semantic roles & 50–950 ramp

primary
#5FA875
secondary
#C1A1B8
accent
#62A8C6
background
#F9FCF9
surface
#F1F8F2
border
#CBD1CC
text
#0D120E
muted
#7E817E

Preview Lab

Preview with #5FA875

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

Preview Lab → · Contrast checker → · Palette generator →

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