#2E7045#2E7045

#2E7045 is a mid, moderate green. Relative luminance 0.126; OKLCH L 49.0% C 0.097 H 152.6°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#2E7045
RGBrgb(46, 112, 69)
HSLhsl(141, 42%, 31%)
HSVhsv(141, 59%, 44%)
CMYKcmyk(58.9%, 0%, 38.4%, 56.1%)
CIE-LABlab(42.15, -31.58, 17.77)
CIE-LCHlch(42.15, 36.24, 150.63°)
OKLaboklab(49.04% -0.0857 0.0445)
OKLCHoklch(49.04% 0.097 152.6)
XYZxyz(7.9945, 12.5981, 7.6395)
Luminance0.1260 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E7045 #702E59
analogous
#38702E #2E7045 #2E7066
triadic
#2E7045 #452E70 #70452E
tetradic
#2E7045 #2E3870 #702E59 #70662E
square
#2E7045 #2E3870 #702E59 #70662E
split-complementary
#2E7045 #662E70 #702E38
monochromatic
#0A1910 #1C452A #2E7045 #409B60 #5CBC7E

Accessibility & contrast

On white

5.97
#2E7045 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#2E7045 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E7045
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E7045#FFFFFF#000000##FFFFFF
##2E70451.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#706742
Deuteranopia (green-blind)
#676148
Tritanopia (blue-blind)
#1B6F65
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #2e7045;
/* rgb */ color: rgb(46, 112, 69);
/* oklch */ color: oklch(49.0% 0.097 152.6);
Tailwind
colors: {
  custom: {
    50: '#6d9a79',
    500: '#2e7045',
    950: '#000000',
  },
}
SCSS
$custom: #2e7045;
$custom-light: #6d9a79;
$custom-dark: #000000;
JSON
{
  "hex": "#2e7045",
  "rgb": {
    "r": 46,
    "g": 112,
    "b": 69
  },
  "hsl": {
    "h": 140.909,
    "s": 41.772,
    "l": 30.98
  },
  "oklch": {
    "l": 0.49041,
    "c": 0.09654,
    "h": 152.6
  },
  "luminance": 0.12599
}

Semantic roles & 50–950 ramp

primary
#2E7045
secondary
#A15888
accent
#56A7D2
background
#F6F9F7
surface
#ECF2ED
border
#C7CCC8
text
#070E09
muted
#7A7E7B

Preview Lab

Preview with #2E7045

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

Preview Lab → · Contrast checker → · Palette generator →

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