#2F731D#2F731D

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

Color values

HEX#2F731D
RGBrgb(47, 115, 29)
HSLhsl(107, 60%, 28%)
HSVhsv(107, 75%, 45%)
CMYKcmyk(59.1%, 0%, 74.8%, 54.9%)
CIE-LABlab(42.69, -38.30, 39.05)
CIE-LCHlch(42.69, 54.70, 134.44°)
OKLaboklab(49.33% -0.1051 0.0886)
OKLCHoklch(49.33% 0.137 139.9)
XYZxyz(7.5245, 12.9539, 3.2660)
Luminance0.1295 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F731D #611D73
analogous
#5A731D #2F731D #1D7336
triadic
#2F731D #1D2F73 #731D2F
tetradic
#2F731D #1D5A73 #611D73 #73361D
square
#2F731D #1D5A73 #611D73 #73361D
split-complementary
#2F731D #361D73 #731D5A
monochromatic
#0A1806 #1B4211 #2F731D #43A429 #5BCE3C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2F731D#FFFFFF#000000##FFFFFF
##2F731D1.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)
#76680E
Deuteranopia (green-blind)
#6E6325
Tritanopia (blue-blind)
#276F62
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #2f731d;
/* rgb */ color: rgb(47, 115, 29);
/* oklch */ color: oklch(49.3% 0.137 139.9);
Tailwind
colors: {
  custom: {
    50: '#709c5f',
    500: '#2f731d',
    950: '#000000',
  },
}
SCSS
$custom: #2f731d;
$custom-light: #709c5f;
$custom-dark: #000000;
JSON
{
  "hex": "#2f731d",
  "rgb": {
    "r": 47,
    "g": 115,
    "b": 29
  },
  "hsl": {
    "h": 107.442,
    "s": 59.722,
    "l": 28.235
  },
  "oklch": {
    "l": 0.49328,
    "c": 0.13747,
    "h": 139.9
  },
  "luminance": 0.12955
}

Semantic roles & 50–950 ramp

primary
#2F731D
secondary
#9345A7
accent
#45E3C2
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E05
muted
#7B7E79

Preview Lab

Preview with #2F731D

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

Preview Lab → · Contrast checker → · Palette generator →

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