#2E784F#2E784F

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

Color values

HEX#2E784F
RGBrgb(46, 120, 79)
HSLhsl(147, 45%, 33%)
HSVhsv(147, 62%, 47%)
CMYKcmyk(61.7%, 0%, 34.2%, 52.9%)
CIE-LABlab(45.05, -33.13, 15.87)
CIE-LCHlch(45.05, 36.73, 154.41°)
OKLaboklab(51.48% -0.0901 0.0401)
OKLCHoklch(51.48% 0.099 156)
XYZxyz(9.2537, 14.5774, 9.7217)
Luminance0.1458 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E784F #782E57
analogous
#32782E #2E784F #2E7874
triadic
#2E784F #4F2E78 #784F2E
tetradic
#2E784F #2E3278 #782E57 #78742E
square
#2E784F #2E3278 #782E57 #78742E
split-complementary
#2E784F #742E78 #782E32
monochromatic
#0C2015 #1D4C32 #2E784F #3FA46C #5FC28B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2E784F#FFFFFF#000000##FFFFFF
##2E784F1.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)
#12776D
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #2e784f;
/* rgb */ color: rgb(46, 120, 79);
/* oklch */ color: oklch(51.5% 0.099 156.0);
Tailwind
colors: {
  custom: {
    50: '#6e9f80',
    500: '#2e784f',
    950: '#000000',
  },
}
SCSS
$custom: #2e784f;
$custom-light: #6e9f80;
$custom-dark: #000000;
JSON
{
  "hex": "#2e784f",
  "rgb": {
    "r": 46,
    "g": 120,
    "b": 79
  },
  "hsl": {
    "h": 146.757,
    "s": 44.578,
    "l": 32.549
  },
  "oklch": {
    "l": 0.5148,
    "c": 0.09861,
    "h": 156
  },
  "luminance": 0.14578
}

Semantic roles & 50–950 ramp

primary
#2E784F
secondary
#A85A85
accent
#549BD4
background
#F6F9F7
surface
#ECF2EE
border
#C7CCC9
text
#080E0A
muted
#7B7E7C

Preview Lab

Preview with #2E784F

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

Preview Lab → · Contrast checker → · Palette generator →

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