#2E7D38#2E7D38

#2E7D38 is a mid, vivid green. Relative luminance 0.155; OKLCH L 52.4% C 0.129 H 145.7°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#2E7D38
RGBrgb(46, 125, 56)
HSLhsl(128, 46%, 34%)
HSVhsv(128, 63%, 49%)
CMYKcmyk(63.2%, 0%, 55.2%, 51%)
CIE-LABlab(46.36, -39.42, 30.34)
CIE-LCHlch(46.36, 49.74, 142.42°)
OKLaboklab(52.43% -0.1067 0.0728)
OKLCHoklch(52.43% 0.129 145.7)
XYZxyz(9.1736, 15.5327, 6.2553)
Luminance0.1553 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E7D38 #7D2E73
analogous
#4B7D2E #2E7D38 #2E7D5F
triadic
#2E7D38 #382E7D #7D382E
tetradic
#2E7D38 #2E4B7D #7D2E73 #7D5F2E
square
#2E7D38 #2E4B7D #7D2E73 #7D5F2E
split-complementary
#2E7D38 #5F2E7D #7D2E4B
monochromatic
#0D2410 #1E5024 #2E7D38 #3EAA4C #61C56D

Accessibility & contrast

On white

5.11
#2E7D38 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#2E7D38 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E7D38
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E7D38#FFFFFF#000000##FFFFFF
##2E7D381.005.114.115.11
#FFFFFF5.111.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7232
Deuteranopia (green-blind)
#756B3D
Tritanopia (blue-blind)
#1C7A6D
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #2e7d38;
/* rgb */ color: rgb(46, 125, 56);
/* oklch */ color: oklch(52.4% 0.129 145.7);
Tailwind
colors: {
  custom: {
    50: '#70a370',
    500: '#2e7d38',
    950: '#000000',
  },
}
SCSS
$custom: #2e7d38;
$custom-light: #70a370;
$custom-dark: #000000;
JSON
{
  "hex": "#2e7d38",
  "rgb": {
    "r": 46,
    "g": 125,
    "b": 56
  },
  "hsl": {
    "h": 127.595,
    "s": 46.199,
    "l": 33.529
  },
  "oklch": {
    "l": 0.52428,
    "c": 0.12912,
    "h": 145.7
  },
  "luminance": 0.15534
}

Semantic roles & 50–950 ramp

primary
#2E7D38
secondary
#AB5BA1
accent
#52C5D6
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#080F07
muted
#7B7F7A

Preview Lab

Preview with #2E7D38

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

Preview Lab → · Contrast checker → · Palette generator →

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