#2F7611#2F7611

#2F7611 is a mid, vivid green. Relative luminance 0.136; OKLCH L 50.1% C 0.148 H 138.8°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#2F7611
RGBrgb(47, 118, 17)
HSLhsl(102, 75%, 26%)
HSVhsv(102, 86%, 46%)
CMYKcmyk(60.2%, 0%, 85.6%, 53.7%)
CIE-LABlab(43.66, -40.30, 44.20)
CIE-LCHlch(43.66, 59.81, 132.36°)
OKLaboklab(50.1% -0.1112 0.0975)
OKLCHoklch(50.1% 0.148 138.8)
XYZxyz(7.7516, 13.6010, 2.7470)
Luminance0.1360 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7611 #581176
analogous
#627611 #2F7611 #117626
triadic
#2F7611 #112F76 #76112F
tetradic
#2F7611 #116276 #581176 #762611
square
#2F7611 #116276 #581176 #762611
split-complementary
#2F7611 #261176 #761162
monochromatic
#0B1B04 #1A4109 #2F7611 #44AB19 #5ADF22

Accessibility & contrast

On white

5.64
#2F7611 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#2F7611 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F7611
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7611#FFFFFF#000000##FFFFFF
##2F76111.005.643.725.64
#FFFFFF5.641.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6B00
Deuteranopia (green-blind)
#71651E
Tritanopia (blue-blind)
#287264
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #2f7611;
/* rgb */ color: rgb(47, 118, 17);
/* oklch */ color: oklch(50.1% 0.148 138.8);
Tailwind
colors: {
  custom: {
    50: '#719e5a',
    500: '#2f7611',
    950: '#000000',
  },
}
SCSS
$custom: #2f7611;
$custom-light: #719e5a;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7611",
  "rgb": {
    "r": 47,
    "g": 118,
    "b": 17
  },
  "hsl": {
    "h": 102.178,
    "s": 74.815,
    "l": 26.471
  },
  "oklch": {
    "l": 0.50099,
    "c": 0.14793,
    "h": 138.8
  },
  "luminance": 0.13602
}

Semantic roles & 50–950 ramp

primary
#2F7611
secondary
#8A36AD
accent
#36F1BA
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #2F7611

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

Preview Lab → · Contrast checker → · Palette generator →

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