#2F8A57#2F8A57

#2F8A57 is a mid, moderate green. Relative luminance 0.195; OKLCH L 56.6% C 0.117 H 155.0°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#2F8A57
RGBrgb(47, 138, 87)
HSLhsl(146, 49%, 36%)
HSVhsv(146, 66%, 54%)
CMYKcmyk(65.9%, 0%, 37%, 45.9%)
CIE-LABlab(51.23, -39.09, 19.65)
CIE-LCHlch(51.23, 43.75, 153.31°)
OKLaboklab(56.61% -0.1059 0.0493)
OKLCHoklch(56.61% 0.117 155)
XYZxyz(11.9800, 19.4682, 12.1414)
Luminance0.1947 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8A57 #8A2F62
analogous
#358A2F #2F8A57 #2F8A85
triadic
#2F8A57 #572F8A #8A572F
tetradic
#2F8A57 #2F358A #8A2F62 #8A852F
square
#2F8A57 #2F358A #8A2F62 #8A852F
split-complementary
#2F8A57 #852F8A #8A2F35
monochromatic
#102F1D #1F5C3A #2F8A57 #3FB874 #68CC94

Accessibility & contrast

On white

4.29
#2F8A57 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#2F8A57 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F8A57
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F8A57#FFFFFF#000000##000000
##2F8A571.004.294.894.89
#FFFFFF4.291.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7F54
Deuteranopia (green-blind)
#7E775A
Tritanopia (blue-blind)
#00897D
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #2f8a57;
/* rgb */ color: rgb(47, 138, 87);
/* oklch */ color: oklch(56.6% 0.117 155.0);
Tailwind
colors: {
  custom: {
    50: '#72ad86',
    500: '#2f8a57',
    950: '#000000',
  },
}
SCSS
$custom: #2f8a57;
$custom-light: #72ad86;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8a57",
  "rgb": {
    "r": 47,
    "g": 138,
    "b": 87
  },
  "hsl": {
    "h": 146.374,
    "s": 49.189,
    "l": 36.275
  },
  "oklch": {
    "l": 0.56611,
    "c": 0.11683,
    "h": 155
  },
  "luminance": 0.19469
}

Semantic roles & 50–950 ramp

primary
#2F8A57
secondary
#B3628F
accent
#4F9CD9
background
#F7FAF8
surface
#EDF4EF
border
#C8CECA
text
#09100B
muted
#7B7F7C

Preview Lab

Preview with #2F8A57

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

Preview Lab → · Contrast checker → · Palette generator →

#2F8A57 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva