#2E7946#2E7946

#2E7946 is a mid, moderate green. Relative luminance 0.147; OKLCH L 51.6% C 0.109 H 151.2°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#2E7946
RGBrgb(46, 121, 70)
HSLhsl(139, 45%, 33%)
HSVhsv(139, 62%, 47%)
CMYKcmyk(62%, 0%, 42.1%, 52.5%)
CIE-LABlab(45.22, -35.39, 21.25)
CIE-LCHlch(45.22, 41.28, 149.01°)
OKLaboklab(51.56% -0.0957 0.0527)
OKLCHoklch(51.56% 0.109 151.2)
XYZxyz(9.0689, 14.6969, 8.1520)
Luminance0.1470 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E7946 #792E61
analogous
#3B792E #2E7946 #2E796B
triadic
#2E7946 #462E79 #79462E
tetradic
#2E7946 #2E3B79 #792E61 #796B2E
square
#2E7946 #2E3B79 #792E61 #796B2E
split-complementary
#2E7946 #6B2E79 #792E3B
monochromatic
#0C2013 #1D4D2C #2E7946 #3FA560 #5FC27F

Accessibility & contrast

On white

5.33
#2E7946 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#2E7946 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E7946
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E7946#FFFFFF#000000##FFFFFF
##2E79461.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796F42
Deuteranopia (green-blind)
#706849
Tritanopia (blue-blind)
#17776C
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #2e7946;
/* rgb */ color: rgb(46, 121, 70);
/* oklch */ color: oklch(51.6% 0.109 151.2);
Tailwind
colors: {
  custom: {
    50: '#6fa07a',
    500: '#2e7946',
    950: '#000000',
  },
}
SCSS
$custom: #2e7946;
$custom-light: #6fa07a;
$custom-dark: #000000;
JSON
{
  "hex": "#2e7946",
  "rgb": {
    "r": 46,
    "g": 121,
    "b": 70
  },
  "hsl": {
    "h": 139.2,
    "s": 44.91,
    "l": 32.745
  },
  "oklch": {
    "l": 0.51561,
    "c": 0.10929,
    "h": 151.2
  },
  "luminance": 0.14698
}

Semantic roles & 50–950 ramp

primary
#2E7946
secondary
#A95A90
accent
#53ABD5
background
#F7F9F7
surface
#EDF2ED
border
#C8CCC8
text
#080F09
muted
#7B7E7B

Preview Lab

Preview with #2E7946

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

Preview Lab → · Contrast checker → · Palette generator →

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