#2D7232#2D7232

#2D7232 is a mid, moderate green. Relative luminance 0.128; OKLCH L 49.2% C 0.120 H 144.8°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#2D7232
RGBrgb(45, 114, 50)
HSLhsl(124, 43%, 31%)
HSVhsv(124, 61%, 45%)
CMYKcmyk(60.5%, 0%, 56.1%, 55.3%)
CIE-LABlab(42.49, -36.02, 28.82)
CIE-LCHlch(42.49, 46.13, 141.34°)
OKLaboklab(49.21% -0.0976 0.069)
OKLCHoklch(49.21% 0.12 144.8)
XYZxyz(7.6748, 12.8221, 5.0875)
Luminance0.1282 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D7232 #722D6D
analogous
#4A722D #2D7232 #2D7254
triadic
#2D7232 #322D72 #72322D
tetradic
#2D7232 #2D4A72 #722D6D #72542D
square
#2D7232 #2D4A72 #722D6D #72542D
split-complementary
#2D7232 #542D72 #722D4A
monochromatic
#0A1A0C #1C461F #2D7232 #3E9E45 #5BBE62

Accessibility & contrast

On white

5.89
#2D7232 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#2D7232 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D7232
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D7232#FFFFFF#000000##FFFFFF
##2D72321.005.893.565.89
#FFFFFF5.891.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#74682C
Deuteranopia (green-blind)
#6B6237
Tritanopia (blue-blind)
#206F64
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #2d7232;
/* rgb */ color: rgb(45, 114, 50);
/* oklch */ color: oklch(49.2% 0.120 144.8);
Tailwind
colors: {
  custom: {
    50: '#6e9b6c',
    500: '#2d7232',
    950: '#000000',
  },
}
SCSS
$custom: #2d7232;
$custom-light: #6e9b6c;
$custom-dark: #000000;
JSON
{
  "hex": "#2d7232",
  "rgb": {
    "r": 45,
    "g": 114,
    "b": 50
  },
  "hsl": {
    "h": 124.348,
    "s": 43.396,
    "l": 31.176
  },
  "oklch": {
    "l": 0.49213,
    "c": 0.11956,
    "h": 144.8
  },
  "luminance": 0.12823
}

Semantic roles & 50–950 ramp

primary
#2D7232
secondary
#A3579E
accent
#55CAD3
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#080E07
muted
#7B7E7A

Preview Lab

Preview with #2D7232

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

Preview Lab → · Contrast checker → · Palette generator →

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