#2D8A5B#2D8A5B

#2D8A5B is a mid, moderate green. Relative luminance 0.195; OKLCH L 56.6% C 0.114 H 157.3°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#2D8A5B
RGBrgb(45, 138, 91)
HSLhsl(150, 51%, 36%)
HSVhsv(150, 67%, 54%)
CMYKcmyk(67.4%, 0%, 34.1%, 45.9%)
CIE-LABlab(51.25, -38.65, 17.42)
CIE-LCHlch(51.25, 42.40, 155.74°)
OKLaboklab(56.64% -0.105 0.044)
OKLCHoklch(56.64% 0.114 157.3)
XYZxyz(12.0579, 19.4889, 13.0218)
Luminance0.1949 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D8A5B #8A2D5C
analogous
#2D8A2D #2D8A5B #2D8A89
triadic
#2D8A5B #5B2D8A #8A5B2D
tetradic
#2D8A5B #2D2D8A #8A2D5C #8A892D
square
#2D8A5B #2D2D8A #8A2D5C #8A892D
split-complementary
#2D8A5B #892D8A #8A2D2D
monochromatic
#0F2E1E #1E5C3D #2D8A5B #3CB879 #65CD98

Accessibility & contrast

On white

4.29
#2D8A5B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#2D8A5B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2D8A5B
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D8A5B#FFFFFF#000000##000000
##2D8A5B1.004.294.904.90
#FFFFFF4.291.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#897F58
Deuteranopia (green-blind)
#7D775E
Tritanopia (blue-blind)
#00897E
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #2d8a5b;
/* rgb */ color: rgb(45, 138, 91);
/* oklch */ color: oklch(56.6% 0.114 157.3);
Tailwind
colors: {
  custom: {
    50: '#71ad89',
    500: '#2d8a5b',
    950: '#000000',
  },
}
SCSS
$custom: #2d8a5b;
$custom-light: #71ad89;
$custom-dark: #000000;
JSON
{
  "hex": "#2d8a5b",
  "rgb": {
    "r": 45,
    "g": 138,
    "b": 91
  },
  "hsl": {
    "h": 149.677,
    "s": 50.82,
    "l": 35.882
  },
  "oklch": {
    "l": 0.56641,
    "c": 0.11384,
    "h": 157.3
  },
  "luminance": 0.1949
}

Semantic roles & 50–950 ramp

primary
#2D8A5B
secondary
#B3608A
accent
#4D95DA
background
#F7FAF8
surface
#EDF4F0
border
#C8CECB
text
#09100B
muted
#7B7F7C

Preview Lab

Preview with #2D8A5B

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

Preview Lab → · Contrast checker → · Palette generator →

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