#2D8839#2D8839

#2D8839 is a mid, vivid green. Relative luminance 0.185; OKLCH L 55.5% C 0.144 H 145.5°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#2D8839
RGBrgb(45, 136, 57)
HSLhsl(128, 50%, 35%)
HSVhsv(128, 67%, 53%)
CMYKcmyk(66.9%, 0%, 58.1%, 46.7%)
CIE-LABlab(50.05, -43.84, 34.24)
CIE-LCHlch(50.05, 55.63, 142.01°)
OKLaboklab(55.47% -0.1185 0.0814)
OKLCHoklch(55.47% 0.144 145.5)
XYZxyz(10.6242, 18.4605, 6.8734)
Luminance0.1846 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D8839 #882D7C
analogous
#4E882D #2D8839 #2D8866
triadic
#2D8839 #392D88 #88392D
tetradic
#2D8839 #2D4E88 #882D7C #88662D
square
#2D8839 #2D4E88 #882D7C #88662D
split-complementary
#2D8839 #662D88 #882D4E
monochromatic
#0F2C12 #1E5A26 #2D8839 #3CB64C #64CC71

Accessibility & contrast

On white

4.48
#2D8839 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#2D8839 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2D8839
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D8839#FFFFFF#000000##000000
##2D88391.004.484.694.69
#FFFFFF4.481.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7C31
Deuteranopia (green-blind)
#7F743F
Tritanopia (blue-blind)
#138576
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #2d8839;
/* rgb */ color: rgb(45, 136, 57);
/* oklch */ color: oklch(55.5% 0.144 145.5);
Tailwind
colors: {
  custom: {
    50: '#72ac72',
    500: '#2d8839',
    950: '#000000',
  },
}
SCSS
$custom: #2d8839;
$custom-light: #72ac72;
$custom-dark: #000000;
JSON
{
  "hex": "#2d8839",
  "rgb": {
    "r": 45,
    "g": 136,
    "b": 57
  },
  "hsl": {
    "h": 127.912,
    "s": 50.276,
    "l": 35.49
  },
  "oklch": {
    "l": 0.55473,
    "c": 0.1438,
    "h": 145.5
  },
  "luminance": 0.18462
}

Semantic roles & 50–950 ramp

primary
#2D8839
secondary
#B25FA7
accent
#4EC7DA
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#091008
muted
#7B7F7B

Preview Lab

Preview with #2D8839

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

Preview Lab → · Contrast checker → · Palette generator →

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