#2D7239#2D7239

#2D7239 is a mid, moderate green. Relative luminance 0.129; OKLCH L 49.3% C 0.113 H 147.1°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#2D7239
RGBrgb(45, 114, 57)
HSLhsl(130, 43%, 31%)
HSVhsv(130, 61%, 45%)
CMYKcmyk(60.5%, 0%, 50%, 55.3%)
CIE-LABlab(42.59, -34.93, 25.15)
CIE-LCHlch(42.59, 43.04, 144.24°)
OKLaboklab(49.33% -0.0945 0.0612)
OKLCHoklch(49.33% 0.113 147.1)
XYZxyz(7.8375, 12.8872, 5.9446)
Luminance0.1289 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D7239 #722D66
analogous
#43722D #2D7239 #2D725B
triadic
#2D7239 #392D72 #72392D
tetradic
#2D7239 #2D4372 #722D66 #725B2D
square
#2D7239 #2D4372 #722D66 #725B2D
split-complementary
#2D7239 #5B2D72 #722D43
monochromatic
#0A1A0D #1C4623 #2D7239 #3E9E4F #5BBE6C

Accessibility & contrast

On white

5.87
#2D7239 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#2D7239 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D7239
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D7239#FFFFFF#000000##FFFFFF
##2D72391.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736834
Deuteranopia (green-blind)
#6A623D
Tritanopia (blue-blind)
#1E7065
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #2d7239;
/* rgb */ color: rgb(45, 114, 57);
/* oklch */ color: oklch(49.3% 0.113 147.1);
Tailwind
colors: {
  custom: {
    50: '#6d9b70',
    500: '#2d7239',
    950: '#000000',
  },
}
SCSS
$custom: #2d7239;
$custom-light: #6d9b70;
$custom-dark: #000000;
JSON
{
  "hex": "#2d7239",
  "rgb": {
    "r": 45,
    "g": 114,
    "b": 57
  },
  "hsl": {
    "h": 130.435,
    "s": 43.396,
    "l": 31.176
  },
  "oklch": {
    "l": 0.49326,
    "c": 0.11261,
    "h": 147.1
  },
  "luminance": 0.12888
}

Semantic roles & 50–950 ramp

primary
#2D7239
secondary
#A35796
accent
#55BDD3
background
#F6F9F6
surface
#ECF2EC
border
#C7CCC7
text
#070E07
muted
#7A7E7A

Preview Lab

Preview with #2D7239

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

Preview Lab → · Contrast checker → · Palette generator →

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