#2D8A52#2D8A52

#2D8A52 is a mid, vivid green. Relative luminance 0.193; OKLCH L 56.4% C 0.123 H 153.2°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#2D8A52
RGBrgb(45, 138, 82)
HSLhsl(144, 51%, 36%)
HSVhsv(144, 67%, 54%)
CMYKcmyk(67.4%, 0%, 40.6%, 45.9%)
CIE-LABlab(51.09, -40.49, 22.24)
CIE-LCHlch(51.09, 46.20, 151.22°)
OKLaboklab(56.45% -0.1094 0.0554)
OKLCHoklch(56.45% 0.123 153.2)
XYZxyz(11.6927, 19.3428, 11.0983)
Luminance0.1934 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D8A52 #8A2D65
analogous
#368A2D #2D8A52 #2D8A80
triadic
#2D8A52 #522D8A #8A522D
tetradic
#2D8A52 #2D368A #8A2D65 #8A802D
square
#2D8A52 #2D368A #8A2D65 #8A802D
split-complementary
#2D8A52 #802D8A #8A2D36
monochromatic
#0F2E1B #1E5C37 #2D8A52 #3CB86D #65CD8E

Accessibility & contrast

On white

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

On black

4.87
#2D8A52 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2D8A52
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D8A52#FFFFFF#000000##000000
##2D8A521.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2d8a52;
/* rgb */ color: rgb(45, 138, 82);
/* oklch */ color: oklch(56.4% 0.123 153.2);
Tailwind
colors: {
  custom: {
    50: '#71ad83',
    500: '#2d8a52',
    950: '#000000',
  },
}
SCSS
$custom: #2d8a52;
$custom-light: #71ad83;
$custom-dark: #000000;
JSON
{
  "hex": "#2d8a52",
  "rgb": {
    "r": 45,
    "g": 138,
    "b": 82
  },
  "hsl": {
    "h": 143.871,
    "s": 50.82,
    "l": 35.882
  },
  "oklch": {
    "l": 0.56447,
    "c": 0.12262,
    "h": 153.2
  },
  "luminance": 0.19344
}

Semantic roles & 50–950 ramp

primary
#2D8A52
secondary
#B36092
accent
#4DA2DA
background
#F7FAF8
surface
#EDF4EF
border
#C8CECA
text
#09100A
muted
#7B7F7C

Preview Lab

Preview with #2D8A52

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

Preview Lab → · Contrast checker → · Palette generator →

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