#2E7B45#2E7B45

#2E7B45 is a mid, moderate green. Relative luminance 0.152; OKLCH L 52.1% C 0.113 H 150.4°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#2E7B45
RGBrgb(46, 123, 69)
HSLhsl(138, 46%, 33%)
HSVhsv(138, 63%, 48%)
CMYKcmyk(62.6%, 0%, 43.9%, 51.8%)
CIE-LABlab(45.87, -36.43, 22.67)
CIE-LCHlch(45.87, 42.91, 148.11°)
OKLaboklab(52.1% -0.0985 0.056)
OKLCHoklch(52.1% 0.113 150.4)
XYZxyz(9.2832, 15.1755, 8.0690)
Luminance0.1518 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E7B45 #7B2E64
analogous
#3D7B2E #2E7B45 #2E7B6B
triadic
#2E7B45 #452E7B #7B452E
tetradic
#2E7B45 #2E3D7B #7B2E64 #7B6B2E
square
#2E7B45 #2E3D7B #7B2E64 #7B6B2E
split-complementary
#2E7B45 #6B2E7B #7B2E3D
monochromatic
#0D2213 #1D4E2C #2E7B45 #3FA85E #60C37E

Accessibility & contrast

On white

5.20
#2E7B45 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#2E7B45 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E7B45
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E7B45#FFFFFF#000000##FFFFFF
##2E7B451.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C7141
Deuteranopia (green-blind)
#726A49
Tritanopia (blue-blind)
#17796E
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #2e7b45;
/* rgb */ color: rgb(46, 123, 69);
/* oklch */ color: oklch(52.1% 0.113 150.4);
Tailwind
colors: {
  custom: {
    50: '#6fa279',
    500: '#2e7b45',
    950: '#000000',
  },
}
SCSS
$custom: #2e7b45;
$custom-light: #6fa279;
$custom-dark: #000000;
JSON
{
  "hex": "#2e7b45",
  "rgb": {
    "r": 46,
    "g": 123,
    "b": 69
  },
  "hsl": {
    "h": 137.922,
    "s": 45.562,
    "l": 33.137
  },
  "oklch": {
    "l": 0.52095,
    "c": 0.11332,
    "h": 150.4
  },
  "luminance": 0.15176
}

Semantic roles & 50–950 ramp

primary
#2E7B45
secondary
#AA5B92
accent
#53AED5
background
#F7FAF7
surface
#EDF3ED
border
#C8CDC8
text
#080F09
muted
#7B7F7B

Preview Lab

Preview with #2E7B45

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

Preview Lab → · Contrast checker → · Palette generator →

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