#2F8739#2F8739

#2F8739 is a mid, vivid green. Relative luminance 0.182; OKLCH L 55.3% C 0.142 H 145.3°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#2F8739
RGBrgb(47, 135, 57)
HSLhsl(127, 48%, 36%)
HSVhsv(127, 65%, 53%)
CMYKcmyk(65.2%, 0%, 57.8%, 47.1%)
CIE-LABlab(49.77, -43.01, 33.93)
CIE-LCHlch(49.77, 54.78, 141.74°)
OKLaboklab(55.26% -0.1164 0.0807)
OKLCHoklch(55.26% 0.142 145.3)
XYZxyz(10.5741, 18.2266, 6.8309)
Luminance0.1823 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8739 #872F7D
analogous
#51872F #2F8739 #2F8765
triadic
#2F8739 #392F87 #87392F
tetradic
#2F8739 #2F5187 #872F7D #87652F
square
#2F8739 #2F5187 #872F7D #87652F
split-complementary
#2F8739 #652F87 #872F51
monochromatic
#0F2C13 #1F5A26 #2F8739 #3FB44C #66CA72

Accessibility & contrast

On white

4.52
#2F8739 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#2F8739 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F8739
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F8739#FFFFFF#000000##000000
##2F87391.004.524.654.65
#FFFFFF4.521.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#897B31
Deuteranopia (green-blind)
#7E733F
Tritanopia (blue-blind)
#198476
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #2f8739;
/* rgb */ color: rgb(47, 135, 57);
/* oklch */ color: oklch(55.3% 0.142 145.3);
Tailwind
colors: {
  custom: {
    50: '#72ab72',
    500: '#2f8739',
    950: '#000000',
  },
}
SCSS
$custom: #2f8739;
$custom-light: #72ab72;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8739",
  "rgb": {
    "r": 47,
    "g": 135,
    "b": 57
  },
  "hsl": {
    "h": 126.818,
    "s": 48.352,
    "l": 35.686
  },
  "oklch": {
    "l": 0.55257,
    "c": 0.14163,
    "h": 145.3
  },
  "luminance": 0.18228
}

Semantic roles & 50–950 ramp

primary
#2F8739
secondary
#B161A8
accent
#50C8D8
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#091008
muted
#7B7F7B

Preview Lab

Preview with #2F8739

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

Preview Lab → · Contrast checker → · Palette generator →

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