#2D8339#2D8339

#2D8339 is a mid, vivid green. Relative luminance 0.171; OKLCH L 54.1% C 0.137 H 145.8°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#2D8339
RGBrgb(45, 131, 57)
HSLhsl(128, 49%, 35%)
HSVhsv(128, 66%, 51%)
CMYKcmyk(65.6%, 0%, 56.5%, 48.6%)
CIE-LABlab(48.37, -41.90, 32.24)
CIE-LCHlch(48.37, 52.87, 142.43°)
OKLaboklab(54.08% -0.1133 0.077)
OKLCHoklch(54.08% 0.137 145.8)
XYZxyz(9.9364, 17.0849, 6.6442)
Luminance0.1709 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D8339 #832D77
analogous
#4C832D #2D8339 #2D8364
triadic
#2D8339 #392D83 #83392D
tetradic
#2D8339 #2D4C83 #832D77 #83642D
square
#2D8339 #2D4C83 #832D77 #83642D
split-complementary
#2D8339 #642D83 #832D4C
monochromatic
#0E2811 #1D5525 #2D8339 #3DB14D #62C970

Accessibility & contrast

On white

4.75
#2D8339 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#2D8339 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D8339
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D8339#FFFFFF#000000##FFFFFF
##2D83391.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#857732
Deuteranopia (green-blind)
#7A703F
Tritanopia (blue-blind)
#168072
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #2d8339;
/* rgb */ color: rgb(45, 131, 57);
/* oklch */ color: oklch(54.1% 0.137 145.8);
Tailwind
colors: {
  custom: {
    50: '#71a871',
    500: '#2d8339',
    950: '#000000',
  },
}
SCSS
$custom: #2d8339;
$custom-light: #71a871;
$custom-dark: #000000;
JSON
{
  "hex": "#2d8339",
  "rgb": {
    "r": 45,
    "g": 131,
    "b": 57
  },
  "hsl": {
    "h": 128.372,
    "s": 48.864,
    "l": 34.51
  },
  "oklch": {
    "l": 0.54083,
    "c": 0.137,
    "h": 145.8
  },
  "luminance": 0.17086
}

Semantic roles & 50–950 ramp

primary
#2D8339
secondary
#AF5CA4
accent
#4FC5D8
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#081008
muted
#7B7F7B

Preview Lab

Preview with #2D8339

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

Preview Lab → · Contrast checker → · Palette generator →

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