#2F731C#2F731C

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

Color values

HEX#2F731C
RGBrgb(47, 115, 28)
HSLhsl(107, 61%, 28%)
HSVhsv(107, 76%, 45%)
CMYKcmyk(59.1%, 0%, 75.7%, 54.9%)
CIE-LABlab(42.69, -38.38, 39.45)
CIE-LCHlch(42.69, 55.04, 134.21°)
OKLaboklab(49.32% -0.1054 0.0893)
OKLCHoklch(49.32% 0.138 139.8)
XYZxyz(7.5123, 12.9490, 3.2019)
Luminance0.1295 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F731C #601C73
analogous
#5A731C #2F731C #1C7335
triadic
#2F731C #1C2F73 #731C2F
tetradic
#2F731C #1C5A73 #601C73 #73351C
square
#2F731C #1C5A73 #601C73 #73351C
split-complementary
#2F731C #351C73 #731C5A
monochromatic
#0A1906 #1B4210 #2F731C #43A428 #5BCF3A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #2f731c;
/* rgb */ color: rgb(47, 115, 28);
/* oklch */ color: oklch(49.3% 0.138 139.8);
Tailwind
colors: {
  custom: {
    50: '#709c5e',
    500: '#2f731c',
    950: '#000000',
  },
}
SCSS
$custom: #2f731c;
$custom-light: #709c5e;
$custom-dark: #000000;
JSON
{
  "hex": "#2f731c",
  "rgb": {
    "r": 47,
    "g": 115,
    "b": 28
  },
  "hsl": {
    "h": 106.897,
    "s": 60.839,
    "l": 28.039
  },
  "oklch": {
    "l": 0.49319,
    "c": 0.13813,
    "h": 139.8
  },
  "luminance": 0.1295
}

Semantic roles & 50–950 ramp

primary
#2F731C
secondary
#9243A7
accent
#44E4C1
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E05
muted
#7B7E79

Preview Lab

Preview with #2F731C

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

Preview Lab → · Contrast checker → · Palette generator →

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