#2D8336#2D8336

#2D8336 is a mid, vivid green. Relative luminance 0.171; OKLCH L 54.0% C 0.140 H 145.1°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#2D8336
RGBrgb(45, 131, 54)
HSLhsl(126, 49%, 35%)
HSVhsv(126, 66%, 51%)
CMYKcmyk(65.6%, 0%, 58.8%, 48.6%)
CIE-LABlab(48.33, -42.32, 33.72)
CIE-LCHlch(48.33, 54.11, 141.46°)
OKLaboklab(54.04% -0.1145 0.08)
OKLCHoklch(54.04% 0.14 145.1)
XYZxyz(9.8637, 17.0558, 6.2616)
Luminance0.1706 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D8336 #832D7A
analogous
#4F832D #2D8336 #2D8361
triadic
#2D8336 #362D83 #83362D
tetradic
#2D8336 #2D4F83 #832D7A #83612D
square
#2D8336 #2D4F83 #832D7A #83612D
split-complementary
#2D8336 #612D83 #832D4F
monochromatic
#0E2810 #1D5523 #2D8336 #3DB149 #62C96C

Accessibility & contrast

On white

4.76
#2D8336 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#2D8336 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D8336
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D8336#FFFFFF#000000##FFFFFF
##2D83361.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#85772E
Deuteranopia (green-blind)
#7B703C
Tritanopia (blue-blind)
#188072
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #2d8336;
/* rgb */ color: rgb(45, 131, 54);
/* oklch */ color: oklch(54.0% 0.140 145.1);
Tailwind
colors: {
  custom: {
    50: '#71a86f',
    500: '#2d8336',
    950: '#000000',
  },
}
SCSS
$custom: #2d8336;
$custom-light: #71a86f;
$custom-dark: #000000;
JSON
{
  "hex": "#2d8336",
  "rgb": {
    "r": 45,
    "g": 131,
    "b": 54
  },
  "hsl": {
    "h": 126.279,
    "s": 48.864,
    "l": 34.51
  },
  "oklch": {
    "l": 0.54041,
    "c": 0.13972,
    "h": 145.1
  },
  "luminance": 0.17057
}

Semantic roles & 50–950 ramp

primary
#2D8336
secondary
#AF5CA7
accent
#4FCAD8
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#081007
muted
#7B7F7A

Preview Lab

Preview with #2D8336

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

Preview Lab → · Contrast checker → · Palette generator →

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