#2D8138#2D8138

#2D8138 is a mid, vivid green. Relative luminance 0.165; OKLCH L 53.5% C 0.135 H 145.6°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#2D8138
RGBrgb(45, 129, 56)
HSLhsl(128, 48%, 34%)
HSVhsv(128, 65%, 51%)
CMYKcmyk(65.1%, 0%, 56.6%, 49.4%)
CIE-LABlab(47.68, -41.26, 31.93)
CIE-LCHlch(47.68, 52.17, 142.27°)
OKLaboklab(53.51% -0.1116 0.0763)
OKLCHoklch(53.51% 0.135 145.6)
XYZxyz(9.6456, 16.5430, 6.4254)
Luminance0.1654 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D8138 #812D76
analogous
#4C812D #2D8138 #2D8162
triadic
#2D8138 #382D81 #81382D
tetradic
#2D8138 #2D4C81 #812D76 #81622D
square
#2D8138 #2D4C81 #812D76 #81622D
split-complementary
#2D8138 #622D81 #812D4C
monochromatic
#0D2611 #1D5424 #2D8138 #3DAE4C #61C86E

Accessibility & contrast

On white

4.87
#2D8138 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#2D8138 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D8138
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D8138#FFFFFF#000000##FFFFFF
##2D81381.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837631
Deuteranopia (green-blind)
#796E3E
Tritanopia (blue-blind)
#187E71
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #2d8138;
/* rgb */ color: rgb(45, 129, 56);
/* oklch */ color: oklch(53.5% 0.135 145.6);
Tailwind
colors: {
  custom: {
    50: '#70a671',
    500: '#2d8138',
    950: '#000000',
  },
}
SCSS
$custom: #2d8138;
$custom-light: #70a671;
$custom-dark: #000000;
JSON
{
  "hex": "#2d8138",
  "rgb": {
    "r": 45,
    "g": 129,
    "b": 56
  },
  "hsl": {
    "h": 127.857,
    "s": 48.276,
    "l": 34.118
  },
  "oklch": {
    "l": 0.53511,
    "c": 0.13516,
    "h": 145.6
  },
  "luminance": 0.16544
}

Semantic roles & 50–950 ramp

primary
#2D8138
secondary
#AE5CA3
accent
#50C6D8
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#080F08
muted
#7B7F7B

Preview Lab

Preview with #2D8138

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

Preview Lab → · Contrast checker → · Palette generator →

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