#2F783E#2F783E

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

Color values

HEX#2F783E
RGBrgb(47, 120, 62)
HSLhsl(132, 44%, 33%)
HSVhsv(132, 61%, 47%)
CMYKcmyk(60.8%, 0%, 48.3%, 52.9%)
CIE-LABlab(44.78, -36.15, 25.16)
CIE-LCHlch(44.78, 44.04, 145.15°)
OKLaboklab(51.17% -0.0978 0.0615)
OKLCHoklch(51.17% 0.116 147.8)
XYZxyz(8.7577, 14.3843, 6.8714)
Luminance0.1439 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F783E #782F69
analogous
#44782F #2F783E #2F7863
triadic
#2F783E #3E2F78 #783E2F
tetradic
#2F783E #2F4478 #782F69 #78632F
square
#2F783E #2F4478 #782F69 #78632F
split-complementary
#2F783E #632F78 #782F44
monochromatic
#0D2011 #1E4C27 #2F783E #40A455 #60C174

Accessibility & contrast

On white

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

On black

3.88
#2F783E on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2F783E#FFFFFF#000000##FFFFFF
##2F783E1.005.423.885.42
#FFFFFF5.421.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796E39
Deuteranopia (green-blind)
#706742
Tritanopia (blue-blind)
#1E766A
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #2f783e;
/* rgb */ color: rgb(47, 120, 62);
/* oklch */ color: oklch(51.2% 0.116 147.8);
Tailwind
colors: {
  custom: {
    50: '#6fa074',
    500: '#2f783e',
    950: '#000000',
  },
}
SCSS
$custom: #2f783e;
$custom-light: #6fa074;
$custom-dark: #000000;
JSON
{
  "hex": "#2f783e",
  "rgb": {
    "r": 47,
    "g": 120,
    "b": 62
  },
  "hsl": {
    "h": 132.329,
    "s": 43.713,
    "l": 32.745
  },
  "oklch": {
    "l": 0.51167,
    "c": 0.1155,
    "h": 147.8
  },
  "luminance": 0.14385
}

Semantic roles & 50–950 ramp

primary
#2F783E
secondary
#A85B98
accent
#54B9D3
background
#F7F9F7
surface
#EDF2ED
border
#C8CCC8
text
#080F08
muted
#7B7E7B

Preview Lab

Preview with #2F783E

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

Preview Lab → · Contrast checker → · Palette generator →

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