#2D7F54#2D7F54

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

Color values

HEX#2D7F54
RGBrgb(45, 127, 84)
HSLhsl(149, 48%, 34%)
HSVhsv(149, 65%, 50%)
CMYKcmyk(64.6%, 0%, 33.9%, 50.2%)
CIE-LABlab(47.46, -35.39, 16.26)
CIE-LCHlch(47.46, 38.95, 155.33°)
OKLaboklab(53.48% -0.0962 0.0411)
OKLCHoklch(53.48% 0.105 156.9)
XYZxyz(10.2709, 16.3757, 11.0053)
Luminance0.1638 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D7F54 #7F2D58
analogous
#2F7F2D #2D7F54 #2D7F7D
triadic
#2D7F54 #542D7F #7F542D
tetradic
#2D7F54 #2D2F7F #7F2D58 #7F7D2D
square
#2D7F54 #2D2F7F #7F2D58 #7F7D2D
split-complementary
#2D7F54 #7D2D7F #7F2D2F
monochromatic
#0D2518 #1D5236 #2D7F54 #3DAC72 #60C791

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2D7F54#FFFFFF#000000##FFFFFF
##2D7F541.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)
#7E7551
Deuteranopia (green-blind)
#736D57
Tritanopia (blue-blind)
#037E74
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #2d7f54;
/* rgb */ color: rgb(45, 127, 84);
/* oklch */ color: oklch(53.5% 0.105 156.9);
Tailwind
colors: {
  custom: {
    50: '#6fa584',
    500: '#2d7f54',
    950: '#000000',
  },
}
SCSS
$custom: #2d7f54;
$custom-light: #6fa584;
$custom-dark: #000000;
JSON
{
  "hex": "#2d7f54",
  "rgb": {
    "r": 45,
    "g": 127,
    "b": 84
  },
  "hsl": {
    "h": 148.537,
    "s": 47.674,
    "l": 33.725
  },
  "oklch": {
    "l": 0.53483,
    "c": 0.10464,
    "h": 156.9
  },
  "luminance": 0.16377
}

Semantic roles & 50–950 ramp

primary
#2D7F54
secondary
#AD5B86
accent
#5197D7
background
#F7FAF8
surface
#EDF4EF
border
#C8CECA
text
#080F0B
muted
#7B7F7C

Preview Lab

Preview with #2D7F54

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

Preview Lab → · Contrast checker → · Palette generator →

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