#2F731E#2F731E

#2F731E is a mid, vivid green. Relative luminance 0.130; OKLCH L 49.3% C 0.137 H 140.0°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#2F731E
RGBrgb(47, 115, 30)
HSLhsl(108, 59%, 28%)
HSVhsv(108, 74%, 45%)
CMYKcmyk(59.1%, 0%, 73.9%, 54.9%)
CIE-LABlab(42.70, -38.21, 38.65)
CIE-LCHlch(42.70, 54.35, 134.67°)
OKLaboklab(49.34% -0.1048 0.0879)
OKLCHoklch(49.34% 0.137 140)
XYZxyz(7.5370, 12.9589, 3.3322)
Luminance0.1296 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F731E #621E73
analogous
#59731E #2F731E #1E7337
triadic
#2F731E #1E2F73 #731E2F
tetradic
#2F731E #1E5973 #621E73 #73371E
square
#2F731E #1E5973 #621E73 #73371E
split-complementary
#2F731E #371E73 #731E59
monochromatic
#0A1806 #1B4211 #2F731E #43A42B #5BCD3F

Accessibility & contrast

On white

5.85
#2F731E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#2F731E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F731E
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F731E#FFFFFF#000000##FFFFFF
##2F731E1.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766810
Deuteranopia (green-blind)
#6E6326
Tritanopia (blue-blind)
#276F62
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #2f731e;
/* rgb */ color: rgb(47, 115, 30);
/* oklch */ color: oklch(49.3% 0.137 140.0);
Tailwind
colors: {
  custom: {
    50: '#709c5f',
    500: '#2f731e',
    950: '#000000',
  },
}
SCSS
$custom: #2f731e;
$custom-light: #709c5f;
$custom-dark: #000000;
JSON
{
  "hex": "#2f731e",
  "rgb": {
    "r": 47,
    "g": 115,
    "b": 30
  },
  "hsl": {
    "h": 108,
    "s": 58.621,
    "l": 28.431
  },
  "oklch": {
    "l": 0.49336,
    "c": 0.13679,
    "h": 140
  },
  "luminance": 0.1296
}

Semantic roles & 50–950 ramp

primary
#2F731E
secondary
#9446A7
accent
#46E2C3
background
#F7F9F5
surface
#EDF2EA
border
#C8CCC6
text
#080E05
muted
#7B7E79

Preview Lab

Preview with #2F731E

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

Preview Lab → · Contrast checker → · Palette generator →

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