#2D8D52#2D8D52

#2D8D52 is a mid, vivid green. Relative luminance 0.202; OKLCH L 57.3% C 0.127 H 152.6°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#2D8D52
RGBrgb(45, 141, 82)
HSLhsl(143, 52%, 36%)
HSVhsv(143, 68%, 55%)
CMYKcmyk(68.1%, 0%, 41.8%, 44.7%)
CIE-LABlab(52.08, -41.72, 23.55)
CIE-LCHlch(52.08, 47.91, 150.56°)
OKLaboklab(57.27% -0.1126 0.0585)
OKLCHoklch(57.27% 0.127 152.6)
XYZxyz(12.1290, 20.2155, 11.2438)
Luminance0.2022 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D8D52 #8D2D68
analogous
#388D2D #2D8D52 #2D8D82
triadic
#2D8D52 #522D8D #8D522D
tetradic
#2D8D52 #2D388D #8D2D68 #8D822D
square
#2D8D52 #2D388D #8D2D68 #8D822D
split-complementary
#2D8D52 #822D8D #8D2D38
monochromatic
#0F301C #1E5F37 #2D8D52 #3CBB6D #66CE8E

Accessibility & contrast

On white

4.16
#2D8D52 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#2D8D52 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2D8D52
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D8D52#FFFFFF#000000##000000
##2D8D521.004.165.045.04
#FFFFFF4.161.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D814E
Deuteranopia (green-blind)
#817956
Tritanopia (blue-blind)
#008B7E
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #2d8d52;
/* rgb */ color: rgb(45, 141, 82);
/* oklch */ color: oklch(57.3% 0.127 152.6);
Tailwind
colors: {
  custom: {
    50: '#72af83',
    500: '#2d8d52',
    950: '#000000',
  },
}
SCSS
$custom: #2d8d52;
$custom-light: #72af83;
$custom-dark: #000000;
JSON
{
  "hex": "#2d8d52",
  "rgb": {
    "r": 45,
    "g": 141,
    "b": 82
  },
  "hsl": {
    "h": 143.125,
    "s": 51.613,
    "l": 36.471
  },
  "oklch": {
    "l": 0.57265,
    "c": 0.12689,
    "h": 152.6
  },
  "luminance": 0.20217
}

Semantic roles & 50–950 ramp

primary
#2D8D52
secondary
#B56195
accent
#4DA4DB
background
#F7FAF8
surface
#EDF5EF
border
#C8CFCA
text
#09100A
muted
#7B7F7C

Preview Lab

Preview with #2D8D52

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

Preview Lab → · Contrast checker → · Palette generator →

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