#2F7616#2F7616

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

Color values

HEX#2F7616
RGBrgb(47, 118, 22)
HSLhsl(104, 69%, 27%)
HSVhsv(104, 81%, 46%)
CMYKcmyk(60.2%, 0%, 81.4%, 53.7%)
CIE-LABlab(43.68, -40.01, 42.65)
CIE-LCHlch(43.68, 58.48, 133.17°)
OKLaboklab(50.13% -0.1102 0.095)
OKLCHoklch(50.13% 0.145 139.2)
XYZxyz(7.7952, 13.6185, 2.9767)
Luminance0.1362 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7616 #5D1676
analogous
#5F7616 #2F7616 #16762D
triadic
#2F7616 #162F76 #76162F
tetradic
#2F7616 #165F76 #5D1676 #762D16
square
#2F7616 #165F76 #5D1676 #762D16
split-complementary
#2F7616 #2D1676 #76165F
monochromatic
#0A1A05 #1A420C #2F7616 #44AA20 #5BD82E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2F7616#FFFFFF#000000##FFFFFF
##2F76161.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)
#716521
Tritanopia (blue-blind)
#277264
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #2f7616;
/* rgb */ color: rgb(47, 118, 22);
/* oklch */ color: oklch(50.1% 0.145 139.2);
Tailwind
colors: {
  custom: {
    50: '#719e5c',
    500: '#2f7616',
    950: '#000000',
  },
}
SCSS
$custom: #2f7616;
$custom-light: #719e5c;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7616",
  "rgb": {
    "r": 47,
    "g": 118,
    "b": 22
  },
  "hsl": {
    "h": 104.375,
    "s": 68.571,
    "l": 27.451
  },
  "oklch": {
    "l": 0.50128,
    "c": 0.14549,
    "h": 139.2
  },
  "luminance": 0.13619
}

Semantic roles & 50–950 ramp

primary
#2F7616
secondary
#8F3CAC
accent
#3CEBBE
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #2F7616

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

Preview Lab → · Contrast checker → · Palette generator →

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