#2D8152#2D8152

#2D8152 is a mid, moderate green. Relative luminance 0.169; OKLCH L 54.0% C 0.110 H 155.3°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#2D8152
RGBrgb(45, 129, 82)
HSLhsl(146, 48%, 34%)
HSVhsv(146, 65%, 51%)
CMYKcmyk(65.1%, 0%, 36.4%, 49.4%)
CIE-LABlab(48.09, -36.69, 18.25)
CIE-LCHlch(48.09, 40.98, 153.55°)
OKLaboklab(53.99% -0.0995 0.0459)
OKLCHoklch(53.99% 0.11 155.3)
XYZxyz(10.4545, 16.8665, 10.6856)
Luminance0.1687 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D8152 #812D5C
analogous
#32812D #2D8152 #2D817C
triadic
#2D8152 #522D81 #81522D
tetradic
#2D8152 #2D3281 #812D5C #817C2D
square
#2D8152 #2D3281 #812D5C #817C2D
split-complementary
#2D8152 #7C2D81 #812D32
monochromatic
#0D2618 #1D5435 #2D8152 #3DAE6F #61C88E

Accessibility & contrast

On white

4.80
#2D8152 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#2D8152 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D8152
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D8152#FFFFFF#000000##FFFFFF
##2D81521.004.804.374.80
#FFFFFF4.801.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#81774F
Deuteranopia (green-blind)
#756F55
Tritanopia (blue-blind)
#038075
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #2d8152;
/* rgb */ color: rgb(45, 129, 82);
/* oklch */ color: oklch(54.0% 0.110 155.3);
Tailwind
colors: {
  custom: {
    50: '#70a683',
    500: '#2d8152',
    950: '#000000',
  },
}
SCSS
$custom: #2d8152;
$custom-light: #70a683;
$custom-dark: #000000;
JSON
{
  "hex": "#2d8152",
  "rgb": {
    "r": 45,
    "g": 129,
    "b": 82
  },
  "hsl": {
    "h": 146.429,
    "s": 48.276,
    "l": 34.118
  },
  "oklch": {
    "l": 0.53985,
    "c": 0.10956,
    "h": 155.3
  },
  "luminance": 0.16868
}

Semantic roles & 50–950 ramp

primary
#2D8152
secondary
#AE5C8A
accent
#509CD8
background
#F7FAF8
surface
#EDF4EF
border
#C8CECA
text
#080F0A
muted
#7B7F7C

Preview Lab

Preview with #2D8152

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

Preview Lab → · Contrast checker → · Palette generator →

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