#2D7D3E#2D7D3E

#2D7D3E is a mid, vivid green. Relative luminance 0.156; OKLCH L 52.5% C 0.124 H 147.7°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#2D7D3E
RGBrgb(45, 125, 62)
HSLhsl(133, 47%, 33%)
HSVhsv(133, 64%, 49%)
CMYKcmyk(64%, 0%, 50.4%, 51%)
CIE-LABlab(46.41, -38.72, 27.20)
CIE-LCHlch(46.41, 47.32, 144.91°)
OKLaboklab(52.49% -0.1046 0.0661)
OKLCHoklch(52.49% 0.124 147.7)
XYZxyz(9.2847, 15.5720, 7.0729)
Luminance0.1557 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D7D3E #7D2D6C
analogous
#447D2D #2D7D3E #2D7D66
triadic
#2D7D3E #3E2D7D #7D3E2D
tetradic
#2D7D3E #2D447D #7D2D6C #7D662D
square
#2D7D3E #2D447D #7D2D6C #7D662D
split-complementary
#2D7D3E #662D7D #7D2D44
monochromatic
#0D2311 #1D5028 #2D7D3E #3DAA54 #5FC575

Accessibility & contrast

On white

5.10
#2D7D3E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#2D7D3E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D7D3E
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D7D3E#FFFFFF#000000##FFFFFF
##2D7D3E1.005.104.115.10
#FFFFFF5.101.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E7239
Deuteranopia (green-blind)
#746B42
Tritanopia (blue-blind)
#177A6E
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #2d7d3e;
/* rgb */ color: rgb(45, 125, 62);
/* oklch */ color: oklch(52.5% 0.124 147.7);
Tailwind
colors: {
  custom: {
    50: '#6fa374',
    500: '#2d7d3e',
    950: '#000000',
  },
}
SCSS
$custom: #2d7d3e;
$custom-light: #6fa374;
$custom-dark: #000000;
JSON
{
  "hex": "#2d7d3e",
  "rgb": {
    "r": 45,
    "g": 125,
    "b": 62
  },
  "hsl": {
    "h": 132.75,
    "s": 47.059,
    "l": 33.333
  },
  "oklch": {
    "l": 0.5249,
    "c": 0.12376,
    "h": 147.7
  },
  "luminance": 0.15573
}

Semantic roles & 50–950 ramp

primary
#2D7D3E
secondary
#AC5A9A
accent
#51BAD7
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#080F08
muted
#7B7F7B

Preview Lab

Preview with #2D7D3E

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

Preview Lab → · Contrast checker → · Palette generator →

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