#2F731A#2F731A

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

Color values

HEX#2F731A
RGBrgb(47, 115, 26)
HSLhsl(106, 63%, 28%)
HSVhsv(106, 77%, 45%)
CMYKcmyk(59.1%, 0%, 77.4%, 54.9%)
CIE-LABlab(42.67, -38.54, 40.22)
CIE-LCHlch(42.67, 55.71, 133.78°)
OKLaboklab(49.3% -0.106 0.0906)
OKLCHoklch(49.3% 0.139 139.5)
XYZxyz(7.4892, 12.9397, 3.0800)
Luminance0.1294 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F731A #5E1A73
analogous
#5B731A #2F731A #1A7332
triadic
#2F731A #1A2F73 #731A2F
tetradic
#2F731A #1A5B73 #5E1A73 #73321A
square
#2F731A #1A5B73 #5E1A73 #73321A
split-complementary
#2F731A #321A73 #731A5B
monochromatic
#0A1906 #1B410F #2F731A #43A525 #5BD236

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2F731A#FFFFFF#000000##FFFFFF
##2F731A1.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)
#766808
Deuteranopia (green-blind)
#6E6323
Tritanopia (blue-blind)
#276F62
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #2f731a;
/* rgb */ color: rgb(47, 115, 26);
/* oklch */ color: oklch(49.3% 0.139 139.5);
Tailwind
colors: {
  custom: {
    50: '#709c5d',
    500: '#2f731a',
    950: '#000000',
  },
}
SCSS
$custom: #2f731a;
$custom-light: #709c5d;
$custom-dark: #000000;
JSON
{
  "hex": "#2f731a",
  "rgb": {
    "r": 47,
    "g": 115,
    "b": 26
  },
  "hsl": {
    "h": 105.843,
    "s": 63.121,
    "l": 27.647
  },
  "oklch": {
    "l": 0.49303,
    "c": 0.13941,
    "h": 139.5
  },
  "luminance": 0.1294
}

Semantic roles & 50–950 ramp

primary
#2F731A
secondary
#9041A8
accent
#42E6BF
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #2F731A

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

Preview Lab → · Contrast checker → · Palette generator →

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