#2D7C2E#2D7C2E

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

Color values

HEX#2D7C2E
RGBrgb(45, 124, 46)
HSLhsl(121, 47%, 33%)
HSVhsv(121, 64%, 49%)
CMYKcmyk(63.7%, 0%, 62.9%, 51.4%)
CIE-LABlab(45.87, -40.62, 34.81)
CIE-LCHlch(45.87, 53.49, 139.40°)
OKLaboklab(51.98% -0.1103 0.0817)
OKLCHoklch(51.98% 0.137 143.5)
XYZxyz(8.7825, 15.1696, 5.0494)
Luminance0.1517 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D7C2E #7C2D7B
analogous
#537C2D #2D7C2E #2D7C55
triadic
#2D7C2E #2E2D7C #7C2E2D
tetradic
#2D7C2E #2D537C #7C2D7B #7C552D
square
#2D7C2E #2D537C #7C2D7B #7C552D
split-complementary
#2D7C2E #552D7C #7C2D53
monochromatic
#0C220D #1D4F1D #2D7C2E #3DA93F #5FC560

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2D7C2E#FFFFFF#000000##FFFFFF
##2D7C2E1.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)
#7F7126
Deuteranopia (green-blind)
#756A34
Tritanopia (blue-blind)
#1D796B
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #2d7c2e;
/* rgb */ color: rgb(45, 124, 46);
/* oklch */ color: oklch(52.0% 0.137 143.5);
Tailwind
colors: {
  custom: {
    50: '#70a36a',
    500: '#2d7c2e',
    950: '#000000',
  },
}
SCSS
$custom: #2d7c2e;
$custom-light: #70a36a;
$custom-dark: #000000;
JSON
{
  "hex": "#2d7c2e",
  "rgb": {
    "r": 45,
    "g": 124,
    "b": 46
  },
  "hsl": {
    "h": 120.759,
    "s": 46.746,
    "l": 33.137
  },
  "oklch": {
    "l": 0.51977,
    "c": 0.13723,
    "h": 143.5
  },
  "luminance": 0.1517
}

Semantic roles & 50–950 ramp

primary
#2D7C2E
secondary
#AB5AAA
accent
#51D5D6
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F06
muted
#7B7F7A

Preview Lab

Preview with #2D7C2E

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

Preview Lab → · Contrast checker → · Palette generator →

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