#2F7A20#2F7A20

#2F7A20 is a mid, vivid green. Relative luminance 0.146; OKLCH L 51.3% C 0.144 H 140.6°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#2F7A20
RGBrgb(47, 122, 32)
HSLhsl(110, 58%, 30%)
HSVhsv(110, 74%, 48%)
CMYKcmyk(61.5%, 0%, 73.8%, 52.2%)
CIE-LABlab(45.12, -40.80, 40.32)
CIE-LCHlch(45.12, 57.36, 135.34°)
OKLaboklab(51.34% -0.1117 0.0916)
OKLCHoklch(51.34% 0.144 140.6)
XYZxyz(8.3921, 14.6269, 3.7473)
Luminance0.1463 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7A20 #6B207A
analogous
#5C7A20 #2F7A20 #207A3E
triadic
#2F7A20 #202F7A #7A202F
tetradic
#2F7A20 #205C7A #6B207A #7A3E20
square
#2F7A20 #205C7A #6B207A #7A3E20
split-complementary
#2F7A20 #3E207A #7A205C
monochromatic
#0A1907 #1C4A13 #2F7A20 #42AA2D #5DCE46

Accessibility & contrast

On white

5.35
#2F7A20 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#2F7A20 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F7A20
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7A20#FFFFFF#000000##FFFFFF
##2F7A201.005.353.935.35
#FFFFFF5.351.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6F11
Deuteranopia (green-blind)
#746829
Tritanopia (blue-blind)
#257668
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #2f7a20;
/* rgb */ color: rgb(47, 122, 32);
/* oklch */ color: oklch(51.3% 0.144 140.6);
Tailwind
colors: {
  custom: {
    50: '#71a161',
    500: '#2f7a20',
    950: '#000000',
  },
}
SCSS
$custom: #2f7a20;
$custom-light: #71a161;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7a20",
  "rgb": {
    "r": 47,
    "g": 122,
    "b": 32
  },
  "hsl": {
    "h": 110,
    "s": 58.442,
    "l": 30.196
  },
  "oklch": {
    "l": 0.51337,
    "c": 0.14449,
    "h": 140.6
  },
  "luminance": 0.14628
}

Semantic roles & 50–950 ramp

primary
#2F7A20
secondary
#9C49AD
accent
#46E2C8
background
#F7FAF5
surface
#EDF3EA
border
#C8CDC6
text
#080F05
muted
#7B7F79

Preview Lab

Preview with #2F7A20

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

Preview Lab → · Contrast checker → · Palette generator →

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