#2D8338#2D8338

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

Color values

HEX#2D8338
RGBrgb(45, 131, 56)
HSLhsl(128, 49%, 35%)
HSVhsv(128, 66%, 51%)
CMYKcmyk(65.6%, 0%, 57.3%, 48.6%)
CIE-LABlab(48.35, -42.04, 32.73)
CIE-LCHlch(48.35, 53.28, 142.10°)
OKLaboklab(54.07% -0.1137 0.078)
OKLCHoklch(54.07% 0.138 145.5)
XYZxyz(9.9117, 17.0750, 6.5141)
Luminance0.1708 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D8338 #832D78
analogous
#4D832D #2D8338 #2D8363
triadic
#2D8338 #382D83 #83382D
tetradic
#2D8338 #2D4D83 #832D78 #83632D
square
#2D8338 #2D4D83 #832D78 #83632D
split-complementary
#2D8338 #632D83 #832D4D
monochromatic
#0E2811 #1D5525 #2D8338 #3DB14B #62C96F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2D8338#FFFFFF#000000##FFFFFF
##2D83381.004.764.424.76
#FFFFFF4.761.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#857731
Deuteranopia (green-blind)
#7A703E
Tritanopia (blue-blind)
#178072
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #2d8338;
/* rgb */ color: rgb(45, 131, 56);
/* oklch */ color: oklch(54.1% 0.138 145.5);
Tailwind
colors: {
  custom: {
    50: '#71a871',
    500: '#2d8338',
    950: '#000000',
  },
}
SCSS
$custom: #2d8338;
$custom-light: #71a871;
$custom-dark: #000000;
JSON
{
  "hex": "#2d8338",
  "rgb": {
    "r": 45,
    "g": 131,
    "b": 56
  },
  "hsl": {
    "h": 127.674,
    "s": 48.864,
    "l": 34.51
  },
  "oklch": {
    "l": 0.54069,
    "c": 0.13791,
    "h": 145.5
  },
  "luminance": 0.17076
}

Semantic roles & 50–950 ramp

primary
#2D8338
secondary
#AF5CA5
accent
#4FC7D8
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#081008
muted
#7B7F7B

Preview Lab

Preview with #2D8338

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

Preview Lab → · Contrast checker → · Palette generator →

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