#2F781E#2F781E

#2F781E is a mid, vivid green. Relative luminance 0.141; OKLCH L 50.8% C 0.143 H 140.3°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#2F781E
RGBrgb(47, 120, 30)
HSLhsl(109, 60%, 29%)
HSVhsv(109, 75%, 47%)
CMYKcmyk(60.8%, 0%, 75%, 52.9%)
CIE-LABlab(44.42, -40.19, 40.41)
CIE-LCHlch(44.42, 57.00, 134.84°)
OKLaboklab(50.76% -0.1102 0.0916)
OKLCHoklch(50.76% 0.143 140.3)
XYZxyz(8.1227, 14.1303, 3.5274)
Luminance0.1413 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F781E #671E78
analogous
#5C781E #2F781E #1E783A
triadic
#2F781E #1E2F78 #781E2F
tetradic
#2F781E #1E5C78 #671E78 #783A1E
square
#2F781E #1E5C78 #671E78 #783A1E
split-complementary
#2F781E #3A1E78 #781E5C
monochromatic
#0A1806 #1C4712 #2F781E #42A92A #5CCF41

Accessibility & contrast

On white

5.49
#2F781E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#2F781E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F781E
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F781E#FFFFFF#000000##FFFFFF
##2F781E1.005.493.835.49
#FFFFFF5.491.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6D0E
Deuteranopia (green-blind)
#726727
Tritanopia (blue-blind)
#267466
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #2f781e;
/* rgb */ color: rgb(47, 120, 30);
/* oklch */ color: oklch(50.8% 0.143 140.3);
Tailwind
colors: {
  custom: {
    50: '#71a060',
    500: '#2f781e',
    950: '#000000',
  },
}
SCSS
$custom: #2f781e;
$custom-light: #71a060;
$custom-dark: #000000;
JSON
{
  "hex": "#2f781e",
  "rgb": {
    "r": 47,
    "g": 120,
    "b": 30
  },
  "hsl": {
    "h": 108.667,
    "s": 60,
    "l": 29.412
  },
  "oklch": {
    "l": 0.50755,
    "c": 0.14326,
    "h": 140.3
  },
  "luminance": 0.14131
}

Semantic roles & 50–950 ramp

primary
#2F781E
secondary
#9846AC
accent
#45E3C5
background
#F7F9F5
surface
#EDF2EA
border
#C8CCC6
text
#080F05
muted
#7B7E79

Preview Lab

Preview with #2F781E

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

Preview Lab → · Contrast checker → · Palette generator →

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