#2D7B4C#2D7B4C

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

Color values

HEX#2D7B4C
RGBrgb(45, 123, 76)
HSLhsl(144, 46%, 33%)
HSVhsv(144, 63%, 48%)
CMYKcmyk(63.4%, 0%, 38.2%, 51.8%)
CIE-LABlab(45.97, -35.31, 18.83)
CIE-LCHlch(45.97, 40.02, 151.94°)
OKLaboklab(52.2% -0.0957 0.0471)
OKLCHoklch(52.2% 0.107 153.8)
XYZxyz(9.4689, 15.2447, 9.2796)
Luminance0.1525 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D7B4C #7B2D5C
analogous
#357B2D #2D7B4C #2D7B73
triadic
#2D7B4C #4C2D7B #7B4C2D
tetradic
#2D7B4C #2D357B #7B2D5C #7B732D
square
#2D7B4C #2D357B #7B2D5C #7B732D
split-complementary
#2D7B4C #732D7B #7B2D35
monochromatic
#0C2115 #1D4E30 #2D7B4C #3DA868 #5EC487

Accessibility & contrast

On white

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

On black

4.05
#2D7B4C on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2D7B4C#FFFFFF#000000##FFFFFF
##2D7B4C1.005.194.055.19
#FFFFFF5.191.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B7149
Deuteranopia (green-blind)
#716A4F
Tritanopia (blue-blind)
#0F7A6F
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #2d7b4c;
/* rgb */ color: rgb(45, 123, 76);
/* oklch */ color: oklch(52.2% 0.107 153.8);
Tailwind
colors: {
  custom: {
    50: '#6fa27e',
    500: '#2d7b4c',
    950: '#000000',
  },
}
SCSS
$custom: #2d7b4c;
$custom-light: #6fa27e;
$custom-dark: #000000;
JSON
{
  "hex": "#2d7b4c",
  "rgb": {
    "r": 45,
    "g": 123,
    "b": 76
  },
  "hsl": {
    "h": 143.846,
    "s": 46.429,
    "l": 32.941
  },
  "oklch": {
    "l": 0.52204,
    "c": 0.10667,
    "h": 153.8
  },
  "luminance": 0.15246
}

Semantic roles & 50–950 ramp

primary
#2D7B4C
secondary
#AB598A
accent
#52A1D6
background
#F7FAF7
surface
#EDF3EE
border
#C8CDC9
text
#080F0A
muted
#7B7F7C

Preview Lab

Preview with #2D7B4C

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

Preview Lab → · Contrast checker → · Palette generator →

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