#2F7511#2F7511

#2F7511 is a mid, vivid green. Relative luminance 0.134; OKLCH L 49.8% C 0.147 H 138.7°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#2F7511
RGBrgb(47, 117, 17)
HSLhsl(102, 75%, 26%)
HSVhsv(102, 85%, 46%)
CMYKcmyk(59.8%, 0%, 85.5%, 54.1%)
CIE-LABlab(43.31, -39.92, 43.88)
CIE-LCHlch(43.31, 59.32, 132.29°)
OKLaboklab(49.81% -0.1102 0.0968)
OKLCHoklch(49.81% 0.147 138.7)
XYZxyz(7.6345, 13.3667, 2.7079)
Luminance0.1337 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7511 #571175
analogous
#617511 #2F7511 #117525
triadic
#2F7511 #112F75 #75112F
tetradic
#2F7511 #116175 #571175 #752511
square
#2F7511 #116175 #571175 #752511
split-complementary
#2F7511 #251175 #751161
monochromatic
#0B1B04 #1A4009 #2F7511 #44AA19 #5ADF22

Accessibility & contrast

On white

5.72
#2F7511 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#2F7511 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F7511
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7511#FFFFFF#000000##FFFFFF
##2F75111.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796A00
Deuteranopia (green-blind)
#70641E
Tritanopia (blue-blind)
#287163
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #2f7511;
/* rgb */ color: rgb(47, 117, 17);
/* oklch */ color: oklch(49.8% 0.147 138.7);
Tailwind
colors: {
  custom: {
    50: '#719d5a',
    500: '#2f7511',
    950: '#000000',
  },
}
SCSS
$custom: #2f7511;
$custom-light: #719d5a;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7511",
  "rgb": {
    "r": 47,
    "g": 117,
    "b": 17
  },
  "hsl": {
    "h": 102,
    "s": 74.627,
    "l": 26.275
  },
  "oklch": {
    "l": 0.49814,
    "c": 0.14672,
    "h": 138.7
  },
  "luminance": 0.13367
}

Semantic roles & 50–950 ramp

primary
#2F7511
secondary
#8836AC
accent
#37F1B9
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #2F7511

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

Preview Lab → · Contrast checker → · Palette generator →

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