#2E7B41#2E7B41

#2E7B41 is a mid, moderate green. Relative luminance 0.151; OKLCH L 52.0% C 0.117 H 148.8°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#2E7B41
RGBrgb(46, 123, 65)
HSLhsl(135, 46%, 33%)
HSVhsv(135, 63%, 48%)
CMYKcmyk(62.6%, 0%, 47.2%, 51.8%)
CIE-LABlab(45.81, -37.15, 24.81)
CIE-LCHlch(45.81, 44.67, 146.26°)
OKLaboklab(52.02% -0.1004 0.0608)
OKLCHoklch(52.02% 0.117 148.8)
XYZxyz(9.1632, 15.1275, 7.4370)
Luminance0.1513 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E7B41 #7B2E68
analogous
#417B2E #2E7B41 #2E7B67
triadic
#2E7B41 #412E7B #7B412E
tetradic
#2E7B41 #2E417B #7B2E68 #7B672E
square
#2E7B41 #2E417B #7B2E68 #7B672E
split-complementary
#2E7B41 #672E7B #7B2E41
monochromatic
#0D2212 #1D4E29 #2E7B41 #3FA859 #60C378

Accessibility & contrast

On white

5.22
#2E7B41 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#2E7B41 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E7B41
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E7B41#FFFFFF#000000##FFFFFF
##2E7B411.005.224.035.22
#FFFFFF5.221.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C713D
Deuteranopia (green-blind)
#726A45
Tritanopia (blue-blind)
#19796D
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #2e7b41;
/* rgb */ color: rgb(46, 123, 65);
/* oklch */ color: oklch(52.0% 0.117 148.8);
Tailwind
colors: {
  custom: {
    50: '#6fa276',
    500: '#2e7b41',
    950: '#000000',
  },
}
SCSS
$custom: #2e7b41;
$custom-light: #6fa276;
$custom-dark: #000000;
JSON
{
  "hex": "#2e7b41",
  "rgb": {
    "r": 46,
    "g": 123,
    "b": 65
  },
  "hsl": {
    "h": 134.805,
    "s": 45.562,
    "l": 33.137
  },
  "oklch": {
    "l": 0.5202,
    "c": 0.11738,
    "h": 148.8
  },
  "luminance": 0.15128
}

Semantic roles & 50–950 ramp

primary
#2E7B41
secondary
#AA5B97
accent
#53B5D5
background
#F7FAF7
surface
#EDF3ED
border
#C8CDC8
text
#080F08
muted
#7B7F7B

Preview Lab

Preview with #2E7B41

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

Preview Lab → · Contrast checker → · Palette generator →

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