#2D8A54#2D8A54

#2D8A54 is a mid, vivid green. Relative luminance 0.194; OKLCH L 56.5% C 0.121 H 154.0°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#2D8A54
RGBrgb(45, 138, 84)
HSLhsl(145, 51%, 36%)
HSVhsv(145, 67%, 54%)
CMYKcmyk(67.4%, 0%, 39.1%, 45.9%)
CIE-LABlab(51.12, -40.10, 21.17)
CIE-LCHlch(51.12, 45.35, 152.16°)
OKLaboklab(56.49% -0.1084 0.0529)
OKLCHoklch(56.49% 0.121 154)
XYZxyz(11.7699, 19.3737, 11.5050)
Luminance0.1938 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D8A54 #8A2D63
analogous
#348A2D #2D8A54 #2D8A82
triadic
#2D8A54 #542D8A #8A542D
tetradic
#2D8A54 #2D348A #8A2D63 #8A822D
square
#2D8A54 #2D348A #8A2D63 #8A822D
split-complementary
#2D8A54 #822D8A #8A2D34
monochromatic
#0F2E1C #1E5C38 #2D8A54 #3CB870 #65CD90

Accessibility & contrast

On white

4.31
#2D8A54 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#2D8A54 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2D8A54
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D8A54#FFFFFF#000000##000000
##2D8A541.004.314.884.88
#FFFFFF4.311.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7F50
Deuteranopia (green-blind)
#7E7658
Tritanopia (blue-blind)
#00887C
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #2d8a54;
/* rgb */ color: rgb(45, 138, 84);
/* oklch */ color: oklch(56.5% 0.121 154.0);
Tailwind
colors: {
  custom: {
    50: '#71ad84',
    500: '#2d8a54',
    950: '#000000',
  },
}
SCSS
$custom: #2d8a54;
$custom-light: #71ad84;
$custom-dark: #000000;
JSON
{
  "hex": "#2d8a54",
  "rgb": {
    "r": 45,
    "g": 138,
    "b": 84
  },
  "hsl": {
    "h": 145.161,
    "s": 50.82,
    "l": 35.882
  },
  "oklch": {
    "l": 0.56488,
    "c": 0.12065,
    "h": 154
  },
  "luminance": 0.19375
}

Semantic roles & 50–950 ramp

primary
#2D8A54
secondary
#B36090
accent
#4D9FDA
background
#F7FAF8
surface
#EDF4EF
border
#C8CECA
text
#08100B
muted
#7B7F7C

Preview Lab

Preview with #2D8A54

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

Preview Lab → · Contrast checker → · Palette generator →

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