#2F784F#2F784F

#2F784F is a mid, moderate green. Relative luminance 0.146; OKLCH L 51.5% C 0.098 H 155.8°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#2F784F
RGBrgb(47, 120, 79)
HSLhsl(146, 44%, 33%)
HSVhsv(146, 61%, 47%)
CMYKcmyk(60.8%, 0%, 34.2%, 52.9%)
CIE-LABlab(45.08, -32.89, 15.92)
CIE-LCHlch(45.08, 36.54, 154.18°)
OKLaboklab(51.52% -0.0895 0.0402)
OKLCHoklch(51.52% 0.098 155.8)
XYZxyz(9.2993, 14.6009, 9.7238)
Luminance0.1460 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F784F #782F58
analogous
#33782F #2F784F #2F7873
triadic
#2F784F #4F2F78 #784F2F
tetradic
#2F784F #2F3378 #782F58 #78732F
square
#2F784F #2F3378 #782F58 #78732F
split-complementary
#2F784F #732F78 #782F33
monochromatic
#0D2015 #1E4C32 #2F784F #40A46C #60C18B

Accessibility & contrast

On white

5.36
#2F784F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#2F784F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F784F
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F784F#FFFFFF#000000##FFFFFF
##2F784F1.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776F4C
Deuteranopia (green-blind)
#6D6852
Tritanopia (blue-blind)
#15776D
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #2f784f;
/* rgb */ color: rgb(47, 120, 79);
/* oklch */ color: oklch(51.5% 0.098 155.8);
Tailwind
colors: {
  custom: {
    50: '#6f9f80',
    500: '#2f784f',
    950: '#000000',
  },
}
SCSS
$custom: #2f784f;
$custom-light: #6f9f80;
$custom-dark: #000000;
JSON
{
  "hex": "#2f784f",
  "rgb": {
    "r": 47,
    "g": 120,
    "b": 79
  },
  "hsl": {
    "h": 146.301,
    "s": 43.713,
    "l": 32.745
  },
  "oklch": {
    "l": 0.51516,
    "c": 0.09808,
    "h": 155.8
  },
  "luminance": 0.14602
}

Semantic roles & 50–950 ramp

primary
#2F784F
secondary
#A85B86
accent
#549CD3
background
#F7F9F7
surface
#EDF2EE
border
#C8CCC9
text
#080E0A
muted
#7B7E7C

Preview Lab

Preview with #2F784F

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

Preview Lab → · Contrast checker → · Palette generator →

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