#2D7A4E#2D7A4E

#2D7A4E is a mid, moderate green. Relative luminance 0.150; OKLCH L 52.0% C 0.103 H 155.1°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#2D7A4E
RGBrgb(45, 122, 78)
HSLhsl(146, 46%, 33%)
HSVhsv(146, 63%, 48%)
CMYKcmyk(63.1%, 0%, 36.1%, 52.2%)
CIE-LABlab(45.67, -34.46, 17.28)
CIE-LCHlch(45.67, 38.55, 153.37°)
OKLaboklab(51.97% -0.0935 0.0435)
OKLCHoklch(51.97% 0.103 155.1)
XYZxyz(9.4161, 15.0261, 9.6104)
Luminance0.1503 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D7A4E #7A2D59
analogous
#337A2D #2D7A4E #2D7A74
triadic
#2D7A4E #4E2D7A #7A4E2D
tetradic
#2D7A4E #2D337A #7A2D59 #7A742D
square
#2D7A4E #2D337A #7A2D59 #7A742D
split-complementary
#2D7A4E #742D7A #7A2D33
monochromatic
#0C2115 #1D4D31 #2D7A4E #3DA76B #5EC489

Accessibility & contrast

On white

5.24
#2D7A4E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#2D7A4E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D7A4E
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D7A4E#FFFFFF#000000##FFFFFF
##2D7A4E1.005.244.015.24
#FFFFFF5.241.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A714B
Deuteranopia (green-blind)
#6F6951
Tritanopia (blue-blind)
#0E796F
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #2d7a4e;
/* rgb */ color: rgb(45, 122, 78);
/* oklch */ color: oklch(52.0% 0.103 155.1);
Tailwind
colors: {
  custom: {
    50: '#6ea180',
    500: '#2d7a4e',
    950: '#000000',
  },
}
SCSS
$custom: #2d7a4e;
$custom-light: #6ea180;
$custom-dark: #000000;
JSON
{
  "hex": "#2d7a4e",
  "rgb": {
    "r": 45,
    "g": 122,
    "b": 78
  },
  "hsl": {
    "h": 145.714,
    "s": 46.108,
    "l": 32.745
  },
  "oklch": {
    "l": 0.51973,
    "c": 0.10314,
    "h": 155.1
  },
  "luminance": 0.15027
}

Semantic roles & 50–950 ramp

primary
#2D7A4E
secondary
#AA5987
accent
#529DD6
background
#F6FAF7
surface
#ECF3EE
border
#C7CDC9
text
#080F0A
muted
#7A7F7C

Preview Lab

Preview with #2D7A4E

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

Preview Lab → · Contrast checker → · Palette generator →

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