#2F7F37#2F7F37

#2F7F37 is a mid, vivid green. Relative luminance 0.161; OKLCH L 53.0% C 0.132 H 145.1°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#2F7F37
RGBrgb(47, 127, 55)
HSLhsl(126, 46%, 34%)
HSVhsv(126, 63%, 50%)
CMYKcmyk(63%, 0%, 56.7%, 50.2%)
CIE-LABlab(47.05, -40.13, 31.70)
CIE-LCHlch(47.05, 51.14, 141.69°)
OKLaboklab(53.01% -0.1087 0.0757)
OKLCHoklch(53.01% 0.132 145.1)
XYZxyz(9.4507, 16.0580, 6.2152)
Luminance0.1606 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7F37 #7F2F77
analogous
#4F7F2F #2F7F37 #2F7F5F
triadic
#2F7F37 #372F7F #7F372F
tetradic
#2F7F37 #2F4F7F #7F2F77 #7F5F2F
square
#2F7F37 #2F4F7F #7F2F77 #7F5F2F
split-complementary
#2F7F37 #5F2F7F #7F2F4F
monochromatic
#0E2610 #1E5224 #2F7F37 #40AC4A #63C56D

Accessibility & contrast

On white

4.99
#2F7F37 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#2F7F37 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F7F37
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7F37#FFFFFF#000000##FFFFFF
##2F7F371.004.994.214.99
#FFFFFF4.991.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817430
Deuteranopia (green-blind)
#776D3C
Tritanopia (blue-blind)
#1D7C6F
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #2f7f37;
/* rgb */ color: rgb(47, 127, 55);
/* oklch */ color: oklch(53.0% 0.132 145.1);
Tailwind
colors: {
  custom: {
    50: '#71a570',
    500: '#2f7f37',
    950: '#000000',
  },
}
SCSS
$custom: #2f7f37;
$custom-light: #71a570;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7f37",
  "rgb": {
    "r": 47,
    "g": 127,
    "b": 55
  },
  "hsl": {
    "h": 126,
    "s": 45.977,
    "l": 34.118
  },
  "oklch": {
    "l": 0.53006,
    "c": 0.13243,
    "h": 145.1
  },
  "luminance": 0.16059
}

Semantic roles & 50–950 ramp

primary
#2F7F37
secondary
#AC5EA4
accent
#52C8D6
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#080F07
muted
#7B7F7A

Preview Lab

Preview with #2F7F37

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

Preview Lab → · Contrast checker → · Palette generator →

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