#2D7D2B#2D7D2B

#2D7D2B is a mid, vivid green. Relative luminance 0.154; OKLCH L 52.2% C 0.141 H 142.9°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#2D7D2B
RGBrgb(45, 125, 43)
HSLhsl(119, 49%, 33%)
HSVhsv(119, 66%, 49%)
CMYKcmyk(64%, 0%, 65.6%, 51%)
CIE-LABlab(46.18, -41.36, 36.59)
CIE-LCHlch(46.18, 55.23, 138.50°)
OKLaboklab(52.22% -0.1125 0.0852)
OKLCHoklch(52.22% 0.141 142.9)
XYZxyz(8.8514, 15.3987, 4.7908)
Luminance0.1540 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D7D2B #7B2B7D
analogous
#567D2B #2D7D2B #2B7D52
triadic
#2D7D2B #2B2D7D #7D2B2D
tetradic
#2D7D2B #2B567D #7B2B7D #7D522B
square
#2D7D2B #2B567D #7B2B7D #7D522B
split-complementary
#2D7D2B #522B7D #7D2B56
monochromatic
#0C220C #1D4F1B #2D7D2B #3DAB3B #5EC75C

Accessibility & contrast

On white

5.15
#2D7D2B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#2D7D2B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D7D2B
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D7D2B#FFFFFF#000000##FFFFFF
##2D7D2B1.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807121
Deuteranopia (green-blind)
#766B32
Tritanopia (blue-blind)
#1E796C
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #2d7d2b;
/* rgb */ color: rgb(45, 125, 43);
/* oklch */ color: oklch(52.2% 0.141 142.9);
Tailwind
colors: {
  custom: {
    50: '#70a368',
    500: '#2d7d2b',
    950: '#000000',
  },
}
SCSS
$custom: #2d7d2b;
$custom-light: #70a368;
$custom-dark: #000000;
JSON
{
  "hex": "#2d7d2b",
  "rgb": {
    "r": 45,
    "g": 125,
    "b": 43
  },
  "hsl": {
    "h": 118.537,
    "s": 48.81,
    "l": 32.941
  },
  "oklch": {
    "l": 0.52223,
    "c": 0.14107,
    "h": 142.9
  },
  "luminance": 0.154
}

Semantic roles & 50–950 ramp

primary
#2D7D2B
secondary
#AB57AD
accent
#4FD8D5
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F06
muted
#7B7F7A

Preview Lab

Preview with #2D7D2B

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

Preview Lab → · Contrast checker → · Palette generator →

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