#2D7F4E#2D7F4E

#2D7F4E is a mid, moderate green. Relative luminance 0.163; OKLCH L 53.3% C 0.111 H 153.8°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#2D7F4E
RGBrgb(45, 127, 78)
HSLhsl(144, 48%, 34%)
HSVhsv(144, 65%, 50%)
CMYKcmyk(64.6%, 0%, 38.6%, 50.2%)
CIE-LABlab(47.35, -36.64, 19.53)
CIE-LCHlch(47.35, 41.52, 151.95°)
OKLaboklab(53.35% -0.0992 0.0489)
OKLCHoklch(53.35% 0.111 153.8)
XYZxyz(10.0459, 16.2857, 9.8203)
Luminance0.1629 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D7F4E #7F2D5E
analogous
#357F2D #2D7F4E #2D7F77
triadic
#2D7F4E #4E2D7F #7F4E2D
tetradic
#2D7F4E #2D357F #7F2D5E #7F772D
square
#2D7F4E #2D357F #7F2D5E #7F772D
split-complementary
#2D7F4E #772D7F #7F2D35
monochromatic
#0D2516 #1D5232 #2D7F4E #3DAC6A #60C789

Accessibility & contrast

On white

4.93
#2D7F4E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#2D7F4E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D7F4E
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D7F4E#FFFFFF#000000##FFFFFF
##2D7F4E1.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F754B
Deuteranopia (green-blind)
#746D51
Tritanopia (blue-blind)
#0A7D73
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #2d7f4e;
/* rgb */ color: rgb(45, 127, 78);
/* oklch */ color: oklch(53.3% 0.111 153.8);
Tailwind
colors: {
  custom: {
    50: '#6fa580',
    500: '#2d7f4e',
    950: '#000000',
  },
}
SCSS
$custom: #2d7f4e;
$custom-light: #6fa580;
$custom-dark: #000000;
JSON
{
  "hex": "#2d7f4e",
  "rgb": {
    "r": 45,
    "g": 127,
    "b": 78
  },
  "hsl": {
    "h": 144.146,
    "s": 47.674,
    "l": 33.725
  },
  "oklch": {
    "l": 0.53349,
    "c": 0.1106,
    "h": 153.8
  },
  "luminance": 0.16287
}

Semantic roles & 50–950 ramp

primary
#2D7F4E
secondary
#AD5B8C
accent
#51A1D7
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#080F0A
muted
#7B7F7C

Preview Lab

Preview with #2D7F4E

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

Preview Lab → · Contrast checker → · Palette generator →

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