#2D7C2D#2D7C2D

#2D7C2D is a mid, vivid green. Relative luminance 0.152; OKLCH L 52.0% C 0.138 H 143.3°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#2D7C2D
RGBrgb(45, 124, 45)
HSLhsl(120, 47%, 33%)
HSVhsv(120, 64%, 49%)
CMYKcmyk(63.7%, 0%, 63.7%, 51.4%)
CIE-LABlab(45.85, -40.74, 35.28)
CIE-LCHlch(45.85, 53.89, 139.11°)
OKLaboklab(51.97% -0.1107 0.0826)
OKLCHoklch(51.97% 0.138 143.3)
XYZxyz(8.7630, 15.1618, 4.9468)
Luminance0.1516 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D7C2D #7C2D7C
analogous
#547C2D #2D7C2D #2D7C54
triadic
#2D7C2D #2D2D7C #7C2D2D
tetradic
#2D7C2D #2D547C #7C2D7C #7C542D
square
#2D7C2D #2D547C #7C2D7C #7C542D
split-complementary
#2D7C2D #542D7C #7C2D54
monochromatic
#0C220C #1D4F1D #2D7C2D #3DA93D #5FC55F

Accessibility & contrast

On white

5.21
#2D7C2D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#2D7C2D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D7C2D
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D7C2D#FFFFFF#000000##FFFFFF
##2D7C2D1.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7124
Deuteranopia (green-blind)
#756A34
Tritanopia (blue-blind)
#1E786B
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #2d7c2d;
/* rgb */ color: rgb(45, 124, 45);
/* oklch */ color: oklch(52.0% 0.138 143.3);
Tailwind
colors: {
  custom: {
    50: '#70a369',
    500: '#2d7c2d',
    950: '#000000',
  },
}
SCSS
$custom: #2d7c2d;
$custom-light: #70a369;
$custom-dark: #000000;
JSON
{
  "hex": "#2d7c2d",
  "rgb": {
    "r": 45,
    "g": 124,
    "b": 45
  },
  "hsl": {
    "h": 120,
    "s": 46.746,
    "l": 33.137
  },
  "oklch": {
    "l": 0.51965,
    "c": 0.13808,
    "h": 143.3
  },
  "luminance": 0.15163
}

Semantic roles & 50–950 ramp

primary
#2D7C2D
secondary
#AB5AAB
accent
#51D6D6
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F06
muted
#7B7F7A

Preview Lab

Preview with #2D7C2D

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

Preview Lab → · Contrast checker → · Palette generator →

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