#2D7E2D#2D7E2D

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

Color values

HEX#2D7E2D
RGBrgb(45, 126, 45)
HSLhsl(120, 47%, 34%)
HSVhsv(120, 64%, 49%)
CMYKcmyk(64.3%, 0%, 64.3%, 50.6%)
CIE-LABlab(46.54, -41.52, 36.05)
CIE-LCHlch(46.54, 54.99, 139.03°)
OKLaboklab(52.53% -0.1128 0.0842)
OKLCHoklch(52.53% 0.141 143.2)
XYZxyz(9.0162, 15.6682, 5.0312)
Luminance0.1567 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D7E2D #7E2D7E
analogous
#557E2D #2D7E2D #2D7E55
triadic
#2D7E2D #2D2D7E #7E2D2D
tetradic
#2D7E2D #2D557E #7E2D7E #7E552D
square
#2D7E2D #2D557E #7E2D7E #7E552D
split-complementary
#2D7E2D #552D7E #7E2D55
monochromatic
#0D240D #1D511D #2D7E2D #3DAB3D #5FC65F

Accessibility & contrast

On white

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

On black

4.13
#2D7E2D on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2D7E2D#FFFFFF#000000##FFFFFF
##2D7E2D1.005.084.135.08
#FFFFFF5.081.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2d7e2d;
/* rgb */ color: rgb(45, 126, 45);
/* oklch */ color: oklch(52.5% 0.141 143.2);
Tailwind
colors: {
  custom: {
    50: '#70a469',
    500: '#2d7e2d',
    950: '#000000',
  },
}
SCSS
$custom: #2d7e2d;
$custom-light: #70a469;
$custom-dark: #000000;
JSON
{
  "hex": "#2d7e2d",
  "rgb": {
    "r": 45,
    "g": 126,
    "b": 45
  },
  "hsl": {
    "h": 120,
    "s": 47.368,
    "l": 33.529
  },
  "oklch": {
    "l": 0.52527,
    "c": 0.14076,
    "h": 143.2
  },
  "luminance": 0.15669
}

Semantic roles & 50–950 ramp

primary
#2D7E2D
secondary
#AC5AAC
accent
#51D7D7
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F06
muted
#7B7F7A

Preview Lab

Preview with #2D7E2D

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

Preview Lab → · Contrast checker → · Palette generator →

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