#2F7F32#2F7F32

#2F7F32 is a mid, vivid green. Relative luminance 0.160; OKLCH L 52.9% C 0.137 H 143.9°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#2F7F32
RGBrgb(47, 127, 50)
HSLhsl(122, 46%, 34%)
HSVhsv(122, 63%, 50%)
CMYKcmyk(63%, 0%, 60.6%, 50.2%)
CIE-LABlab(46.99, -40.81, 34.16)
CIE-LCHlch(46.99, 53.22, 140.07°)
OKLaboklab(52.94% -0.1107 0.0806)
OKLCHoklch(52.94% 0.137 143.9)
XYZxyz(9.3368, 16.0125, 5.6157)
Luminance0.1601 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7F32 #7F2F7C
analogous
#547F2F #2F7F32 #2F7F5A
triadic
#2F7F32 #322F7F #7F322F
tetradic
#2F7F32 #2F547F #7F2F7C #7F5A2F
square
#2F7F32 #2F547F #7F2F7C #7F5A2F
split-complementary
#2F7F32 #5A2F7F #7F2F54
monochromatic
#0E260F #1E5220 #2F7F32 #40AC44 #63C567

Accessibility & contrast

On white

5.00
#2F7F32 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#2F7F32 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F7F32
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7F32#FFFFFF#000000##FFFFFF
##2F7F321.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#81742A
Deuteranopia (green-blind)
#776D38
Tritanopia (blue-blind)
#1F7C6E
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #2f7f32;
/* rgb */ color: rgb(47, 127, 50);
/* oklch */ color: oklch(52.9% 0.137 143.9);
Tailwind
colors: {
  custom: {
    50: '#71a56c',
    500: '#2f7f32',
    950: '#000000',
  },
}
SCSS
$custom: #2f7f32;
$custom-light: #71a56c;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7f32",
  "rgb": {
    "r": 47,
    "g": 127,
    "b": 50
  },
  "hsl": {
    "h": 122.25,
    "s": 45.977,
    "l": 34.118
  },
  "oklch": {
    "l": 0.52937,
    "c": 0.13697,
    "h": 143.9
  },
  "luminance": 0.16013
}

Semantic roles & 50–950 ramp

primary
#2F7F32
secondary
#AC5EA9
accent
#52D1D6
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F07
muted
#7B7F7A

Preview Lab

Preview with #2F7F32

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

Preview Lab → · Contrast checker → · Palette generator →

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