#2F7716#2F7716

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

Color values

HEX#2F7716
RGBrgb(47, 119, 22)
HSLhsl(105, 69%, 28%)
HSVhsv(105, 82%, 47%)
CMYKcmyk(60.5%, 0%, 81.5%, 53.3%)
CIE-LABlab(44.02, -40.40, 42.98)
CIE-LCHlch(44.02, 58.98, 133.23°)
OKLaboklab(50.41% -0.1112 0.0957)
OKLCHoklch(50.41% 0.147 139.3)
XYZxyz(7.9136, 13.8552, 3.0162)
Luminance0.1386 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7716 #5E1677
analogous
#5F7716 #2F7716 #16772D
triadic
#2F7716 #162F77 #77162F
tetradic
#2F7716 #165F77 #5E1677 #772D16
square
#2F7716 #165F77 #5E1677 #772D16
split-complementary
#2F7716 #2D1677 #77165F
monochromatic
#0A1A05 #1B430C #2F7716 #43AB20 #5BD92F

Accessibility & contrast

On white

5.57
#2F7716 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2F7716
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7716#FFFFFF#000000##FFFFFF
##2F77161.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6C00
Deuteranopia (green-blind)
#726621
Tritanopia (blue-blind)
#277365
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #2f7716;
/* rgb */ color: rgb(47, 119, 22);
/* oklch */ color: oklch(50.4% 0.147 139.3);
Tailwind
colors: {
  custom: {
    50: '#719f5c',
    500: '#2f7716',
    950: '#000000',
  },
}
SCSS
$custom: #2f7716;
$custom-light: #719f5c;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7716",
  "rgb": {
    "r": 47,
    "g": 119,
    "b": 22
  },
  "hsl": {
    "h": 104.536,
    "s": 68.794,
    "l": 27.647
  },
  "oklch": {
    "l": 0.50412,
    "c": 0.14674,
    "h": 139.3
  },
  "luminance": 0.13856
}

Semantic roles & 50–950 ramp

primary
#2F7716
secondary
#903CAC
accent
#3CECBE
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #2F7716

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

Preview Lab → · Contrast checker → · Palette generator →

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