#2D7937#2D7937

#2D7937 is a mid, vivid green. Relative luminance 0.145; OKLCH L 51.3% C 0.125 H 145.9°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#2D7937
RGBrgb(45, 121, 55)
HSLhsl(128, 46%, 33%)
HSVhsv(128, 63%, 47%)
CMYKcmyk(62.8%, 0%, 54.5%, 52.5%)
CIE-LABlab(44.95, -38.18, 29.15)
CIE-LCHlch(44.95, 48.04, 142.64°)
OKLaboklab(51.26% -0.1033 0.0701)
OKLCHoklch(51.26% 0.125 145.9)
XYZxyz(8.6086, 14.5077, 5.9603)
Luminance0.1451 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D7937 #792D6F
analogous
#49792D #2D7937 #2D795D
triadic
#2D7937 #372D79 #79372D
tetradic
#2D7937 #2D4979 #792D6F #795D2D
square
#2D7937 #2D4979 #792D6F #795D2D
split-complementary
#2D7937 #5D2D79 #792D49
monochromatic
#0C200E #1C4C23 #2D7937 #3EA64B #5DC36B

Accessibility & contrast

On white

5.38
#2D7937 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#2D7937 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D7937
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D7937#FFFFFF#000000##FFFFFF
##2D79371.005.383.905.38
#FFFFFF5.381.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6E31
Deuteranopia (green-blind)
#71683C
Tritanopia (blue-blind)
#1C766A
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #2d7937;
/* rgb */ color: rgb(45, 121, 55);
/* oklch */ color: oklch(51.3% 0.125 145.9);
Tailwind
colors: {
  custom: {
    50: '#6fa06f',
    500: '#2d7937',
    950: '#000000',
  },
}
SCSS
$custom: #2d7937;
$custom-light: #6fa06f;
$custom-dark: #000000;
JSON
{
  "hex": "#2d7937",
  "rgb": {
    "r": 45,
    "g": 121,
    "b": 55
  },
  "hsl": {
    "h": 127.895,
    "s": 45.783,
    "l": 32.549
  },
  "oklch": {
    "l": 0.51259,
    "c": 0.12484,
    "h": 145.9
  },
  "luminance": 0.14508
}

Semantic roles & 50–950 ramp

primary
#2D7937
secondary
#A9589F
accent
#52C4D5
background
#F7F9F6
surface
#EDF2EC
border
#C8CCC7
text
#080F07
muted
#7B7E7A

Preview Lab

Preview with #2D7937

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

Preview Lab → · Contrast checker → · Palette generator →

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