#2F7E32#2F7E32

#2F7E32 is a mid, vivid green. Relative luminance 0.158; OKLCH L 52.7% C 0.136 H 144.0°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#2F7E32
RGBrgb(47, 126, 50)
HSLhsl(122, 46%, 34%)
HSVhsv(122, 63%, 49%)
CMYKcmyk(62.7%, 0%, 60.3%, 50.6%)
CIE-LABlab(46.65, -40.41, 33.76)
CIE-LCHlch(46.65, 52.66, 140.12°)
OKLaboklab(52.66% -0.1096 0.0798)
OKLCHoklch(52.66% 0.136 144)
XYZxyz(9.2083, 15.7555, 5.5728)
Luminance0.1576 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7E32 #7E2F7B
analogous
#547E2F #2F7E32 #2F7E5A
triadic
#2F7E32 #322F7E #7E322F
tetradic
#2F7E32 #2F547E #7E2F7B #7E5A2F
square
#2F7E32 #2F547E #7E2F7B #7E5A2F
split-complementary
#2F7E32 #5A2F7E #7E2F54
monochromatic
#0E250F #1E5120 #2F7E32 #40AB44 #63C566

Accessibility & contrast

On white

5.06
#2F7E32 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#2F7E32 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F7E32
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7E32#FFFFFF#000000##FFFFFF
##2F7E321.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#80732A
Deuteranopia (green-blind)
#766C38
Tritanopia (blue-blind)
#1F7B6D
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #2f7e32;
/* rgb */ color: rgb(47, 126, 50);
/* oklch */ color: oklch(52.7% 0.136 144.0);
Tailwind
colors: {
  custom: {
    50: '#71a46c',
    500: '#2f7e32',
    950: '#000000',
  },
}
SCSS
$custom: #2f7e32;
$custom-light: #71a46c;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7e32",
  "rgb": {
    "r": 47,
    "g": 126,
    "b": 50
  },
  "hsl": {
    "h": 122.278,
    "s": 45.665,
    "l": 33.922
  },
  "oklch": {
    "l": 0.52658,
    "c": 0.13559,
    "h": 144
  },
  "luminance": 0.15756
}

Semantic roles & 50–950 ramp

primary
#2F7E32
secondary
#AC5DA9
accent
#52D0D5
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F07
muted
#7B7F7A

Preview Lab

Preview with #2F7E32

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

Preview Lab → · Contrast checker → · Palette generator →

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