#2D7B4A#2D7B4A

#2D7B4A is a mid, moderate green. Relative luminance 0.152; OKLCH L 52.2% C 0.109 H 152.8°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#2D7B4A
RGBrgb(45, 123, 74)
HSLhsl(142, 46%, 33%)
HSVhsv(142, 63%, 48%)
CMYKcmyk(63.4%, 0%, 39.8%, 51.8%)
CIE-LABlab(45.93, -35.71, 19.92)
CIE-LCHlch(45.93, 40.89, 150.85°)
OKLaboklab(52.16% -0.0967 0.0497)
OKLCHoklch(52.16% 0.109 152.8)
XYZxyz(9.4004, 15.2173, 8.9191)
Luminance0.1522 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D7B4A #7B2D5E
analogous
#377B2D #2D7B4A #2D7B71
triadic
#2D7B4A #4A2D7B #7B4A2D
tetradic
#2D7B4A #2D377B #7B2D5E #7B712D
square
#2D7B4A #2D377B #7B2D5E #7B712D
split-complementary
#2D7B4A #712D7B #7B2D37
monochromatic
#0C2114 #1D4E2F #2D7B4A #3DA865 #5EC484

Accessibility & contrast

On white

5.19
#2D7B4A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#2D7B4A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D7B4A
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D7B4A#FFFFFF#000000##FFFFFF
##2D7B4A1.005.194.045.19
#FFFFFF5.191.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B7147
Deuteranopia (green-blind)
#716A4D
Tritanopia (blue-blind)
#11796F
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #2d7b4a;
/* rgb */ color: rgb(45, 123, 74);
/* oklch */ color: oklch(52.2% 0.109 152.8);
Tailwind
colors: {
  custom: {
    50: '#6fa27d',
    500: '#2d7b4a',
    950: '#000000',
  },
}
SCSS
$custom: #2d7b4a;
$custom-light: #6fa27d;
$custom-dark: #000000;
JSON
{
  "hex": "#2d7b4a",
  "rgb": {
    "r": 45,
    "g": 123,
    "b": 74
  },
  "hsl": {
    "h": 142.308,
    "s": 46.429,
    "l": 32.941
  },
  "oklch": {
    "l": 0.52162,
    "c": 0.10869,
    "h": 152.8
  },
  "luminance": 0.15218
}

Semantic roles & 50–950 ramp

primary
#2D7B4A
secondary
#AB598C
accent
#52A5D6
background
#F7FAF7
surface
#EDF3EE
border
#C8CDC9
text
#080F09
muted
#7B7F7B

Preview Lab

Preview with #2D7B4A

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

Preview Lab → · Contrast checker → · Palette generator →

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