#2F8958#2F8958

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

Color values

HEX#2F8958
RGBrgb(47, 137, 88)
HSLhsl(147, 49%, 36%)
HSVhsv(147, 66%, 54%)
CMYKcmyk(65.7%, 0%, 35.8%, 46.3%)
CIE-LABlab(50.92, -38.46, 18.67)
CIE-LCHlch(50.92, 42.75, 154.11°)
OKLaboklab(56.36% -0.1043 0.047)
OKLCHoklch(56.36% 0.114 155.8)
XYZxyz(11.8784, 19.1990, 12.3104)
Luminance0.1920 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8958 #892F60
analogous
#33892F #2F8958 #2F8985
triadic
#2F8958 #582F89 #89582F
tetradic
#2F8958 #2F3389 #892F60 #89852F
square
#2F8958 #2F3389 #892F60 #89852F
split-complementary
#2F8958 #852F89 #892F33
monochromatic
#102E1D #1F5B3B #2F8958 #3FB775 #67CB95

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2F8958#FFFFFF#000000##000000
##2F89581.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)
#887E55
Deuteranopia (green-blind)
#7D765B
Tritanopia (blue-blind)
#00887C
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #2f8958;
/* rgb */ color: rgb(47, 137, 88);
/* oklch */ color: oklch(56.4% 0.114 155.8);
Tailwind
colors: {
  custom: {
    50: '#72ac87',
    500: '#2f8958',
    950: '#000000',
  },
}
SCSS
$custom: #2f8958;
$custom-light: #72ac87;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8958",
  "rgb": {
    "r": 47,
    "g": 137,
    "b": 88
  },
  "hsl": {
    "h": 147.333,
    "s": 48.913,
    "l": 36.078
  },
  "oklch": {
    "l": 0.56362,
    "c": 0.11441,
    "h": 155.8
  },
  "luminance": 0.192
}

Semantic roles & 50–950 ramp

primary
#2F8958
secondary
#B2628D
accent
#4F9AD8
background
#F7FAF8
surface
#EDF4EF
border
#C8CECA
text
#09100B
muted
#7B7F7C

Preview Lab

Preview with #2F8958

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

Preview Lab → · Contrast checker → · Palette generator →

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