#2D7C4E#2D7C4E

#2D7C4E is a mid, moderate green. Relative luminance 0.155; OKLCH L 52.5% C 0.106 H 154.5°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#2D7C4E
RGBrgb(45, 124, 78)
HSLhsl(145, 47%, 33%)
HSVhsv(145, 64%, 49%)
CMYKcmyk(63.7%, 0%, 37.1%, 51.4%)
CIE-LABlab(46.34, -35.34, 18.18)
CIE-LCHlch(46.34, 39.75, 152.78°)
OKLaboklab(52.52% -0.0958 0.0456)
OKLCHoklch(52.52% 0.106 154.5)
XYZxyz(9.6642, 15.5223, 9.6931)
Luminance0.1552 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D7C4E #7C2D5B
analogous
#337C2D #2D7C4E #2D7C75
triadic
#2D7C4E #4E2D7C #7C4E2D
tetradic
#2D7C4E #2D337C #7C2D5B #7C752D
square
#2D7C4E #2D337C #7C2D5B #7C752D
split-complementary
#2D7C4E #752D7C #7C2D33
monochromatic
#0C2216 #1D4F32 #2D7C4E #3DA96A #5FC589

Accessibility & contrast

On white

5.12
#2D7C4E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#2D7C4E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D7C4E
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D7C4E#FFFFFF#000000##FFFFFF
##2D7C4E1.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C724B
Deuteranopia (green-blind)
#716B51
Tritanopia (blue-blind)
#0D7B70
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #2d7c4e;
/* rgb */ color: rgb(45, 124, 78);
/* oklch */ color: oklch(52.5% 0.106 154.5);
Tailwind
colors: {
  custom: {
    50: '#6fa280',
    500: '#2d7c4e',
    950: '#000000',
  },
}
SCSS
$custom: #2d7c4e;
$custom-light: #6fa280;
$custom-dark: #000000;
JSON
{
  "hex": "#2d7c4e",
  "rgb": {
    "r": 45,
    "g": 124,
    "b": 78
  },
  "hsl": {
    "h": 145.063,
    "s": 46.746,
    "l": 33.137
  },
  "oklch": {
    "l": 0.52524,
    "c": 0.10614,
    "h": 154.5
  },
  "luminance": 0.15523
}

Semantic roles & 50–950 ramp

primary
#2D7C4E
secondary
#AB5A89
accent
#519FD6
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#080F0A
muted
#7B7F7C

Preview Lab

Preview with #2D7C4E

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

Preview Lab → · Contrast checker → · Palette generator →

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