#5FA278#5FA278

#5FA278 is a light, moderate green. Relative luminance 0.296; OKLCH L 65.6% C 0.093 H 155.3°. Best body text is #000000 at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#5FA278
RGBrgb(95, 162, 120)
HSLhsl(142, 26%, 50%)
HSVhsv(142, 41%, 64%)
CMYKcmyk(41.4%, 0%, 25.9%, 36.5%)
CIE-LABlab(61.33, -30.92, 15.31)
CIE-LCHlch(61.33, 34.50, 153.66°)
OKLaboklab(65.57% -0.0849 0.0391)
OKLCHoklch(65.57% 0.093 155.3)
XYZxyz(21.0284, 29.6283, 22.3764)
Luminance0.2963 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5FA278 #A25F89
analogous
#67A25F #5FA278 #5FA299
triadic
#5FA278 #785FA2 #A2785F
tetradic
#5FA278 #5F67A2 #A25F89 #A2995F
square
#5FA278 #5F67A2 #A25F89 #A2995F
split-complementary
#5FA278 #995FA2 #A25F67
monochromatic
#31553F #487C5B #5FA278 #86B899 #ACCFB9

Accessibility & contrast

On white

3.03
#5FA278 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.93
#5FA278 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5FA278
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5FA278#FFFFFF#000000##000000
##5FA2781.003.036.936.93
#FFFFFF3.031.0021.0021.00
#0000006.9321.001.001.00
##0000006.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A29876
Deuteranopia (green-blind)
#97917A
Tritanopia (blue-blind)
#51A197
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #5fa278;
/* rgb */ color: rgb(95, 162, 120);
/* oklch */ color: oklch(65.6% 0.093 155.3);
Tailwind
colors: {
  custom: {
    50: '#8fbe9f',
    500: '#5fa278',
    950: '#000000',
  },
}
SCSS
$custom: #5fa278;
$custom-light: #8fbe9f;
$custom-dark: #000000;
JSON
{
  "hex": "#5fa278",
  "rgb": {
    "r": 95,
    "g": 162,
    "b": 120
  },
  "hsl": {
    "h": 142.388,
    "s": 26.482,
    "l": 50.392
  },
  "oklch": {
    "l": 0.65571,
    "c": 0.09348,
    "h": 155.3
  },
  "luminance": 0.2963
}

Semantic roles & 50–950 ramp

primary
#5FA278
secondary
#BD9FB2
accent
#65A0C3
background
#F9FBF9
surface
#F1F7F2
border
#CBD0CC
text
#0D120E
muted
#7E817E

Preview Lab

Preview with #5FA278

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

Preview Lab → · Contrast checker → · Palette generator →

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