#2D7E37#2D7E37

#2D7E37 is a mid, vivid green. Relative luminance 0.158; OKLCH L 52.7% C 0.132 H 145.6°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#2D7E37
RGBrgb(45, 126, 55)
HSLhsl(127, 47%, 34%)
HSVhsv(127, 64%, 49%)
CMYKcmyk(64.3%, 0%, 56.3%, 50.6%)
CIE-LABlab(46.65, -40.21, 31.21)
CIE-LCHlch(46.65, 50.90, 142.18°)
OKLaboklab(52.66% -0.1088 0.0746)
OKLCHoklch(52.66% 0.132 145.6)
XYZxyz(9.2320, 15.7545, 6.1681)
Luminance0.1575 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D7E37 #7E2D74
analogous
#4B7E2D #2D7E37 #2D7E5F
triadic
#2D7E37 #372D7E #7E372D
tetradic
#2D7E37 #2D4B7E #7E2D74 #7E5F2D
square
#2D7E37 #2D4B7E #7E2D74 #7E5F2D
split-complementary
#2D7E37 #5F2D7E #7E2D4B
monochromatic
#0D2410 #1D5123 #2D7E37 #3DAB4B #5FC66C

Accessibility & contrast

On white

5.06
#2D7E37 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#2D7E37 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D7E37
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D7E37#FFFFFF#000000##FFFFFF
##2D7E371.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807330
Deuteranopia (green-blind)
#766C3C
Tritanopia (blue-blind)
#1A7B6E
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #2d7e37;
/* rgb */ color: rgb(45, 126, 55);
/* oklch */ color: oklch(52.7% 0.132 145.6);
Tailwind
colors: {
  custom: {
    50: '#70a470',
    500: '#2d7e37',
    950: '#000000',
  },
}
SCSS
$custom: #2d7e37;
$custom-light: #70a470;
$custom-dark: #000000;
JSON
{
  "hex": "#2d7e37",
  "rgb": {
    "r": 45,
    "g": 126,
    "b": 55
  },
  "hsl": {
    "h": 127.407,
    "s": 47.368,
    "l": 33.529
  },
  "oklch": {
    "l": 0.52659,
    "c": 0.13192,
    "h": 145.6
  },
  "luminance": 0.15755
}

Semantic roles & 50–950 ramp

primary
#2D7E37
secondary
#AC5AA2
accent
#51C6D7
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#080F07
muted
#7B7F7A

Preview Lab

Preview with #2D7E37

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

Preview Lab → · Contrast checker → · Palette generator →

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