#2D7E1D#2D7E1D

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

Color values

HEX#2D7E1D
RGBrgb(45, 126, 29)
HSLhsl(110, 63%, 30%)
HSVhsv(110, 77%, 49%)
CMYKcmyk(64.3%, 0%, 77%, 50.6%)
CIE-LABlab(46.40, -43.08, 42.78)
CIE-LCHlch(46.40, 60.71, 135.20°)
OKLaboklab(52.37% -0.1179 0.0964)
OKLCHoklch(52.37% 0.152 140.7)
XYZxyz(8.7644, 15.5675, 3.7051)
Luminance0.1557 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D7E1D #6E1D7E
analogous
#5D7E1D #2D7E1D #1D7E3D
triadic
#2D7E1D #1D2D7E #7E1D2D
tetradic
#2D7E1D #1D5D7E #6E1D7E #7E3D1D
square
#2D7E1D #1D5D7E #6E1D7E #7E3D1D
split-complementary
#2D7E1D #3D1D7E #7E1D5D
monochromatic
#091B06 #1B4C12 #2D7E1D #3FB028 #5AD342

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2D7E1D#FFFFFF#000000##FFFFFF
##2D7E1D1.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)
#817209
Deuteranopia (green-blind)
#786B27
Tritanopia (blue-blind)
#207A6B
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #2d7e1d;
/* rgb */ color: rgb(45, 126, 29);
/* oklch */ color: oklch(52.4% 0.152 140.7);
Tailwind
colors: {
  custom: {
    50: '#71a460',
    500: '#2d7e1d',
    950: '#000000',
  },
}
SCSS
$custom: #2d7e1d;
$custom-light: #71a460;
$custom-dark: #000000;
JSON
{
  "hex": "#2d7e1d",
  "rgb": {
    "r": 45,
    "g": 126,
    "b": 29
  },
  "hsl": {
    "h": 110.103,
    "s": 62.581,
    "l": 30.392
  },
  "oklch": {
    "l": 0.52373,
    "c": 0.1523,
    "h": 140.7
  },
  "luminance": 0.15568
}

Semantic roles & 50–950 ramp

primary
#2D7E1D
secondary
#A045B1
accent
#42E6CB
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#080F05
muted
#7B7F79

Preview Lab

Preview with #2D7E1D

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

Preview Lab → · Contrast checker → · Palette generator →

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