#2F7720#2F7720

#2F7720 is a mid, vivid green. Relative luminance 0.139; OKLCH L 50.5% C 0.141 H 140.5°. Best body text is #FFFFFF at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#2F7720
RGBrgb(47, 119, 32)
HSLhsl(110, 58%, 30%)
HSVhsv(110, 73%, 47%)
CMYKcmyk(60.5%, 0%, 73.1%, 53.3%)
CIE-LABlab(44.09, -39.62, 39.26)
CIE-LCHlch(44.09, 55.78, 135.27°)
OKLaboklab(50.49% -0.1085 0.0894)
OKLCHoklch(50.49% 0.141 140.5)
XYZxyz(8.0295, 13.9016, 3.6264)
Luminance0.1390 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7720 #682077
analogous
#5B7720 #2F7720 #20773D
triadic
#2F7720 #202F77 #77202F
tetradic
#2F7720 #205B77 #682077 #773D20
square
#2F7720 #205B77 #682077 #773D20
split-complementary
#2F7720 #3D2077 #77205B
monochromatic
#0A1806 #1C4713 #2F7720 #42A72D #5CCD45

Accessibility & contrast

On white

5.55
#2F7720 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#2F7720 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F7720
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7720#FFFFFF#000000##FFFFFF
##2F77201.005.553.785.55
#FFFFFF5.551.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6C12
Deuteranopia (green-blind)
#716628
Tritanopia (blue-blind)
#267366
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #2f7720;
/* rgb */ color: rgb(47, 119, 32);
/* oklch */ color: oklch(50.5% 0.141 140.5);
Tailwind
colors: {
  custom: {
    50: '#709f61',
    500: '#2f7720',
    950: '#000000',
  },
}
SCSS
$custom: #2f7720;
$custom-light: #709f61;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7720",
  "rgb": {
    "r": 47,
    "g": 119,
    "b": 32
  },
  "hsl": {
    "h": 109.655,
    "s": 57.616,
    "l": 29.608
  },
  "oklch": {
    "l": 0.50489,
    "c": 0.14062,
    "h": 140.5
  },
  "luminance": 0.13902
}

Semantic roles & 50–950 ramp

primary
#2F7720
secondary
#9948AA
accent
#47E1C6
background
#F7F9F5
surface
#EDF2EA
border
#C8CCC6
text
#080E05
muted
#7B7E79

Preview Lab

Preview with #2F7720

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

Preview Lab → · Contrast checker → · Palette generator →

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