#5FA671#5FA671

#5FA671 is a light, moderate green. Relative luminance 0.309; OKLCH L 66.4% C 0.107 H 150.8°. Best body text is #000000 at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#5FA671
RGBrgb(95, 166, 113)
HSLhsl(135, 29%, 51%)
HSVhsv(135, 43%, 65%)
CMYKcmyk(42.8%, 0%, 31.9%, 34.9%)
CIE-LABlab(62.42, -34.15, 20.65)
CIE-LCHlch(62.42, 39.91, 148.83°)
OKLaboklab(66.41% -0.0932 0.0521)
OKLCHoklch(66.41% 0.107 150.8)
XYZxyz(21.3349, 30.8962, 20.4589)
Luminance0.3090 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5FA671 #A65F94
analogous
#70A65F #5FA671 #5FA694
triadic
#5FA671 #715FA6 #A6715F
tetradic
#5FA671 #5F70A6 #A65F94 #A6945F
square
#5FA671 #5F70A6 #A65F94 #A6945F
split-complementary
#5FA671 #945FA6 #A65F70
monochromatic
#32593C #478056 #5FA671 #86BC94 #AED2B7

Accessibility & contrast

On white

2.92
#5FA671 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.18
#5FA671 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5FA671
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5FA671#FFFFFF#000000##000000
##5FA6711.002.927.187.18
#FFFFFF2.921.0021.0021.00
#0000007.1821.001.001.00
##0000007.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A79B6E
Deuteranopia (green-blind)
#9C9474
Tritanopia (blue-blind)
#52A498
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #5fa671;
/* rgb */ color: rgb(95, 166, 113);
/* oklch */ color: oklch(66.4% 0.107 150.8);
Tailwind
colors: {
  custom: {
    50: '#90c19a',
    500: '#5fa671',
    950: '#000000',
  },
}
SCSS
$custom: #5fa671;
$custom-light: #90c19a;
$custom-dark: #000000;
JSON
{
  "hex": "#5fa671",
  "rgb": {
    "r": 95,
    "g": 166,
    "b": 113
  },
  "hsl": {
    "h": 135.211,
    "s": 28.514,
    "l": 51.176
  },
  "oklch": {
    "l": 0.66408,
    "c": 0.10675,
    "h": 150.8
  },
  "luminance": 0.30898
}

Semantic roles & 50–950 ramp

primary
#5FA671
secondary
#C0A1B8
accent
#63ACC5
background
#F9FBF9
surface
#F1F7F2
border
#CBD0CC
text
#0D120E
muted
#7E817E

Preview Lab

Preview with #5FA671

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

Preview Lab → · Contrast checker → · Palette generator →

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