#2F7011#2F7011

#2F7011 is a mid, vivid green. Relative luminance 0.122; OKLCH L 48.4% C 0.141 H 138.3°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#2F7011
RGBrgb(47, 112, 17)
HSLhsl(101, 74%, 25%)
HSVhsv(101, 85%, 44%)
CMYKcmyk(58%, 0%, 84.8%, 56.1%)
CIE-LABlab(41.58, -37.95, 42.29)
CIE-LCHlch(41.58, 56.82, 131.90°)
OKLaboklab(48.39% -0.1049 0.0935)
OKLCHoklch(48.39% 0.141 138.3)
XYZxyz(7.0674, 12.2326, 2.5189)
Luminance0.1223 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7011 #521170
analogous
#5E7011 #2F7011 #117023
triadic
#2F7011 #112F70 #70112F
tetradic
#2F7011 #115E70 #521170 #702311
square
#2F7011 #115E70 #521170 #702311
split-complementary
#2F7011 #231170 #70115E
monochromatic
#0B1B04 #193B09 #2F7011 #45A519 #5CDA21

Accessibility & contrast

On white

6.09
#2F7011 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#2F7011 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F7011
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7011#FFFFFF#000000##FFFFFF
##2F70111.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746500
Deuteranopia (green-blind)
#6C601D
Tritanopia (blue-blind)
#296C5F
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #2f7011;
/* rgb */ color: rgb(47, 112, 17);
/* oklch */ color: oklch(48.4% 0.141 138.3);
Tailwind
colors: {
  custom: {
    50: '#709a59',
    500: '#2f7011',
    950: '#000000',
  },
}
SCSS
$custom: #2f7011;
$custom-light: #709a59;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7011",
  "rgb": {
    "r": 47,
    "g": 112,
    "b": 17
  },
  "hsl": {
    "h": 101.053,
    "s": 73.643,
    "l": 25.294
  },
  "oklch": {
    "l": 0.48388,
    "c": 0.14056,
    "h": 138.3
  },
  "luminance": 0.12233
}

Semantic roles & 50–950 ramp

primary
#2F7011
secondary
#8335A7
accent
#37F0B6
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #2F7011

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

Preview Lab → · Contrast checker → · Palette generator →

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