#2F781D#2F781D

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

Color values

HEX#2F781D
RGBrgb(47, 120, 29)
HSLhsl(108, 61%, 29%)
HSVhsv(108, 76%, 47%)
CMYKcmyk(60.8%, 0%, 75.8%, 52.9%)
CIE-LABlab(44.41, -40.27, 40.80)
CIE-LCHlch(44.41, 57.33, 134.63°)
OKLaboklab(50.75% -0.1105 0.0922)
OKLCHoklch(50.75% 0.144 140.1)
XYZxyz(8.1102, 14.1253, 3.4612)
Luminance0.1413 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F781D #661D78
analogous
#5D781D #2F781D #1D7839
triadic
#2F781D #1D2F78 #781D2F
tetradic
#2F781D #1D5D78 #661D78 #78391D
square
#2F781D #1D5D78 #661D78 #78391D
split-complementary
#2F781D #391D78 #781D5D
monochromatic
#0A1906 #1C4711 #2F781D #42A929 #5CD13F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2F781D#FFFFFF#000000##FFFFFF
##2F781D1.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)
#7B6D0C
Deuteranopia (green-blind)
#726726
Tritanopia (blue-blind)
#267466
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #2f781d;
/* rgb */ color: rgb(47, 120, 29);
/* oklch */ color: oklch(50.7% 0.144 140.1);
Tailwind
colors: {
  custom: {
    50: '#71a05f',
    500: '#2f781d',
    950: '#000000',
  },
}
SCSS
$custom: #2f781d;
$custom-light: #71a05f;
$custom-dark: #000000;
JSON
{
  "hex": "#2f781d",
  "rgb": {
    "r": 47,
    "g": 120,
    "b": 29
  },
  "hsl": {
    "h": 108.132,
    "s": 61.074,
    "l": 29.216
  },
  "oklch": {
    "l": 0.50746,
    "c": 0.14391,
    "h": 140.1
  },
  "luminance": 0.14126
}

Semantic roles & 50–950 ramp

primary
#2F781D
secondary
#9845AC
accent
#44E4C4
background
#F7F9F5
surface
#EDF2EA
border
#C8CCC6
text
#080F05
muted
#7B7E79

Preview Lab

Preview with #2F781D

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

Preview Lab → · Contrast checker → · Palette generator →

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