#2F7F11#2F7F11

#2F7F11 is a mid, vivid green. Relative luminance 0.158; OKLCH L 52.7% C 0.159 H 139.3°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#2F7F11
RGBrgb(47, 127, 17)
HSLhsl(104, 76%, 28%)
HSVhsv(104, 87%, 50%)
CMYKcmyk(63%, 0%, 86.6%, 50.2%)
CIE-LABlab(46.74, -43.71, 46.99)
CIE-LCHlch(46.74, 64.17, 132.93°)
OKLaboklab(52.65% -0.1204 0.1034)
OKLCHoklch(52.65% 0.159 139.3)
XYZxyz(8.8625, 15.8227, 3.1173)
Luminance0.1582 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7F11 #61117F
analogous
#667F11 #2F7F11 #117F2A
triadic
#2F7F11 #112F7F #7F112F
tetradic
#2F7F11 #11667F #61117F #7F2A11
square
#2F7F11 #11667F #61117F #7F2A11
split-complementary
#2F7F11 #2A117F #7F1166
monochromatic
#0A1B04 #1B490A #2F7F11 #43B518 #5BE228

Accessibility & contrast

On white

5.04
#2F7F11 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#2F7F11 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F7F11
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7F11#FFFFFF#000000##FFFFFF
##2F7F111.005.044.165.04
#FFFFFF5.041.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837300
Deuteranopia (green-blind)
#796C20
Tritanopia (blue-blind)
#257A6C
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #2f7f11;
/* rgb */ color: rgb(47, 127, 17);
/* oklch */ color: oklch(52.7% 0.159 139.3);
Tailwind
colors: {
  custom: {
    50: '#73a55b',
    500: '#2f7f11',
    950: '#000000',
  },
}
SCSS
$custom: #2f7f11;
$custom-light: #73a55b;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7f11",
  "rgb": {
    "r": 47,
    "g": 127,
    "b": 17
  },
  "hsl": {
    "h": 103.636,
    "s": 76.389,
    "l": 28.235
  },
  "oklch": {
    "l": 0.52651,
    "c": 0.15866,
    "h": 139.3
  },
  "luminance": 0.15824
}

Semantic roles & 50–950 ramp

primary
#2F7F11
secondary
#9337B5
accent
#35F3BF
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#090F04
muted
#7B7F79

Preview Lab

Preview with #2F7F11

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

Preview Lab → · Contrast checker → · Palette generator →

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