#2D8758#2D8758

#2D8758 is a mid, moderate green. Relative luminance 0.186; OKLCH L 55.8% C 0.112 H 156.6°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#2D8758
RGBrgb(45, 135, 88)
HSLhsl(149, 50%, 35%)
HSVhsv(149, 67%, 53%)
CMYKcmyk(66.7%, 0%, 34.8%, 47.1%)
CIE-LABlab(50.20, -38.01, 17.69)
CIE-LCHlch(50.20, 41.93, 155.04°)
OKLaboklab(55.76% -0.1032 0.0446)
OKLCHoklch(55.76% 0.112 156.6)
XYZxyz(11.5066, 18.5892, 12.2123)
Luminance0.1859 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D8758 #872D5C
analogous
#2F872D #2D8758 #2D8785
triadic
#2D8758 #582D87 #87582D
tetradic
#2D8758 #2D2F87 #872D5C #87852D
square
#2D8758 #2D2F87 #872D5C #87852D
split-complementary
#2D8758 #852D87 #872D2F
monochromatic
#0E2B1C #1E593A #2D8758 #3CB576 #63CB95

Accessibility & contrast

On white

4.45
#2D8758 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#2D8758 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2D8758
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D8758#FFFFFF#000000##000000
##2D87581.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#867C55
Deuteranopia (green-blind)
#7A745B
Tritanopia (blue-blind)
#00867B
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #2d8758;
/* rgb */ color: rgb(45, 135, 88);
/* oklch */ color: oklch(55.8% 0.112 156.6);
Tailwind
colors: {
  custom: {
    50: '#71ab87',
    500: '#2d8758',
    950: '#000000',
  },
}
SCSS
$custom: #2d8758;
$custom-light: #71ab87;
$custom-dark: #000000;
JSON
{
  "hex": "#2d8758",
  "rgb": {
    "r": 45,
    "g": 135,
    "b": 88
  },
  "hsl": {
    "h": 148.667,
    "s": 50,
    "l": 35.294
  },
  "oklch": {
    "l": 0.55758,
    "c": 0.11242,
    "h": 156.6
  },
  "luminance": 0.1859
}

Semantic roles & 50–950 ramp

primary
#2D8758
secondary
#B25E8A
accent
#4E97DA
background
#F7FAF8
surface
#EDF4EF
border
#C8CECA
text
#08100B
muted
#7B7F7C

Preview Lab

Preview with #2D8758

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

Preview Lab → · Contrast checker → · Palette generator →

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