#2D7D1E#2D7D1E

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

Color values

HEX#2D7D1E
RGBrgb(45, 125, 30)
HSLhsl(111, 61%, 30%)
HSVhsv(111, 76%, 49%)
CMYKcmyk(64%, 0%, 76%, 51%)
CIE-LABlab(46.07, -42.63, 42.06)
CIE-LCHlch(46.07, 59.89, 135.38°)
OKLaboklab(52.1% -0.1166 0.095)
OKLCHoklch(52.1% 0.15 140.8)
XYZxyz(8.6497, 15.3180, 3.7289)
Luminance0.1532 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D7D1E #6E1E7D
analogous
#5C7D1E #2D7D1E #1E7D3E
triadic
#2D7D1E #1E2D7D #7D1E2D
tetradic
#2D7D1E #1E5C7D #6E1E7D #7D3E1E
square
#2D7D1E #1E5C7D #6E1E7D #7D3E1E
split-complementary
#2D7D1E #3E1E7D #7D1E5C
monochromatic
#091A06 #1B4C12 #2D7D1E #3FAE2A #5AD243

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2D7D1E#FFFFFF#000000##FFFFFF
##2D7D1E1.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)
#80710C
Deuteranopia (green-blind)
#776B28
Tritanopia (blue-blind)
#21796B
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #2d7d1e;
/* rgb */ color: rgb(45, 125, 30);
/* oklch */ color: oklch(52.1% 0.150 140.8);
Tailwind
colors: {
  custom: {
    50: '#71a361',
    500: '#2d7d1e',
    950: '#000000',
  },
}
SCSS
$custom: #2d7d1e;
$custom-light: #71a361;
$custom-dark: #000000;
JSON
{
  "hex": "#2d7d1e",
  "rgb": {
    "r": 45,
    "g": 125,
    "b": 30
  },
  "hsl": {
    "h": 110.526,
    "s": 61.29,
    "l": 30.392
  },
  "oklch": {
    "l": 0.52098,
    "c": 0.15044,
    "h": 140.8
  },
  "luminance": 0.15319
}

Semantic roles & 50–950 ramp

primary
#2D7D1E
secondary
#A046B0
accent
#43E4CB
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#080F05
muted
#7B7F79

Preview Lab

Preview with #2D7D1E

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

Preview Lab → · Contrast checker → · Palette generator →

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