#2D7D2E#2D7D2E

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

Color values

HEX#2D7D2E
RGBrgb(45, 125, 46)
HSLhsl(121, 47%, 33%)
HSVhsv(121, 64%, 49%)
CMYKcmyk(64%, 0%, 63.2%, 51%)
CIE-LABlab(46.21, -41.01, 35.20)
CIE-LCHlch(46.21, 54.04, 139.36°)
OKLaboklab(52.26% -0.1113 0.0825)
OKLCHoklch(52.26% 0.139 143.5)
XYZxyz(8.9084, 15.4215, 5.0914)
Luminance0.1542 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D7D2E #7D2D7C
analogous
#547D2D #2D7D2E #2D7D56
triadic
#2D7D2E #2E2D7D #7D2E2D
tetradic
#2D7D2E #2D547D #7D2D7C #7D562D
square
#2D7D2E #2D547D #7D2D7C #7D562D
split-complementary
#2D7D2E #562D7D #7D2D54
monochromatic
#0D230D #1D501D #2D7D2E #3DAA3F #5FC560

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2D7D2E#FFFFFF#000000##FFFFFF
##2D7D2E1.005.144.085.14
#FFFFFF5.141.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807225
Deuteranopia (green-blind)
#766B34
Tritanopia (blue-blind)
#1D796C
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #2d7d2e;
/* rgb */ color: rgb(45, 125, 46);
/* oklch */ color: oklch(52.3% 0.139 143.5);
Tailwind
colors: {
  custom: {
    50: '#70a36a',
    500: '#2d7d2e',
    950: '#000000',
  },
}
SCSS
$custom: #2d7d2e;
$custom-light: #70a36a;
$custom-dark: #000000;
JSON
{
  "hex": "#2d7d2e",
  "rgb": {
    "r": 45,
    "g": 125,
    "b": 46
  },
  "hsl": {
    "h": 120.75,
    "s": 47.059,
    "l": 33.333
  },
  "oklch": {
    "l": 0.52258,
    "c": 0.13858,
    "h": 143.5
  },
  "luminance": 0.15422
}

Semantic roles & 50–950 ramp

primary
#2D7D2E
secondary
#AC5AAB
accent
#51D5D7
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F06
muted
#7B7F7A

Preview Lab

Preview with #2D7D2E

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

Preview Lab → · Contrast checker → · Palette generator →

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