#2D7340#2D7340

#2D7340 is a mid, moderate green. Relative luminance 0.132; OKLCH L 49.7% C 0.107 H 149.7°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#2D7340
RGBrgb(45, 115, 64)
HSLhsl(136, 44%, 31%)
HSVhsv(136, 61%, 45%)
CMYKcmyk(60.9%, 0%, 44.3%, 54.9%)
CIE-LABlab(43.05, -34.14, 21.81)
CIE-LCHlch(43.05, 40.51, 147.42°)
OKLaboklab(49.74% -0.0923 0.0539)
OKLCHoklch(49.74% 0.107 149.7)
XYZxyz(8.1378, 13.1888, 6.9663)
Luminance0.1319 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D7340 #732D60
analogous
#3D732D #2D7340 #2D7363
triadic
#2D7340 #402D73 #73402D
tetradic
#2D7340 #2D3D73 #732D60 #73632D
square
#2D7340 #2D3D73 #732D60 #73632D
split-complementary
#2D7340 #632D73 #732D3D
monochromatic
#0B1B0F #1C4728 #2D7340 #3E9F58 #5BBF76

Accessibility & contrast

On white

5.77
#2D7340 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#2D7340 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D7340
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D7340#FFFFFF#000000##FFFFFF
##2D73401.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746A3C
Deuteranopia (green-blind)
#6A6343
Tritanopia (blue-blind)
#1A7166
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #2d7340;
/* rgb */ color: rgb(45, 115, 64);
/* oklch */ color: oklch(49.7% 0.107 149.7);
Tailwind
colors: {
  custom: {
    50: '#6d9c75',
    500: '#2d7340',
    950: '#000000',
  },
}
SCSS
$custom: #2d7340;
$custom-light: #6d9c75;
$custom-dark: #000000;
JSON
{
  "hex": "#2d7340",
  "rgb": {
    "r": 45,
    "g": 115,
    "b": 64
  },
  "hsl": {
    "h": 136.286,
    "s": 43.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.49735,
    "c": 0.10691,
    "h": 149.7
  },
  "luminance": 0.1319
}

Semantic roles & 50–950 ramp

primary
#2D7340
secondary
#A45790
accent
#54B1D3
background
#F6F9F7
surface
#ECF2ED
border
#C7CCC8
text
#070E08
muted
#7A7E7B

Preview Lab

Preview with #2D7340

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

Preview Lab → · Contrast checker → · Palette generator →

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