#2F7719#2F7719

#2F7719 is a mid, vivid green. Relative luminance 0.139; OKLCH L 50.4% C 0.145 H 139.6°. Best body text is #FFFFFF at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#2F7719
RGBrgb(47, 119, 25)
HSLhsl(106, 65%, 28%)
HSVhsv(106, 79%, 47%)
CMYKcmyk(60.5%, 0%, 79%, 53.3%)
CIE-LABlab(44.04, -40.19, 41.95)
CIE-LCHlch(44.04, 58.09, 133.78°)
OKLaboklab(50.43% -0.1105 0.094)
OKLCHoklch(50.43% 0.145 139.6)
XYZxyz(7.9442, 13.8675, 3.1776)
Luminance0.1387 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7719 #611977
analogous
#5E7719 #2F7719 #197732
triadic
#2F7719 #192F77 #77192F
tetradic
#2F7719 #195E77 #611977 #773219
square
#2F7719 #195E77 #611977 #773219
split-complementary
#2F7719 #321977 #77195E
monochromatic
#0A1905 #1B440E #2F7719 #43AA24 #5BD536

Accessibility & contrast

On white

5.56
#2F7719 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#2F7719 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F7719
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7719#FFFFFF#000000##FFFFFF
##2F77191.005.563.775.56
#FFFFFF5.561.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6C04
Deuteranopia (green-blind)
#726623
Tritanopia (blue-blind)
#267365
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #2f7719;
/* rgb */ color: rgb(47, 119, 25);
/* oklch */ color: oklch(50.4% 0.145 139.6);
Tailwind
colors: {
  custom: {
    50: '#719f5d',
    500: '#2f7719',
    950: '#000000',
  },
}
SCSS
$custom: #2f7719;
$custom-light: #719f5d;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7719",
  "rgb": {
    "r": 47,
    "g": 119,
    "b": 25
  },
  "hsl": {
    "h": 105.957,
    "s": 65.278,
    "l": 28.235
  },
  "oklch": {
    "l": 0.50432,
    "c": 0.14508,
    "h": 139.6
  },
  "luminance": 0.13868
}

Semantic roles & 50–950 ramp

primary
#2F7719
secondary
#9340AC
accent
#40E8C1
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E05
muted
#7B7E79

Preview Lab

Preview with #2F7719

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

Preview Lab → · Contrast checker → · Palette generator →

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