#2D842D#2D842D

#2D842D is a mid, vivid green. Relative luminance 0.172; OKLCH L 54.2% C 0.149 H 143.2°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#2D842D
RGBrgb(45, 132, 45)
HSLhsl(120, 49%, 35%)
HSVhsv(120, 66%, 52%)
CMYKcmyk(65.9%, 0%, 65.9%, 48.2%)
CIE-LABlab(48.57, -43.82, 38.33)
CIE-LCHlch(48.57, 58.22, 138.82°)
OKLaboklab(54.21% -0.119 0.0891)
OKLCHoklch(54.21% 0.149 143.2)
XYZxyz(9.8065, 17.2489, 5.2947)
Luminance0.1725 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D842D #842D84
analogous
#59842D #2D842D #2D8459
triadic
#2D842D #2D2D84 #842D2D
tetradic
#2D842D #2D5984 #842D84 #84592D
square
#2D842D #2D5984 #842D84 #84592D
split-complementary
#2D842D #592D84 #842D59
monochromatic
#0E290E #1D561D #2D842D #3DB23D #62C962

Accessibility & contrast

On white

4.72
#2D842D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#2D842D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D842D
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D842D#FFFFFF#000000##FFFFFF
##2D842D1.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#877823
Deuteranopia (green-blind)
#7C7135
Tritanopia (blue-blind)
#1A8072
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #2d842d;
/* rgb */ color: rgb(45, 132, 45);
/* oklch */ color: oklch(54.2% 0.149 143.2);
Tailwind
colors: {
  custom: {
    50: '#72a96a',
    500: '#2d842d',
    950: '#000000',
  },
}
SCSS
$custom: #2d842d;
$custom-light: #72a96a;
$custom-dark: #000000;
JSON
{
  "hex": "#2d842d",
  "rgb": {
    "r": 45,
    "g": 132,
    "b": 45
  },
  "hsl": {
    "h": 120,
    "s": 49.153,
    "l": 34.706
  },
  "oklch": {
    "l": 0.5421,
    "c": 0.14866,
    "h": 143.2
  },
  "luminance": 0.1725
}

Semantic roles & 50–950 ramp

primary
#2D842D
secondary
#B05DB0
accent
#4FD9D9
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091007
muted
#7B7F7A

Preview Lab

Preview with #2D842D

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

Preview Lab → · Contrast checker → · Palette generator →

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