#2F8741#2F8741

#2F8741 is a mid, vivid green. Relative luminance 0.183; OKLCH L 55.4% C 0.134 H 147.3°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#2F8741
RGBrgb(47, 135, 65)
HSLhsl(132, 48%, 36%)
HSVhsv(132, 65%, 53%)
CMYKcmyk(65.2%, 0%, 51.9%, 47.1%)
CIE-LABlab(49.87, -41.84, 29.93)
CIE-LCHlch(49.87, 51.44, 144.42°)
OKLaboklab(55.38% -0.113 0.0724)
OKLCHoklch(55.38% 0.134 147.3)
XYZxyz(10.7896, 18.3129, 7.9661)
Luminance0.1831 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8741 #872F75
analogous
#49872F #2F8741 #2F876D
triadic
#2F8741 #412F87 #87412F
tetradic
#2F8741 #2F4987 #872F75 #876D2F
square
#2F8741 #2F4987 #872F75 #876D2F
split-complementary
#2F8741 #6D2F87 #872F49
monochromatic
#0F2C15 #1F5A2B #2F8741 #3FB457 #66CA7B

Accessibility & contrast

On white

4.50
#2F8741 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#2F8741 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F8741
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F8741#FFFFFF#000000##000000
##2F87411.004.504.664.66
#FFFFFF4.501.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#897B3B
Deuteranopia (green-blind)
#7E7446
Tritanopia (blue-blind)
#158477
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #2f8741;
/* rgb */ color: rgb(47, 135, 65);
/* oklch */ color: oklch(55.4% 0.134 147.3);
Tailwind
colors: {
  custom: {
    50: '#72ab77',
    500: '#2f8741',
    950: '#000000',
  },
}
SCSS
$custom: #2f8741;
$custom-light: #72ab77;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8741",
  "rgb": {
    "r": 47,
    "g": 135,
    "b": 65
  },
  "hsl": {
    "h": 132.273,
    "s": 48.352,
    "l": 35.686
  },
  "oklch": {
    "l": 0.55376,
    "c": 0.13419,
    "h": 147.3
  },
  "luminance": 0.18314
}

Semantic roles & 50–950 ramp

primary
#2F8741
secondary
#B161A1
accent
#50BCD8
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#091009
muted
#7B7F7B

Preview Lab

Preview with #2F8741

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

Preview Lab → · Contrast checker → · Palette generator →

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