#2D852C#2D852C

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

Color values

HEX#2D852C
RGBrgb(45, 133, 44)
HSLhsl(119, 50%, 35%)
HSVhsv(119, 67%, 52%)
CMYKcmyk(66.2%, 0%, 66.9%, 47.8%)
CIE-LABlab(48.90, -44.30, 39.15)
CIE-LCHlch(48.90, 59.12, 138.53°)
OKLaboklab(54.48% -0.1204 0.0907)
OKLCHoklch(54.48% 0.151 143)
XYZxyz(9.9238, 17.5138, 5.2399)
Luminance0.1752 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D852C #842C85
analogous
#5A852C #2D852C #2C8558
triadic
#2D852C #2C2D85 #852C2D
tetradic
#2D852C #2C5A85 #842C85 #85582C
square
#2D852C #2C5A85 #842C85 #85582C
split-complementary
#2D852C #582C85 #852C5A
monochromatic
#0E290E #1D571D #2D852C #3DB33B #62CB61

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2D852C#FFFFFF#000000##FFFFFF
##2D852C1.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)
#887921
Deuteranopia (green-blind)
#7D7134
Tritanopia (blue-blind)
#1A8173
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #2d852c;
/* rgb */ color: rgb(45, 133, 44);
/* oklch */ color: oklch(54.5% 0.151 143.0);
Tailwind
colors: {
  custom: {
    50: '#72a969',
    500: '#2d852c',
    950: '#000000',
  },
}
SCSS
$custom: #2d852c;
$custom-light: #72a969;
$custom-dark: #000000;
JSON
{
  "hex": "#2d852c",
  "rgb": {
    "r": 45,
    "g": 133,
    "b": 44
  },
  "hsl": {
    "h": 119.326,
    "s": 50.282,
    "l": 34.706
  },
  "oklch": {
    "l": 0.54479,
    "c": 0.15073,
    "h": 143
  },
  "luminance": 0.17515
}

Semantic roles & 50–950 ramp

primary
#2D852C
secondary
#B05CB1
accent
#4EDAD8
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #2D852C

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

Preview Lab → · Contrast checker → · Palette generator →

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