#2D7D2F#2D7D2F

#2D7D2F is a mid, vivid green. Relative luminance 0.154; OKLCH L 52.3% C 0.138 H 143.7°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#2D7D2F
RGBrgb(45, 125, 47)
HSLhsl(122, 47%, 33%)
HSVhsv(122, 64%, 49%)
CMYKcmyk(64%, 0%, 62.4%, 51%)
CIE-LABlab(46.22, -40.89, 34.73)
CIE-LCHlch(46.22, 53.64, 139.66°)
OKLaboklab(52.27% -0.111 0.0816)
OKLCHoklch(52.27% 0.138 143.7)
XYZxyz(8.9284, 15.4295, 5.1964)
Luminance0.1543 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D7D2F #7D2D7B
analogous
#537D2D #2D7D2F #2D7D57
triadic
#2D7D2F #2F2D7D #7D2F2D
tetradic
#2D7D2F #2D537D #7D2D7B #7D572D
square
#2D7D2F #2D537D #7D2D7B #7D572D
split-complementary
#2D7D2F #572D7D #7D2D53
monochromatic
#0D230D #1D501E #2D7D2F #3DAA40 #5FC562

Accessibility & contrast

On white

5.14
#2D7D2F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#2D7D2F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D7D2F
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D7D2F#FFFFFF#000000##FFFFFF
##2D7D2F1.005.144.095.14
#FFFFFF5.141.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7227
Deuteranopia (green-blind)
#766B35
Tritanopia (blue-blind)
#1D7A6C
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #2d7d2f;
/* rgb */ color: rgb(45, 125, 47);
/* oklch */ color: oklch(52.3% 0.138 143.7);
Tailwind
colors: {
  custom: {
    50: '#70a36a',
    500: '#2d7d2f',
    950: '#000000',
  },
}
SCSS
$custom: #2d7d2f;
$custom-light: #70a36a;
$custom-dark: #000000;
JSON
{
  "hex": "#2d7d2f",
  "rgb": {
    "r": 45,
    "g": 125,
    "b": 47
  },
  "hsl": {
    "h": 121.5,
    "s": 47.059,
    "l": 33.333
  },
  "oklch": {
    "l": 0.5227,
    "c": 0.13773,
    "h": 143.7
  },
  "luminance": 0.1543
}

Semantic roles & 50–950 ramp

primary
#2D7D2F
secondary
#AC5AAA
accent
#51D3D7
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F07
muted
#7B7F7A

Preview Lab

Preview with #2D7D2F

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

Preview Lab → · Contrast checker → · Palette generator →

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