#2F7D20#2F7D20

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

Color values

HEX#2F7D20
RGBrgb(47, 125, 32)
HSLhsl(110, 59%, 31%)
HSVhsv(110, 74%, 49%)
CMYKcmyk(62.4%, 0%, 74.4%, 51%)
CIE-LABlab(46.14, -41.95, 41.38)
CIE-LCHlch(46.14, 58.92, 135.40°)
OKLaboklab(52.18% -0.1148 0.0938)
OKLCHoklch(52.18% 0.148 140.7)
XYZxyz(8.7662, 15.3750, 3.8719)
Luminance0.1538 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7D20 #6E207D
analogous
#5D7D20 #2F7D20 #207D3F
triadic
#2F7D20 #202F7D #7D202F
tetradic
#2F7D20 #205D7D #6E207D #7D3F20
square
#2F7D20 #205D7D #6E207D #7D3F20
split-complementary
#2F7D20 #3F207D #7D205D
monochromatic
#0A1C07 #1D4C14 #2F7D20 #41AE2C #5DD047

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2F7D20#FFFFFF#000000##FFFFFF
##2F7D201.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)
#807110
Deuteranopia (green-blind)
#776B29
Tritanopia (blue-blind)
#24796B
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #2f7d20;
/* rgb */ color: rgb(47, 125, 32);
/* oklch */ color: oklch(52.2% 0.148 140.7);
Tailwind
colors: {
  custom: {
    50: '#72a362',
    500: '#2f7d20',
    950: '#000000',
  },
}
SCSS
$custom: #2f7d20;
$custom-light: #72a362;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7d20",
  "rgb": {
    "r": 47,
    "g": 125,
    "b": 32
  },
  "hsl": {
    "h": 110.323,
    "s": 59.236,
    "l": 30.784
  },
  "oklch": {
    "l": 0.52184,
    "c": 0.1483,
    "h": 140.7
  },
  "luminance": 0.15376
}

Semantic roles & 50–950 ramp

primary
#2F7D20
secondary
#9F49B0
accent
#45E2C9
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#090F05
muted
#7B7F7A

Preview Lab

Preview with #2F7D20

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

Preview Lab → · Contrast checker → · Palette generator →

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