#2F8E20#2F8E20

#2F8E20 is a mid, vivid green. Relative luminance 0.201; OKLCH L 56.9% C 0.169 H 141.2°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#2F8E20
RGBrgb(47, 142, 32)
HSLhsl(112, 63%, 34%)
HSVhsv(112, 77%, 56%)
CMYKcmyk(66.9%, 0%, 77.5%, 44.3%)
CIE-LABlab(51.90, -48.22, 47.15)
CIE-LCHlch(51.90, 67.44, 135.65°)
OKLaboklab(56.95% -0.1318 0.1059)
OKLCHoklch(56.95% 0.169 141.2)
XYZxyz(11.1054, 20.0535, 4.6517)
Luminance0.2006 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8E20 #7F208E
analogous
#668E20 #2F8E20 #208E48
triadic
#2F8E20 #202F8E #8E202F
tetradic
#2F8E20 #20668E #7F208E #8E4820
square
#2F8E20 #20668E #7F208E #8E4820
split-complementary
#2F8E20 #48208E #8E2066
monochromatic
#0E2A09 #1E5C15 #2F8E20 #40C02B #63D851

Accessibility & contrast

On white

4.19
#2F8E20 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#2F8E20 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F8E20
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F8E20#FFFFFF#000000##000000
##2F8E201.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#928007
Deuteranopia (green-blind)
#86792C
Tritanopia (blue-blind)
#1D8979
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #2f8e20;
/* rgb */ color: rgb(47, 142, 32);
/* oklch */ color: oklch(56.9% 0.169 141.2);
Tailwind
colors: {
  custom: {
    50: '#75b064',
    500: '#2f8e20',
    950: '#000000',
  },
}
SCSS
$custom: #2f8e20;
$custom-light: #75b064;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8e20",
  "rgb": {
    "r": 47,
    "g": 142,
    "b": 32
  },
  "hsl": {
    "h": 111.818,
    "s": 63.218,
    "l": 34.118
  },
  "oklch": {
    "l": 0.56945,
    "c": 0.16904,
    "h": 141.2
  },
  "luminance": 0.20055
}

Semantic roles & 50–950 ramp

primary
#2F8E20
secondary
#AC4FBB
accent
#42E6D0
background
#F7FAF6
surface
#EEF5EB
border
#C9CFC6
text
#091106
muted
#7B807A

Preview Lab

Preview with #2F8E20

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

Preview Lab → · Contrast checker → · Palette generator →

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