#2D852E#2D852E

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

Color values

HEX#2D852E
RGBrgb(45, 133, 46)
HSLhsl(121, 49%, 35%)
HSVhsv(121, 66%, 52%)
CMYKcmyk(66.2%, 0%, 65.4%, 47.8%)
CIE-LABlab(48.92, -44.08, 38.26)
CIE-LCHlch(48.92, 58.37, 139.05°)
OKLaboklab(54.5% -0.1197 0.089)
OKLCHoklch(54.5% 0.149 143.3)
XYZxyz(9.9623, 17.5292, 5.4427)
Luminance0.1753 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D852E #852D84
analogous
#58852D #2D852E #2D855A
triadic
#2D852E #2E2D85 #852E2D
tetradic
#2D852E #2D5885 #852D84 #855A2D
square
#2D852E #2D5885 #852D84 #855A2D
split-complementary
#2D852E #5A2D85 #852D58
monochromatic
#0E2A0E #1E571E #2D852E #3CB33E #62CA64

Accessibility & contrast

On white

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

On black

4.51
#2D852E on #000000
AA ✓AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2D852E#FFFFFF#000000##FFFFFF
##2D852E1.004.664.514.66
#FFFFFF4.661.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2d852e;
/* rgb */ color: rgb(45, 133, 46);
/* oklch */ color: oklch(54.5% 0.149 143.3);
Tailwind
colors: {
  custom: {
    50: '#72a96a',
    500: '#2d852e',
    950: '#000000',
  },
}
SCSS
$custom: #2d852e;
$custom-light: #72a96a;
$custom-dark: #000000;
JSON
{
  "hex": "#2d852e",
  "rgb": {
    "r": 45,
    "g": 133,
    "b": 46
  },
  "hsl": {
    "h": 120.682,
    "s": 49.438,
    "l": 34.902
  },
  "oklch": {
    "l": 0.54501,
    "c": 0.14916,
    "h": 143.3
  },
  "luminance": 0.1753
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2D852E

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

Preview Lab → · Contrast checker → · Palette generator →

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