#2F8957#2F8957

#2F8957 is a mid, moderate green. Relative luminance 0.192; OKLCH L 56.3% C 0.115 H 155.3°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#2F8957
RGBrgb(47, 137, 87)
HSLhsl(147, 49%, 36%)
HSVhsv(147, 66%, 54%)
CMYKcmyk(65.7%, 0%, 36.5%, 46.3%)
CIE-LABlab(50.90, -38.67, 19.21)
CIE-LCHlch(50.90, 43.18, 153.59°)
OKLaboklab(56.34% -0.1048 0.0482)
OKLCHoklch(56.34% 0.115 155.3)
XYZxyz(11.8372, 19.1826, 12.0938)
Luminance0.1918 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8957 #892F61
analogous
#34892F #2F8957 #2F8984
triadic
#2F8957 #572F89 #89572F
tetradic
#2F8957 #2F3489 #892F61 #89842F
square
#2F8957 #2F3489 #892F61 #89842F
split-complementary
#2F8957 #842F89 #892F34
monochromatic
#102E1D #1F5B3A #2F8957 #3FB774 #67CB94

Accessibility & contrast

On white

4.34
#2F8957 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#2F8957 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F8957
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F8957#FFFFFF#000000##000000
##2F89571.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#887E54
Deuteranopia (green-blind)
#7D765A
Tritanopia (blue-blind)
#00887C
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #2f8957;
/* rgb */ color: rgb(47, 137, 87);
/* oklch */ color: oklch(56.3% 0.115 155.3);
Tailwind
colors: {
  custom: {
    50: '#72ac86',
    500: '#2f8957',
    950: '#000000',
  },
}
SCSS
$custom: #2f8957;
$custom-light: #72ac86;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8957",
  "rgb": {
    "r": 47,
    "g": 137,
    "b": 87
  },
  "hsl": {
    "h": 146.667,
    "s": 48.913,
    "l": 36.078
  },
  "oklch": {
    "l": 0.5634,
    "c": 0.11539,
    "h": 155.3
  },
  "luminance": 0.19184
}

Semantic roles & 50–950 ramp

primary
#2F8957
secondary
#B2628E
accent
#4F9CD8
background
#F7FAF8
surface
#EDF4EF
border
#C8CECA
text
#09100B
muted
#7B7F7C

Preview Lab

Preview with #2F8957

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

Preview Lab → · Contrast checker → · Palette generator →

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