#2D7E1E#2D7E1E

#2D7E1E is a mid, vivid green. Relative luminance 0.156; OKLCH L 52.4% C 0.152 H 140.9°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#2D7E1E
RGBrgb(45, 126, 30)
HSLhsl(111, 62%, 31%)
HSVhsv(111, 76%, 49%)
CMYKcmyk(64.3%, 0%, 76.2%, 50.6%)
CIE-LABlab(46.41, -43.00, 42.41)
CIE-LCHlch(46.41, 60.40, 135.40°)
OKLaboklab(52.38% -0.1177 0.0957)
OKLCHoklch(52.38% 0.152 140.9)
XYZxyz(8.7770, 15.5725, 3.7713)
Luminance0.1557 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D7E1E #6F1E7E
analogous
#5D7E1E #2D7E1E #1E7E3F
triadic
#2D7E1E #1E2D7E #7E1E2D
tetradic
#2D7E1E #1E5D7E #6F1E7E #7E3F1E
square
#2D7E1E #1E5D7E #6F1E7E #7E3F1E
split-complementary
#2D7E1E #3F1E7E #7E1E5D
monochromatic
#0A1B06 #1B4D12 #2D7E1E #3FAF2A #5AD244

Accessibility & contrast

On white

5.10
#2D7E1E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2D7E1E
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D7E1E#FFFFFF#000000##FFFFFF
##2D7E1E1.005.104.115.10
#FFFFFF5.101.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#81720C
Deuteranopia (green-blind)
#786B28
Tritanopia (blue-blind)
#207A6B
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #2d7e1e;
/* rgb */ color: rgb(45, 126, 30);
/* oklch */ color: oklch(52.4% 0.152 140.9);
Tailwind
colors: {
  custom: {
    50: '#71a461',
    500: '#2d7e1e',
    950: '#000000',
  },
}
SCSS
$custom: #2d7e1e;
$custom-light: #71a461;
$custom-dark: #000000;
JSON
{
  "hex": "#2d7e1e",
  "rgb": {
    "r": 45,
    "g": 126,
    "b": 30
  },
  "hsl": {
    "h": 110.625,
    "s": 61.538,
    "l": 30.588
  },
  "oklch": {
    "l": 0.52381,
    "c": 0.15168,
    "h": 140.9
  },
  "luminance": 0.15573
}

Semantic roles & 50–950 ramp

primary
#2D7E1E
secondary
#A147B1
accent
#43E5CB
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#080F05
muted
#7B7F79

Preview Lab

Preview with #2D7E1E

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

Preview Lab → · Contrast checker → · Palette generator →

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