#2F783B#2F783B

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

Color values

HEX#2F783B
RGBrgb(47, 120, 59)
HSLhsl(130, 44%, 33%)
HSVhsv(130, 61%, 47%)
CMYKcmyk(60.8%, 0%, 50.8%, 52.9%)
CIE-LABlab(44.73, -36.64, 26.75)
CIE-LCHlch(44.73, 45.37, 143.87°)
OKLaboklab(51.12% -0.0991 0.0649)
OKLCHoklch(51.12% 0.119 146.8)
XYZxyz(8.6776, 14.3522, 6.4498)
Luminance0.1435 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F783B #782F6C
analogous
#47782F #2F783B #2F785F
triadic
#2F783B #3B2F78 #783B2F
tetradic
#2F783B #2F4778 #782F6C #785F2F
square
#2F783B #2F4778 #782F6C #785F2F
split-complementary
#2F783B #5F2F78 #782F47
monochromatic
#0D2010 #1E4C25 #2F783B #40A451 #60C170

Accessibility & contrast

On white

5.43
#2F783B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2F783B
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F783B#FFFFFF#000000##FFFFFF
##2F783B1.005.433.875.43
#FFFFFF5.431.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6E36
Deuteranopia (green-blind)
#70673F
Tritanopia (blue-blind)
#1F756A
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #2f783b;
/* rgb */ color: rgb(47, 120, 59);
/* oklch */ color: oklch(51.1% 0.119 146.8);
Tailwind
colors: {
  custom: {
    50: '#6fa072',
    500: '#2f783b',
    950: '#000000',
  },
}
SCSS
$custom: #2f783b;
$custom-light: #6fa072;
$custom-dark: #000000;
JSON
{
  "hex": "#2f783b",
  "rgb": {
    "r": 47,
    "g": 120,
    "b": 59
  },
  "hsl": {
    "h": 129.863,
    "s": 43.713,
    "l": 32.745
  },
  "oklch": {
    "l": 0.51116,
    "c": 0.11852,
    "h": 146.8
  },
  "luminance": 0.14353
}

Semantic roles & 50–950 ramp

primary
#2F783B
secondary
#A85B9B
accent
#54BFD3
background
#F7F9F6
surface
#EDF2EC
border
#C8CCC7
text
#080F08
muted
#7B7E7B

Preview Lab

Preview with #2F783B

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

Preview Lab → · Contrast checker → · Palette generator →

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