#2E7950#2E7950

#2E7950 is a mid, moderate green. Relative luminance 0.148; OKLCH L 51.8% C 0.099 H 156.3°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#2E7950
RGBrgb(46, 121, 80)
HSLhsl(147, 45%, 33%)
HSVhsv(147, 62%, 47%)
CMYKcmyk(62%, 0%, 33.9%, 52.5%)
CIE-LABlab(45.41, -33.36, 15.77)
CIE-LCHlch(45.41, 36.90, 154.70°)
OKLaboklab(51.78% -0.0908 0.0398)
OKLCHoklch(51.78% 0.099 156.3)
XYZxyz(9.4112, 14.8339, 9.9551)
Luminance0.1484 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E7950 #792E57
analogous
#31792E #2E7950 #2E7975
triadic
#2E7950 #502E79 #79502E
tetradic
#2E7950 #2E3179 #792E57 #79752E
square
#2E7950 #2E3179 #792E57 #79752E
split-complementary
#2E7950 #752E79 #792E31
monochromatic
#0C2015 #1D4D33 #2E7950 #3FA56D #5FC28C

Accessibility & contrast

On white

5.29
#2E7950 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#2E7950 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E7950
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E7950#FFFFFF#000000##FFFFFF
##2E79501.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#78704D
Deuteranopia (green-blind)
#6E6953
Tritanopia (blue-blind)
#10786E
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #2e7950;
/* rgb */ color: rgb(46, 121, 80);
/* oklch */ color: oklch(51.8% 0.099 156.3);
Tailwind
colors: {
  custom: {
    50: '#6fa081',
    500: '#2e7950',
    950: '#000000',
  },
}
SCSS
$custom: #2e7950;
$custom-light: #6fa081;
$custom-dark: #000000;
JSON
{
  "hex": "#2e7950",
  "rgb": {
    "r": 46,
    "g": 121,
    "b": 80
  },
  "hsl": {
    "h": 147.2,
    "s": 44.91,
    "l": 32.745
  },
  "oklch": {
    "l": 0.51778,
    "c": 0.09912,
    "h": 156.3
  },
  "luminance": 0.14835
}

Semantic roles & 50–950 ramp

primary
#2E7950
secondary
#A95A85
accent
#539AD5
background
#F6F9F7
surface
#ECF2EE
border
#C7CCC9
text
#080F0A
muted
#7B7E7C

Preview Lab

Preview with #2E7950

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

Preview Lab → · Contrast checker → · Palette generator →

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