#2D7E2E#2D7E2E

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

Color values

HEX#2D7E2E
RGBrgb(45, 126, 46)
HSLhsl(121, 47%, 34%)
HSVhsv(121, 64%, 49%)
CMYKcmyk(64.3%, 0%, 63.5%, 50.6%)
CIE-LABlab(46.55, -41.40, 35.59)
CIE-LCHlch(46.55, 54.59, 139.32°)
OKLaboklab(52.54% -0.1124 0.0833)
OKLCHoklch(52.54% 0.14 143.4)
XYZxyz(9.0357, 15.6760, 5.1338)
Luminance0.1568 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D7E2E #7E2D7D
analogous
#547E2D #2D7E2E #2D7E56
triadic
#2D7E2E #2E2D7E #7E2E2D
tetradic
#2D7E2E #2D547E #7E2D7D #7E562D
square
#2D7E2E #2D547E #7E2D7D #7E562D
split-complementary
#2D7E2E #562D7E #7E2D54
monochromatic
#0D240D #1D511E #2D7E2E #3DAB3E #5FC661

Accessibility & contrast

On white

5.08
#2D7E2E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2D7E2E
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D7E2E#FFFFFF#000000##FFFFFF
##2D7E2E1.005.084.145.08
#FFFFFF5.081.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817225
Deuteranopia (green-blind)
#776C35
Tritanopia (blue-blind)
#1D7A6D
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #2d7e2e;
/* rgb */ color: rgb(45, 126, 46);
/* oklch */ color: oklch(52.5% 0.140 143.4);
Tailwind
colors: {
  custom: {
    50: '#70a46a',
    500: '#2d7e2e',
    950: '#000000',
  },
}
SCSS
$custom: #2d7e2e;
$custom-light: #70a46a;
$custom-dark: #000000;
JSON
{
  "hex": "#2d7e2e",
  "rgb": {
    "r": 45,
    "g": 126,
    "b": 46
  },
  "hsl": {
    "h": 120.741,
    "s": 47.368,
    "l": 33.529
  },
  "oklch": {
    "l": 0.52539,
    "c": 0.13993,
    "h": 143.4
  },
  "luminance": 0.15677
}

Semantic roles & 50–950 ramp

primary
#2D7E2E
secondary
#AC5AAB
accent
#51D5D7
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F07
muted
#7B7F7A

Preview Lab

Preview with #2D7E2E

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

Preview Lab → · Contrast checker → · Palette generator →

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