#2D7F55#2D7F55

#2D7F55 is a mid, moderate green. Relative luminance 0.164; OKLCH L 53.5% C 0.104 H 157.5°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#2D7F55
RGBrgb(45, 127, 85)
HSLhsl(149, 48%, 34%)
HSVhsv(149, 65%, 50%)
CMYKcmyk(64.6%, 0%, 33.1%, 50.2%)
CIE-LABlab(47.48, -35.18, 15.71)
CIE-LCHlch(47.48, 38.53, 155.94°)
OKLaboklab(53.51% -0.0957 0.0397)
OKLCHoklch(53.51% 0.104 157.5)
XYZxyz(10.3103, 16.3915, 11.2131)
Luminance0.1639 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D7F55 #7F2D57
analogous
#2E7F2D #2D7F55 #2D7F7E
triadic
#2D7F55 #552D7F #7F552D
tetradic
#2D7F55 #2D2E7F #7F2D57 #7F7E2D
square
#2D7F55 #2D2E7F #7F2D57 #7F7E2D
split-complementary
#2D7F55 #7E2D7F #7F2D2E
monochromatic
#0D2519 #1D5237 #2D7F55 #3DAC73 #60C792

Accessibility & contrast

On white

4.91
#2D7F55 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#2D7F55 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D7F55
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D7F55#FFFFFF#000000##FFFFFF
##2D7F551.004.914.284.91
#FFFFFF4.911.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E7552
Deuteranopia (green-blind)
#736D58
Tritanopia (blue-blind)
#017E74
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #2d7f55;
/* rgb */ color: rgb(45, 127, 85);
/* oklch */ color: oklch(53.5% 0.104 157.5);
Tailwind
colors: {
  custom: {
    50: '#6fa585',
    500: '#2d7f55',
    950: '#000000',
  },
}
SCSS
$custom: #2d7f55;
$custom-light: #6fa585;
$custom-dark: #000000;
JSON
{
  "hex": "#2d7f55",
  "rgb": {
    "r": 45,
    "g": 127,
    "b": 85
  },
  "hsl": {
    "h": 149.268,
    "s": 47.674,
    "l": 33.725
  },
  "oklch": {
    "l": 0.53507,
    "c": 0.10367,
    "h": 157.5
  },
  "luminance": 0.16393
}

Semantic roles & 50–950 ramp

primary
#2D7F55
secondary
#AD5B85
accent
#5196D7
background
#F7FAF8
surface
#EDF4EF
border
#C8CECA
text
#080F0B
muted
#7B7F7C

Preview Lab

Preview with #2D7F55

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

Preview Lab → · Contrast checker → · Palette generator →

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