#2F8137#2F8137

#2F8137 is a mid, vivid green. Relative luminance 0.166; OKLCH L 53.6% C 0.135 H 145.0°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#2F8137
RGBrgb(47, 129, 55)
HSLhsl(126, 47%, 35%)
HSVhsv(126, 64%, 51%)
CMYKcmyk(63.6%, 0%, 57.4%, 49.4%)
CIE-LABlab(47.73, -40.93, 32.51)
CIE-LCHlch(47.73, 52.27, 141.54°)
OKLaboklab(53.56% -0.1108 0.0775)
OKLCHoklch(53.56% 0.135 145)
XYZxyz(9.7115, 16.5797, 6.3021)
Luminance0.1658 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8137 #812F79
analogous
#50812F #2F8137 #2F8160
triadic
#2F8137 #372F81 #81372F
tetradic
#2F8137 #2F5081 #812F79 #81602F
square
#2F8137 #2F5081 #812F79 #81602F
split-complementary
#2F8137 #602F81 #812F50
monochromatic
#0E2711 #1F5424 #2F8137 #3FAE4A #64C66E

Accessibility & contrast

On white

4.87
#2F8137 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#2F8137 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F8137
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F8137#FFFFFF#000000##FFFFFF
##2F81371.004.874.324.87
#FFFFFF4.871.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837630
Deuteranopia (green-blind)
#796E3D
Tritanopia (blue-blind)
#1D7E70
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #2f8137;
/* rgb */ color: rgb(47, 129, 55);
/* oklch */ color: oklch(53.6% 0.135 145.0);
Tailwind
colors: {
  custom: {
    50: '#71a670',
    500: '#2f8137',
    950: '#000000',
  },
}
SCSS
$custom: #2f8137;
$custom-light: #71a670;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8137",
  "rgb": {
    "r": 47,
    "g": 129,
    "b": 55
  },
  "hsl": {
    "h": 125.854,
    "s": 46.591,
    "l": 34.51
  },
  "oklch": {
    "l": 0.53563,
    "c": 0.13522,
    "h": 145
  },
  "luminance": 0.16581
}

Semantic roles & 50–950 ramp

primary
#2F8137
secondary
#AD5EA6
accent
#52C9D6
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#080F07
muted
#7B7F7A

Preview Lab

Preview with #2F8137

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

Preview Lab → · Contrast checker → · Palette generator →

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