#2D7A4F#2D7A4F

#2D7A4F is a mid, moderate green. Relative luminance 0.150; OKLCH L 52.0% C 0.102 H 155.6°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#2D7A4F
RGBrgb(45, 122, 79)
HSLhsl(146, 46%, 33%)
HSVhsv(146, 63%, 48%)
CMYKcmyk(63.1%, 0%, 35.2%, 52.2%)
CIE-LABlab(45.69, -34.25, 16.73)
CIE-LCHlch(45.69, 38.12, 153.97°)
OKLaboklab(52% -0.093 0.0421)
OKLCHoklch(52% 0.102 155.6)
XYZxyz(9.4522, 15.0405, 9.8006)
Luminance0.1504 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D7A4F #7A2D58
analogous
#317A2D #2D7A4F #2D7A76
triadic
#2D7A4F #4F2D7A #7A4F2D
tetradic
#2D7A4F #2D317A #7A2D58 #7A762D
square
#2D7A4F #2D317A #7A2D58 #7A762D
split-complementary
#2D7A4F #762D7A #7A2D31
monochromatic
#0C2115 #1D4D32 #2D7A4F #3DA76C #5EC48B

Accessibility & contrast

On white

5.24
#2D7A4F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#2D7A4F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D7A4F
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D7A4F#FFFFFF#000000##FFFFFF
##2D7A4F1.005.244.015.24
#FFFFFF5.241.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#79714C
Deuteranopia (green-blind)
#6F6952
Tritanopia (blue-blind)
#0D796F
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #2d7a4f;
/* rgb */ color: rgb(45, 122, 79);
/* oklch */ color: oklch(52.0% 0.102 155.6);
Tailwind
colors: {
  custom: {
    50: '#6ea180',
    500: '#2d7a4f',
    950: '#000000',
  },
}
SCSS
$custom: #2d7a4f;
$custom-light: #6ea180;
$custom-dark: #000000;
JSON
{
  "hex": "#2d7a4f",
  "rgb": {
    "r": 45,
    "g": 122,
    "b": 79
  },
  "hsl": {
    "h": 146.494,
    "s": 46.108,
    "l": 32.745
  },
  "oklch": {
    "l": 0.51995,
    "c": 0.10214,
    "h": 155.6
  },
  "luminance": 0.15041
}

Semantic roles & 50–950 ramp

primary
#2D7A4F
secondary
#AA5986
accent
#529CD6
background
#F6FAF7
surface
#ECF3EE
border
#C7CDC9
text
#080F0A
muted
#7A7F7C

Preview Lab

Preview with #2D7A4F

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

Preview Lab → · Contrast checker → · Palette generator →

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