#2E7945#2E7945

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

Color values

HEX#2E7945
RGBrgb(46, 121, 69)
HSLhsl(138, 45%, 33%)
HSVhsv(138, 62%, 47%)
CMYKcmyk(62%, 0%, 43%, 52.5%)
CIE-LABlab(45.20, -35.57, 21.79)
CIE-LCHlch(45.20, 41.72, 148.51°)
OKLaboklab(51.54% -0.0962 0.054)
OKLCHoklch(51.54% 0.11 150.7)
XYZxyz(9.0376, 14.6844, 7.9872)
Luminance0.1469 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E7945 #792E62
analogous
#3C792E #2E7945 #2E796A
triadic
#2E7945 #452E79 #79452E
tetradic
#2E7945 #2E3C79 #792E62 #796A2E
square
#2E7945 #2E3C79 #792E62 #796A2E
split-complementary
#2E7945 #6A2E79 #792E3C
monochromatic
#0C2012 #1D4D2C #2E7945 #3FA55E #5FC27E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2E7945#FFFFFF#000000##FFFFFF
##2E79451.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)
#7A6F41
Deuteranopia (green-blind)
#706848
Tritanopia (blue-blind)
#18776C
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #2e7945;
/* rgb */ color: rgb(46, 121, 69);
/* oklch */ color: oklch(51.5% 0.110 150.7);
Tailwind
colors: {
  custom: {
    50: '#6fa079',
    500: '#2e7945',
    950: '#000000',
  },
}
SCSS
$custom: #2e7945;
$custom-light: #6fa079;
$custom-dark: #000000;
JSON
{
  "hex": "#2e7945",
  "rgb": {
    "r": 46,
    "g": 121,
    "b": 69
  },
  "hsl": {
    "h": 138.4,
    "s": 44.91,
    "l": 32.745
  },
  "oklch": {
    "l": 0.51541,
    "c": 0.11032,
    "h": 150.7
  },
  "luminance": 0.14685
}

Semantic roles & 50–950 ramp

primary
#2E7945
secondary
#A95A91
accent
#53ADD5
background
#F7F9F7
surface
#EDF2ED
border
#C8CCC8
text
#080F09
muted
#7B7E7B

Preview Lab

Preview with #2E7945

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

Preview Lab → · Contrast checker → · Palette generator →

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