#2F7E11#2F7E11

#2F7E11 is a mid, vivid green. Relative luminance 0.156; OKLCH L 52.4% C 0.157 H 139.3°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#2F7E11
RGBrgb(47, 126, 17)
HSLhsl(103, 76%, 28%)
HSVhsv(103, 87%, 49%)
CMYKcmyk(62.7%, 0%, 86.5%, 50.6%)
CIE-LABlab(46.40, -43.34, 46.68)
CIE-LCHlch(46.40, 63.70, 132.87°)
OKLaboklab(52.37% -0.1194 0.1027)
OKLCHoklch(52.37% 0.157 139.3)
XYZxyz(8.7339, 15.5657, 3.0744)
Luminance0.1557 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7E11 #60117E
analogous
#657E11 #2F7E11 #117E29
triadic
#2F7E11 #112F7E #7E112F
tetradic
#2F7E11 #11657E #60117E #7E2911
square
#2F7E11 #11657E #60117E #7E2911
split-complementary
#2F7E11 #29117E #7E1165
monochromatic
#0A1B04 #1B480A #2F7E11 #43B418 #5BE227

Accessibility & contrast

On white

5.11
#2F7E11 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#2F7E11 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F7E11
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7E11#FFFFFF#000000##FFFFFF
##2F7E111.005.114.115.11
#FFFFFF5.111.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827200
Deuteranopia (green-blind)
#786C1F
Tritanopia (blue-blind)
#25796B
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #2f7e11;
/* rgb */ color: rgb(47, 126, 17);
/* oklch */ color: oklch(52.4% 0.157 139.3);
Tailwind
colors: {
  custom: {
    50: '#73a45b',
    500: '#2f7e11',
    950: '#000000',
  },
}
SCSS
$custom: #2f7e11;
$custom-light: #73a45b;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7e11",
  "rgb": {
    "r": 47,
    "g": 126,
    "b": 17
  },
  "hsl": {
    "h": 103.486,
    "s": 76.224,
    "l": 28.039
  },
  "oklch": {
    "l": 0.52368,
    "c": 0.15749,
    "h": 139.3
  },
  "luminance": 0.15567
}

Semantic roles & 50–950 ramp

primary
#2F7E11
secondary
#9237B4
accent
#35F3BF
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#090F04
muted
#7B7F79

Preview Lab

Preview with #2F7E11

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

Preview Lab → · Contrast checker → · Palette generator →

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