#2D8858#2D8858

#2D8858 is a mid, moderate green. Relative luminance 0.189; OKLCH L 56.0% C 0.114 H 156.4°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#2D8858
RGBrgb(45, 136, 88)
HSLhsl(148, 50%, 35%)
HSVhsv(148, 67%, 53%)
CMYKcmyk(66.9%, 0%, 35.3%, 46.7%)
CIE-LABlab(50.53, -38.44, 18.14)
CIE-LCHlch(50.53, 42.50, 154.74°)
OKLaboklab(56.03% -0.1043 0.0457)
OKLCHoklch(56.03% 0.114 156.4)
XYZxyz(11.6467, 18.8696, 12.2590)
Luminance0.1887 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D8858 #882D5D
analogous
#2F882D #2D8858 #2D8885
triadic
#2D8858 #582D88 #88582D
tetradic
#2D8858 #2D2F88 #882D5D #88852D
square
#2D8858 #2D2F88 #882D5D #88852D
split-complementary
#2D8858 #852D88 #882D2F
monochromatic
#0F2C1C #1E5A3A #2D8858 #3CB676 #64CC95

Accessibility & contrast

On white

4.40
#2D8858 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#2D8858 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2D8858
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D8858#FFFFFF#000000##000000
##2D88581.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#877D55
Deuteranopia (green-blind)
#7B755B
Tritanopia (blue-blind)
#00877C
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #2d8858;
/* rgb */ color: rgb(45, 136, 88);
/* oklch */ color: oklch(56.0% 0.114 156.4);
Tailwind
colors: {
  custom: {
    50: '#71ab87',
    500: '#2d8858',
    950: '#000000',
  },
}
SCSS
$custom: #2d8858;
$custom-light: #71ab87;
$custom-dark: #000000;
JSON
{
  "hex": "#2d8858",
  "rgb": {
    "r": 45,
    "g": 136,
    "b": 88
  },
  "hsl": {
    "h": 148.352,
    "s": 50.276,
    "l": 35.49
  },
  "oklch": {
    "l": 0.5603,
    "c": 0.11386,
    "h": 156.4
  },
  "luminance": 0.18871
}

Semantic roles & 50–950 ramp

primary
#2D8858
secondary
#B25F8B
accent
#4E98DA
background
#F7FAF8
surface
#EDF4EF
border
#C8CECA
text
#08100B
muted
#7B7F7C

Preview Lab

Preview with #2D8858

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

Preview Lab → · Contrast checker → · Palette generator →

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