#2F7120#2F7120

#2F7120 is a mid, vivid green. Relative luminance 0.125; OKLCH L 48.8% C 0.133 H 140.2°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#2F7120
RGBrgb(47, 113, 32)
HSLhsl(109, 56%, 28%)
HSVhsv(109, 72%, 44%)
CMYKcmyk(58.4%, 0%, 71.7%, 55.7%)
CIE-LABlab(42.03, -37.22, 37.09)
CIE-LCHlch(42.03, 52.55, 135.10°)
OKLaboklab(48.79% -0.102 0.0849)
OKLCHoklch(48.79% 0.133 140.2)
XYZxyz(7.3378, 12.5183, 3.3958)
Luminance0.1252 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7120 #622071
analogous
#577120 #2F7120 #207139
triadic
#2F7120 #202F71 #71202F
tetradic
#2F7120 #205771 #622071 #713920
square
#2F7120 #205771 #622071 #713920
split-complementary
#2F7120 #392071 #712057
monochromatic
#0A1807 #1B4112 #2F7120 #43A12E #5BC942

Accessibility & contrast

On white

5.99
#2F7120 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#2F7120 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F7120
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7120#FFFFFF#000000##FFFFFF
##2F71201.005.993.505.99
#FFFFFF5.991.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746714
Deuteranopia (green-blind)
#6C6127
Tritanopia (blue-blind)
#276D61
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #2f7120;
/* rgb */ color: rgb(47, 113, 32);
/* oklch */ color: oklch(48.8% 0.133 140.2);
Tailwind
colors: {
  custom: {
    50: '#6f9a60',
    500: '#2f7120',
    950: '#000000',
  },
}
SCSS
$custom: #2f7120;
$custom-light: #6f9a60;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7120",
  "rgb": {
    "r": 47,
    "g": 113,
    "b": 32
  },
  "hsl": {
    "h": 108.889,
    "s": 55.862,
    "l": 28.431
  },
  "oklch": {
    "l": 0.48786,
    "c": 0.13272,
    "h": 140.2
  },
  "luminance": 0.12519
}

Semantic roles & 50–950 ramp

primary
#2F7120
secondary
#9448A5
accent
#49DFC3
background
#F7F9F5
surface
#EDF2EA
border
#C8CCC6
text
#080E05
muted
#7B7E79

Preview Lab

Preview with #2F7120

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

Preview Lab → · Contrast checker → · Palette generator →

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