#2E7E2D#2E7E2D

#2E7E2D is a mid, vivid green. Relative luminance 0.157; OKLCH L 52.6% C 0.140 H 143.1°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#2E7E2D
RGBrgb(46, 126, 45)
HSLhsl(119, 47%, 34%)
HSVhsv(119, 64%, 49%)
CMYKcmyk(63.5%, 0%, 64.3%, 50.6%)
CIE-LABlab(46.57, -41.28, 36.09)
CIE-LCHlch(46.57, 54.83, 138.83°)
OKLaboklab(52.56% -0.1122 0.0843)
OKLCHoklch(52.56% 0.14 143.1)
XYZxyz(9.0607, 15.6911, 5.0333)
Luminance0.1569 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E7E2D #7D2D7E
analogous
#567E2D #2E7E2D #2D7E54
triadic
#2E7E2D #2D2E7E #7E2D2E
tetradic
#2E7E2D #2D567E #7D2D7E #7E542D
square
#2E7E2D #2D567E #7D2D7E #7E542D
split-complementary
#2E7E2D #542D7E #7E2D56
monochromatic
#0D240D #1E511D #2E7E2D #3EAB3D #61C65F

Accessibility & contrast

On white

5.07
#2E7E2D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#2E7E2D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E7E2D
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E7E2D#FFFFFF#000000##FFFFFF
##2E7E2D1.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817224
Deuteranopia (green-blind)
#776C34
Tritanopia (blue-blind)
#1F7A6D
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #2e7e2d;
/* rgb */ color: rgb(46, 126, 45);
/* oklch */ color: oklch(52.6% 0.140 143.1);
Tailwind
colors: {
  custom: {
    50: '#71a469',
    500: '#2e7e2d',
    950: '#000000',
  },
}
SCSS
$custom: #2e7e2d;
$custom-light: #71a469;
$custom-dark: #000000;
JSON
{
  "hex": "#2e7e2d",
  "rgb": {
    "r": 46,
    "g": 126,
    "b": 45
  },
  "hsl": {
    "h": 119.259,
    "s": 47.368,
    "l": 33.529
  },
  "oklch": {
    "l": 0.52561,
    "c": 0.14034,
    "h": 143.1
  },
  "luminance": 0.15692
}

Semantic roles & 50–950 ramp

primary
#2E7E2D
secondary
#AB5AAC
accent
#51D7D5
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F06
muted
#7B7F7A

Preview Lab

Preview with #2E7E2D

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

Preview Lab → · Contrast checker → · Palette generator →

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