#2D8248#2D8248

#2D8248 is a mid, vivid green. Relative luminance 0.170; OKLCH L 54.1% C 0.121 H 150.6°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#2D8248
RGBrgb(45, 130, 72)
HSLhsl(139, 49%, 34%)
HSVhsv(139, 65%, 51%)
CMYKcmyk(65.4%, 0%, 44.6%, 49%)
CIE-LABlab(48.25, -39.06, 24.07)
CIE-LCHlch(48.25, 45.88, 148.36°)
OKLaboklab(54.06% -0.1055 0.0594)
OKLCHoklch(54.06% 0.121 150.6)
XYZxyz(10.2337, 16.9900, 8.8697)
Luminance0.1699 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D8248 #822D67
analogous
#3D822D #2D8248 #2D8273
triadic
#2D8248 #482D82 #82482D
tetradic
#2D8248 #2D3D82 #822D67 #82732D
square
#2D8248 #2D3D82 #822D67 #82732D
split-complementary
#2D8248 #732D82 #822D3D
monochromatic
#0E2716 #1D552F #2D8248 #3DAF61 #61C882

Accessibility & contrast

On white

4.77
#2D8248 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#2D8248 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D8248
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D8248#FFFFFF#000000##FFFFFF
##2D82481.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837744
Deuteranopia (green-blind)
#78704C
Tritanopia (blue-blind)
#0E8074
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #2d8248;
/* rgb */ color: rgb(45, 130, 72);
/* oklch */ color: oklch(54.1% 0.121 150.6);
Tailwind
colors: {
  custom: {
    50: '#70a77c',
    500: '#2d8248',
    950: '#000000',
  },
}
SCSS
$custom: #2d8248;
$custom-light: #70a77c;
$custom-dark: #000000;
JSON
{
  "hex": "#2d8248",
  "rgb": {
    "r": 45,
    "g": 130,
    "b": 72
  },
  "hsl": {
    "h": 139.059,
    "s": 48.571,
    "l": 34.314
  },
  "oklch": {
    "l": 0.54055,
    "c": 0.12104,
    "h": 150.6
  },
  "luminance": 0.16991
}

Semantic roles & 50–950 ramp

primary
#2D8248
secondary
#AF5C94
accent
#50ADD8
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#080F09
muted
#7B7F7B

Preview Lab

Preview with #2D8248

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

Preview Lab → · Contrast checker → · Palette generator →

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