#2F783D#2F783D

#2F783D is a mid, moderate green. Relative luminance 0.144; OKLCH L 51.1% C 0.117 H 147.5°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#2F783D
RGBrgb(47, 120, 61)
HSLhsl(132, 44%, 33%)
HSVhsv(132, 61%, 47%)
CMYKcmyk(60.8%, 0%, 49.2%, 52.9%)
CIE-LABlab(44.76, -36.31, 25.70)
CIE-LCHlch(44.76, 44.49, 144.72°)
OKLaboklab(51.15% -0.0982 0.0627)
OKLCHoklch(51.15% 0.117 147.5)
XYZxyz(8.7305, 14.3734, 6.7282)
Luminance0.1437 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F783D #782F6A
analogous
#45782F #2F783D #2F7862
triadic
#2F783D #3D2F78 #783D2F
tetradic
#2F783D #2F4578 #782F6A #78622F
square
#2F783D #2F4578 #782F6A #78622F
split-complementary
#2F783D #622F78 #782F45
monochromatic
#0D2010 #1E4C27 #2F783D #40A453 #60C173

Accessibility & contrast

On white

5.42
#2F783D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#2F783D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F783D
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F783D#FFFFFF#000000##FFFFFF
##2F783D1.005.423.875.42
#FFFFFF5.421.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796E38
Deuteranopia (green-blind)
#706741
Tritanopia (blue-blind)
#1E756A
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #2f783d;
/* rgb */ color: rgb(47, 120, 61);
/* oklch */ color: oklch(51.1% 0.117 147.5);
Tailwind
colors: {
  custom: {
    50: '#6fa073',
    500: '#2f783d',
    950: '#000000',
  },
}
SCSS
$custom: #2f783d;
$custom-light: #6fa073;
$custom-dark: #000000;
JSON
{
  "hex": "#2f783d",
  "rgb": {
    "r": 47,
    "g": 120,
    "b": 61
  },
  "hsl": {
    "h": 131.507,
    "s": 43.713,
    "l": 32.745
  },
  "oklch": {
    "l": 0.5115,
    "c": 0.11651,
    "h": 147.5
  },
  "luminance": 0.14374
}

Semantic roles & 50–950 ramp

primary
#2F783D
secondary
#A85B99
accent
#54BBD3
background
#F7F9F7
surface
#EDF2ED
border
#C8CCC8
text
#080F08
muted
#7B7E7B

Preview Lab

Preview with #2F783D

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

Preview Lab → · Contrast checker → · Palette generator →

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