#2F7617#2F7617

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

Color values

HEX#2F7617
RGBrgb(47, 118, 23)
HSLhsl(105, 67%, 28%)
HSVhsv(105, 81%, 46%)
CMYKcmyk(60.2%, 0%, 80.5%, 53.7%)
CIE-LABlab(43.69, -39.94, 42.31)
CIE-LCHlch(43.69, 58.18, 133.35°)
OKLaboklab(50.14% -0.1099 0.0945)
OKLCHoklch(50.14% 0.145 139.3)
XYZxyz(7.8051, 13.6224, 3.0285)
Luminance0.1362 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7617 #5E1776
analogous
#5F7617 #2F7617 #17762E
triadic
#2F7617 #172F76 #76172F
tetradic
#2F7617 #175F76 #5E1776 #762E17
square
#2F7617 #175F76 #5E1776 #762E17
split-complementary
#2F7617 #2E1776 #76175F
monochromatic
#0A1A05 #1B430D #2F7617 #43A921 #5BD731

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2F7617#FFFFFF#000000##FFFFFF
##2F76171.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)
#7A6B01
Deuteranopia (green-blind)
#716522
Tritanopia (blue-blind)
#277264
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #2f7617;
/* rgb */ color: rgb(47, 118, 23);
/* oklch */ color: oklch(50.1% 0.145 139.3);
Tailwind
colors: {
  custom: {
    50: '#719e5c',
    500: '#2f7617',
    950: '#000000',
  },
}
SCSS
$custom: #2f7617;
$custom-light: #719e5c;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7617",
  "rgb": {
    "r": 47,
    "g": 118,
    "b": 23
  },
  "hsl": {
    "h": 104.842,
    "s": 67.376,
    "l": 27.647
  },
  "oklch": {
    "l": 0.50135,
    "c": 0.14496,
    "h": 139.3
  },
  "luminance": 0.13623
}

Semantic roles & 50–950 ramp

primary
#2F7617
secondary
#903EAB
accent
#3EEABF
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #2F7617

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

Preview Lab → · Contrast checker → · Palette generator →

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