#2F783A#2F783A

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

Color values

HEX#2F783A
RGBrgb(47, 120, 58)
HSLhsl(129, 44%, 33%)
HSVhsv(129, 61%, 47%)
CMYKcmyk(60.8%, 0%, 51.7%, 52.9%)
CIE-LABlab(44.72, -36.80, 27.27)
CIE-LCHlch(44.72, 45.81, 143.46°)
OKLaboklab(51.1% -0.0996 0.0661)
OKLCHoklch(51.1% 0.12 146.4)
XYZxyz(8.6519, 14.3420, 6.3145)
Luminance0.1434 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F783A #782F6D
analogous
#48782F #2F783A #2F785E
triadic
#2F783A #3A2F78 #783A2F
tetradic
#2F783A #2F4878 #782F6D #785E2F
square
#2F783A #2F4878 #782F6D #785E2F
split-complementary
#2F783A #5E2F78 #782F48
monochromatic
#0D200F #1E4C25 #2F783A #40A44F #60C16F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2F783A#FFFFFF#000000##FFFFFF
##2F783A1.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)
#7A6E35
Deuteranopia (green-blind)
#70673E
Tritanopia (blue-blind)
#1F756A
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #2f783a;
/* rgb */ color: rgb(47, 120, 58);
/* oklch */ color: oklch(51.1% 0.120 146.4);
Tailwind
colors: {
  custom: {
    50: '#6fa071',
    500: '#2f783a',
    950: '#000000',
  },
}
SCSS
$custom: #2f783a;
$custom-light: #6fa071;
$custom-dark: #000000;
JSON
{
  "hex": "#2f783a",
  "rgb": {
    "r": 47,
    "g": 120,
    "b": 58
  },
  "hsl": {
    "h": 129.041,
    "s": 43.713,
    "l": 32.745
  },
  "oklch": {
    "l": 0.51099,
    "c": 0.11952,
    "h": 146.4
  },
  "luminance": 0.14343
}

Semantic roles & 50–950 ramp

primary
#2F783A
secondary
#A85B9C
accent
#54C0D3
background
#F7F9F6
surface
#EDF2EC
border
#C8CCC7
text
#080F08
muted
#7B7E7B

Preview Lab

Preview with #2F783A

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

Preview Lab → · Contrast checker → · Palette generator →

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