#2F7D22#2F7D22

#2F7D22 is a mid, vivid green. Relative luminance 0.154; OKLCH L 52.2% C 0.147 H 141.0°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#2F7D22
RGBrgb(47, 125, 34)
HSLhsl(111, 57%, 31%)
HSVhsv(111, 73%, 49%)
CMYKcmyk(62.4%, 0%, 72.8%, 51%)
CIE-LABlab(46.16, -41.78, 40.58)
CIE-LCHlch(46.16, 58.24, 135.84°)
OKLaboklab(52.2% -0.1142 0.0925)
OKLCHoklch(52.2% 0.147 141)
XYZxyz(8.7942, 15.3862, 4.0195)
Luminance0.1539 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7D22 #70227D
analogous
#5C7D22 #2F7D22 #227D42
triadic
#2F7D22 #222F7D #7D222F
tetradic
#2F7D22 #225C7D #70227D #7D4222
square
#2F7D22 #225C7D #70227D #7D4222
split-complementary
#2F7D22 #42227D #7D225C
monochromatic
#0B1D08 #1D4D15 #2F7D22 #41AD2F #5ECE4B

Accessibility & contrast

On white

5.15
#2F7D22 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#2F7D22 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F7D22
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7D22#FFFFFF#000000##FFFFFF
##2F7D221.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807114
Deuteranopia (green-blind)
#776B2B
Tritanopia (blue-blind)
#23796B
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #2f7d22;
/* rgb */ color: rgb(47, 125, 34);
/* oklch */ color: oklch(52.2% 0.147 141.0);
Tailwind
colors: {
  custom: {
    50: '#72a363',
    500: '#2f7d22',
    950: '#000000',
  },
}
SCSS
$custom: #2f7d22;
$custom-light: #72a363;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7d22",
  "rgb": {
    "r": 47,
    "g": 125,
    "b": 34
  },
  "hsl": {
    "h": 111.429,
    "s": 57.233,
    "l": 31.176
  },
  "oklch": {
    "l": 0.52201,
    "c": 0.14696,
    "h": 141
  },
  "luminance": 0.15387
}

Semantic roles & 50–950 ramp

primary
#2F7D22
secondary
#A14BB0
accent
#47E0CB
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F05
muted
#7B7F7A

Preview Lab

Preview with #2F7D22

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

Preview Lab → · Contrast checker → · Palette generator →

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