#2D7A3F#2D7A3F

#2D7A3F is a mid, moderate green. Relative luminance 0.148; OKLCH L 51.7% C 0.118 H 148.4°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#2D7A3F
RGBrgb(45, 122, 63)
HSLhsl(134, 46%, 33%)
HSVhsv(134, 63%, 48%)
CMYKcmyk(63.1%, 0%, 48.4%, 52.2%)
CIE-LABlab(45.41, -37.31, 25.40)
CIE-LCHlch(45.41, 45.14, 145.76°)
OKLaboklab(51.67% -0.1008 0.0621)
OKLCHoklch(51.67% 0.118 148.4)
XYZxyz(8.9383, 14.8350, 7.0941)
Luminance0.1484 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D7A3F #7A2D68
analogous
#417A2D #2D7A3F #2D7A65
triadic
#2D7A3F #3F2D7A #7A3F2D
tetradic
#2D7A3F #2D417A #7A2D68 #7A652D
square
#2D7A3F #2D417A #7A2D68 #7A652D
split-complementary
#2D7A3F #652D7A #7A2D41
monochromatic
#0C2111 #1D4D28 #2D7A3F #3DA756 #5EC476

Accessibility & contrast

On white

5.29
#2D7A3F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#2D7A3F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D7A3F
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D7A3F#FFFFFF#000000##FFFFFF
##2D7A3F1.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B703A
Deuteranopia (green-blind)
#716943
Tritanopia (blue-blind)
#18786C
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #2d7a3f;
/* rgb */ color: rgb(45, 122, 63);
/* oklch */ color: oklch(51.7% 0.118 148.4);
Tailwind
colors: {
  custom: {
    50: '#6fa175',
    500: '#2d7a3f',
    950: '#000000',
  },
}
SCSS
$custom: #2d7a3f;
$custom-light: #6fa175;
$custom-dark: #000000;
JSON
{
  "hex": "#2d7a3f",
  "rgb": {
    "r": 45,
    "g": 122,
    "b": 63
  },
  "hsl": {
    "h": 134.026,
    "s": 46.108,
    "l": 32.745
  },
  "oklch": {
    "l": 0.51671,
    "c": 0.11839,
    "h": 148.4
  },
  "luminance": 0.14836
}

Semantic roles & 50–950 ramp

primary
#2D7A3F
secondary
#AA5997
accent
#52B7D6
background
#F7FAF7
surface
#EDF3ED
border
#C8CDC8
text
#080F08
muted
#7B7F7B

Preview Lab

Preview with #2D7A3F

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

Preview Lab → · Contrast checker → · Palette generator →

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