#2D7D1D#2D7D1D

#2D7D1D is a mid, vivid green. Relative luminance 0.153; OKLCH L 52.1% C 0.151 H 140.7°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#2D7D1D
RGBrgb(45, 125, 29)
HSLhsl(110, 62%, 30%)
HSVhsv(110, 77%, 49%)
CMYKcmyk(64%, 0%, 76.8%, 51%)
CIE-LABlab(46.06, -42.71, 42.44)
CIE-LCHlch(46.06, 60.21, 135.18°)
OKLaboklab(52.09% -0.1169 0.0957)
OKLCHoklch(52.09% 0.151 140.7)
XYZxyz(8.6372, 15.3130, 3.6627)
Luminance0.1531 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D7D1D #6D1D7D
analogous
#5D7D1D #2D7D1D #1D7D3D
triadic
#2D7D1D #1D2D7D #7D1D2D
tetradic
#2D7D1D #1D5D7D #6D1D7D #7D3D1D
square
#2D7D1D #1D5D7D #6D1D7D #7D3D1D
split-complementary
#2D7D1D #3D1D7D #7D1D5D
monochromatic
#091A06 #1B4B11 #2D7D1D #3FAF29 #5AD341

Accessibility & contrast

On white

5.17
#2D7D1D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#2D7D1D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D7D1D
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D7D1D#FFFFFF#000000##FFFFFF
##2D7D1D1.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#80710A
Deuteranopia (green-blind)
#776B27
Tritanopia (blue-blind)
#21796B
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #2d7d1d;
/* rgb */ color: rgb(45, 125, 29);
/* oklch */ color: oklch(52.1% 0.151 140.7);
Tailwind
colors: {
  custom: {
    50: '#71a360',
    500: '#2d7d1d',
    950: '#000000',
  },
}
SCSS
$custom: #2d7d1d;
$custom-light: #71a360;
$custom-dark: #000000;
JSON
{
  "hex": "#2d7d1d",
  "rgb": {
    "r": 45,
    "g": 125,
    "b": 29
  },
  "hsl": {
    "h": 110,
    "s": 62.338,
    "l": 30.196
  },
  "oklch": {
    "l": 0.5209,
    "c": 0.15106,
    "h": 140.7
  },
  "luminance": 0.15314
}

Semantic roles & 50–950 ramp

primary
#2D7D1D
secondary
#9F45B1
accent
#42E5CA
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#080F05
muted
#7B7F79

Preview Lab

Preview with #2D7D1D

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

Preview Lab → · Contrast checker → · Palette generator →

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