#2D7331#2D7331

#2D7331 is a mid, vivid green. Relative luminance 0.130; OKLCH L 49.5% C 0.122 H 144.4°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#2D7331
RGBrgb(45, 115, 49)
HSLhsl(123, 44%, 31%)
HSVhsv(123, 61%, 45%)
CMYKcmyk(60.9%, 0%, 57.4%, 54.9%)
CIE-LABlab(42.82, -36.58, 29.74)
CIE-LCHlch(42.82, 47.14, 140.89°)
OKLaboklab(49.48% -0.0992 0.0709)
OKLCHoklch(49.48% 0.122 144.4)
XYZxyz(7.7668, 13.0404, 5.0129)
Luminance0.1304 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D7331 #732D6F
analogous
#4C732D #2D7331 #2D7354
triadic
#2D7331 #312D73 #73312D
tetradic
#2D7331 #2D4C73 #732D6F #73542D
square
#2D7331 #2D4C73 #732D6F #73542D
split-complementary
#2D7331 #542D73 #732D4C
monochromatic
#0B1B0C #1C471E #2D7331 #3E9F44 #5BBF61

Accessibility & contrast

On white

5.82
#2D7331 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#2D7331 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D7331
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D7331#FFFFFF#000000##FFFFFF
##2D73311.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#75692B
Deuteranopia (green-blind)
#6C6336
Tritanopia (blue-blind)
#207064
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #2d7331;
/* rgb */ color: rgb(45, 115, 49);
/* oklch */ color: oklch(49.5% 0.122 144.4);
Tailwind
colors: {
  custom: {
    50: '#6e9c6b',
    500: '#2d7331',
    950: '#000000',
  },
}
SCSS
$custom: #2d7331;
$custom-light: #6e9c6b;
$custom-dark: #000000;
JSON
{
  "hex": "#2d7331",
  "rgb": {
    "r": 45,
    "g": 115,
    "b": 49
  },
  "hsl": {
    "h": 123.429,
    "s": 43.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.4948,
    "c": 0.12196,
    "h": 144.4
  },
  "luminance": 0.13041
}

Semantic roles & 50–950 ramp

primary
#2D7331
secondary
#A457A0
accent
#54CCD3
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#080E07
muted
#7B7E7A

Preview Lab

Preview with #2D7331

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

Preview Lab → · Contrast checker → · Palette generator →

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