#2D7B4F#2D7B4F

#2D7B4F is a mid, moderate green. Relative luminance 0.153; OKLCH L 52.3% C 0.104 H 155.3°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#2D7B4F
RGBrgb(45, 123, 79)
HSLhsl(146, 46%, 33%)
HSVhsv(146, 63%, 48%)
CMYKcmyk(63.4%, 0%, 35.8%, 51.8%)
CIE-LABlab(46.03, -34.70, 17.18)
CIE-LCHlch(46.03, 38.72, 153.65°)
OKLaboklab(52.27% -0.0942 0.0432)
OKLCHoklch(52.27% 0.104 155.3)
XYZxyz(9.5756, 15.2874, 9.8417)
Luminance0.1529 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D7B4F #7B2D59
analogous
#327B2D #2D7B4F #2D7B76
triadic
#2D7B4F #4F2D7B #7B4F2D
tetradic
#2D7B4F #2D327B #7B2D59 #7B762D
square
#2D7B4F #2D327B #7B2D59 #7B762D
split-complementary
#2D7B4F #762D7B #7B2D32
monochromatic
#0C2115 #1D4E32 #2D7B4F #3DA86C #5EC48B

Accessibility & contrast

On white

5.18
#2D7B4F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#2D7B4F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D7B4F
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D7B4F#FFFFFF#000000##FFFFFF
##2D7B4F1.005.184.065.18
#FFFFFF5.181.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B714C
Deuteranopia (green-blind)
#706A52
Tritanopia (blue-blind)
#0C7A70
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #2d7b4f;
/* rgb */ color: rgb(45, 123, 79);
/* oklch */ color: oklch(52.3% 0.104 155.3);
Tailwind
colors: {
  custom: {
    50: '#6fa280',
    500: '#2d7b4f',
    950: '#000000',
  },
}
SCSS
$custom: #2d7b4f;
$custom-light: #6fa280;
$custom-dark: #000000;
JSON
{
  "hex": "#2d7b4f",
  "rgb": {
    "r": 45,
    "g": 123,
    "b": 79
  },
  "hsl": {
    "h": 146.154,
    "s": 46.429,
    "l": 32.941
  },
  "oklch": {
    "l": 0.52271,
    "c": 0.10364,
    "h": 155.3
  },
  "luminance": 0.15288
}

Semantic roles & 50–950 ramp

primary
#2D7B4F
secondary
#AB5987
accent
#529CD6
background
#F7FAF7
surface
#EDF3EE
border
#C8CDC9
text
#080F0A
muted
#7B7F7C

Preview Lab

Preview with #2D7B4F

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

Preview Lab → · Contrast checker → · Palette generator →

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