#2E7D2E#2E7D2E

#2E7D2E is a mid, vivid green. Relative luminance 0.154; OKLCH L 52.3% C 0.138 H 143.3°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#2E7D2E
RGBrgb(46, 125, 46)
HSLhsl(120, 46%, 34%)
HSVhsv(120, 63%, 49%)
CMYKcmyk(63.2%, 0%, 63.2%, 51%)
CIE-LABlab(46.24, -40.76, 35.24)
CIE-LCHlch(46.24, 53.89, 139.16°)
OKLaboklab(52.29% -0.1107 0.0826)
OKLCHoklch(52.29% 0.138 143.3)
XYZxyz(8.9530, 15.4445, 5.0935)
Luminance0.1545 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E7D2E #7D2E7D
analogous
#557D2E #2E7D2E #2E7D55
triadic
#2E7D2E #2E2E7D #7D2E2E
tetradic
#2E7D2E #2E557D #7D2E7D #7D552E
square
#2E7D2E #2E557D #7D2E7D #7D552E
split-complementary
#2E7D2E #552E7D #7D2E55
monochromatic
#0D240D #1E501E #2E7D2E #3EAA3E #61C561

Accessibility & contrast

On white

5.14
#2E7D2E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#2E7D2E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E7D2E
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E7D2E#FFFFFF#000000##FFFFFF
##2E7D2E1.005.144.095.14
#FFFFFF5.141.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807225
Deuteranopia (green-blind)
#766B34
Tritanopia (blue-blind)
#1F796C
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #2e7d2e;
/* rgb */ color: rgb(46, 125, 46);
/* oklch */ color: oklch(52.3% 0.138 143.3);
Tailwind
colors: {
  custom: {
    50: '#70a36a',
    500: '#2e7d2e',
    950: '#000000',
  },
}
SCSS
$custom: #2e7d2e;
$custom-light: #70a36a;
$custom-dark: #000000;
JSON
{
  "hex": "#2e7d2e",
  "rgb": {
    "r": 46,
    "g": 125,
    "b": 46
  },
  "hsl": {
    "h": 120,
    "s": 46.199,
    "l": 33.529
  },
  "oklch": {
    "l": 0.52292,
    "c": 0.13815,
    "h": 143.3
  },
  "luminance": 0.15445
}

Semantic roles & 50–950 ramp

primary
#2E7D2E
secondary
#AB5BAB
accent
#52D6D6
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F06
muted
#7B7F7A

Preview Lab

Preview with #2E7D2E

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

Preview Lab → · Contrast checker → · Palette generator →

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