#2F7E39#2F7E39

#2F7E39 is a mid, vivid green. Relative luminance 0.158; OKLCH L 52.8% C 0.129 H 145.7°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#2F7E39
RGBrgb(47, 126, 57)
HSLhsl(128, 46%, 34%)
HSVhsv(128, 63%, 49%)
CMYKcmyk(62.7%, 0%, 54.8%, 50.6%)
CIE-LABlab(46.74, -39.44, 30.29)
CIE-LCHlch(46.74, 49.72, 142.48°)
OKLaboklab(52.76% -0.1067 0.0727)
OKLCHoklch(52.76% 0.129 145.7)
XYZxyz(9.3711, 15.8206, 6.4299)
Luminance0.1582 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7E39 #7E2F74
analogous
#4D7E2F #2F7E39 #2F7E61
triadic
#2F7E39 #392F7E #7E392F
tetradic
#2F7E39 #2F4D7E #7E2F74 #7E612F
square
#2F7E39 #2F4D7E #7E2F74 #7E612F
split-complementary
#2F7E39 #612F7E #7E2F4D
monochromatic
#0E2511 #1E5125 #2F7E39 #40AB4D #63C56F

Accessibility & contrast

On white

5.04
#2F7E39 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#2F7E39 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F7E39
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7E39#FFFFFF#000000##FFFFFF
##2F7E391.005.044.165.04
#FFFFFF5.041.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807333
Deuteranopia (green-blind)
#766C3E
Tritanopia (blue-blind)
#1D7B6E
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #2f7e39;
/* rgb */ color: rgb(47, 126, 57);
/* oklch */ color: oklch(52.8% 0.129 145.7);
Tailwind
colors: {
  custom: {
    50: '#71a471',
    500: '#2f7e39',
    950: '#000000',
  },
}
SCSS
$custom: #2f7e39;
$custom-light: #71a471;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7e39",
  "rgb": {
    "r": 47,
    "g": 126,
    "b": 57
  },
  "hsl": {
    "h": 127.595,
    "s": 45.665,
    "l": 33.922
  },
  "oklch": {
    "l": 0.52757,
    "c": 0.12914,
    "h": 145.7
  },
  "luminance": 0.15821
}

Semantic roles & 50–950 ramp

primary
#2F7E39
secondary
#AC5DA2
accent
#52C5D5
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#080F08
muted
#7B7F7B

Preview Lab

Preview with #2F7E39

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

Preview Lab → · Contrast checker → · Palette generator →

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