#2F731F#2F731F

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

Color values

HEX#2F731F
RGBrgb(47, 115, 31)
HSLhsl(109, 58%, 29%)
HSVhsv(109, 73%, 45%)
CMYKcmyk(59.1%, 0%, 73%, 54.9%)
CIE-LABlab(42.71, -38.12, 38.24)
CIE-LCHlch(42.71, 54.00, 134.91°)
OKLaboklab(49.35% -0.1045 0.0871)
OKLCHoklch(49.35% 0.136 140.2)
XYZxyz(7.5500, 12.9641, 3.4005)
Luminance0.1296 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F731F #631F73
analogous
#59731F #2F731F #1F7339
triadic
#2F731F #1F2F73 #731F2F
tetradic
#2F731F #1F5973 #631F73 #73391F
square
#2F731F #1F5973 #631F73 #73391F
split-complementary
#2F731F #391F73 #731F59
monochromatic
#0A1806 #1B4312 #2F731F #43A32C #5BCC41

Accessibility & contrast

On white

5.84
#2F731F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2F731F
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F731F#FFFFFF#000000##FFFFFF
##2F731F1.005.843.595.84
#FFFFFF5.841.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2f731f;
/* rgb */ color: rgb(47, 115, 31);
/* oklch */ color: oklch(49.3% 0.136 140.2);
Tailwind
colors: {
  custom: {
    50: '#709c60',
    500: '#2f731f',
    950: '#000000',
  },
}
SCSS
$custom: #2f731f;
$custom-light: #709c60;
$custom-dark: #000000;
JSON
{
  "hex": "#2f731f",
  "rgb": {
    "r": 47,
    "g": 115,
    "b": 31
  },
  "hsl": {
    "h": 108.571,
    "s": 57.534,
    "l": 28.627
  },
  "oklch": {
    "l": 0.49345,
    "c": 0.1361,
    "h": 140.2
  },
  "luminance": 0.12965
}

Semantic roles & 50–950 ramp

primary
#2F731F
secondary
#9547A7
accent
#47E1C3
background
#F7F9F5
surface
#EDF2EA
border
#C8CCC6
text
#080E05
muted
#7B7E79

Preview Lab

Preview with #2F731F

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

Preview Lab → · Contrast checker → · Palette generator →

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