#2D7E4B#2D7E4B

#2D7E4B is a mid, moderate green. Relative luminance 0.160; OKLCH L 53.0% C 0.112 H 152.6°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#2D7E4B
RGBrgb(45, 126, 75)
HSLhsl(142, 47%, 34%)
HSVhsv(142, 64%, 49%)
CMYKcmyk(64.3%, 0%, 40.5%, 50.6%)
CIE-LABlab(46.96, -36.81, 20.71)
CIE-LCHlch(46.96, 42.23, 150.64°)
OKLaboklab(53.01% -0.0996 0.0516)
OKLCHoklch(53.01% 0.112 152.6)
XYZxyz(9.8123, 15.9866, 9.2239)
Luminance0.1599 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D7E4B #7E2D60
analogous
#377E2D #2D7E4B #2D7E73
triadic
#2D7E4B #4B2D7E #7E4B2D
tetradic
#2D7E4B #2D377E #7E2D60 #7E732D
square
#2D7E4B #2D377E #7E2D60 #7E732D
split-complementary
#2D7E4B #732D7E #7E2D37
monochromatic
#0D2415 #1D5130 #2D7E4B #3DAB66 #5FC685

Accessibility & contrast

On white

5.00
#2D7E4B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#2D7E4B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D7E4B
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D7E4B#FFFFFF#000000##FFFFFF
##2D7E4B1.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E7447
Deuteranopia (green-blind)
#746C4E
Tritanopia (blue-blind)
#0E7C71
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #2d7e4b;
/* rgb */ color: rgb(45, 126, 75);
/* oklch */ color: oklch(53.0% 0.112 152.6);
Tailwind
colors: {
  custom: {
    50: '#6fa47e',
    500: '#2d7e4b',
    950: '#000000',
  },
}
SCSS
$custom: #2d7e4b;
$custom-light: #6fa47e;
$custom-dark: #000000;
JSON
{
  "hex": "#2d7e4b",
  "rgb": {
    "r": 45,
    "g": 126,
    "b": 75
  },
  "hsl": {
    "h": 142.222,
    "s": 47.368,
    "l": 33.529
  },
  "oklch": {
    "l": 0.53011,
    "c": 0.11215,
    "h": 152.6
  },
  "luminance": 0.15988
}

Semantic roles & 50–950 ramp

primary
#2D7E4B
secondary
#AC5A8E
accent
#51A5D7
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#080F0A
muted
#7B7F7C

Preview Lab

Preview with #2D7E4B

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

Preview Lab → · Contrast checker → · Palette generator →

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