#2D852D#2D852D

#2D852D is a mid, vivid green. Relative luminance 0.175; OKLCH L 54.5% C 0.150 H 143.2°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#2D852D
RGBrgb(45, 133, 45)
HSLhsl(120, 49%, 35%)
HSVhsv(120, 66%, 52%)
CMYKcmyk(66.2%, 0%, 66.2%, 47.8%)
CIE-LABlab(48.91, -44.19, 38.71)
CIE-LCHlch(48.91, 58.75, 138.79°)
OKLaboklab(54.49% -0.12 0.0899)
OKLCHoklch(54.49% 0.15 143.2)
XYZxyz(9.9428, 17.5214, 5.3401)
Luminance0.1752 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D852D #852D85
analogous
#59852D #2D852D #2D8559
triadic
#2D852D #2D2D85 #852D2D
tetradic
#2D852D #2D5985 #852D85 #85592D
square
#2D852D #2D5985 #852D85 #85592D
split-complementary
#2D852D #592D85 #852D59
monochromatic
#0E2A0E #1E571E #2D852D #3CB33C #62CA62

Accessibility & contrast

On white

4.66
#2D852D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#2D852D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #2D852D
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D852D#FFFFFF#000000##FFFFFF
##2D852D1.004.664.504.66
#FFFFFF4.661.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#887922
Deuteranopia (green-blind)
#7D7135
Tritanopia (blue-blind)
#1A8173
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #2d852d;
/* rgb */ color: rgb(45, 133, 45);
/* oklch */ color: oklch(54.5% 0.150 143.2);
Tailwind
colors: {
  custom: {
    50: '#72a96a',
    500: '#2d852d',
    950: '#000000',
  },
}
SCSS
$custom: #2d852d;
$custom-light: #72a96a;
$custom-dark: #000000;
JSON
{
  "hex": "#2d852d",
  "rgb": {
    "r": 45,
    "g": 133,
    "b": 45
  },
  "hsl": {
    "h": 120,
    "s": 49.438,
    "l": 34.902
  },
  "oklch": {
    "l": 0.54489,
    "c": 0.14995,
    "h": 143.2
  },
  "luminance": 0.17522
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2D852D

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

Preview Lab → · Contrast checker → · Palette generator →

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