#2D8D2E#2D8D2E

#2D8D2E is a mid, vivid green. Relative luminance 0.198; OKLCH L 56.7% C 0.159 H 143.3°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#2D8D2E
RGBrgb(45, 141, 46)
HSLhsl(121, 52%, 36%)
HSVhsv(121, 68%, 55%)
CMYKcmyk(68.1%, 0%, 67.4%, 44.7%)
CIE-LABlab(51.61, -47.05, 41.23)
CIE-LCHlch(51.61, 62.56, 138.77°)
OKLaboklab(56.73% -0.1277 0.0953)
OKLCHoklch(56.73% 0.159 143.3)
XYZxyz(11.0995, 19.8037, 5.8218)
Luminance0.1981 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D8D2E #8D2D8C
analogous
#5C8D2D #2D8D2E #2D8D5E
triadic
#2D8D2E #2E2D8D #8D2E2D
tetradic
#2D8D2E #2D5C8D #8D2D8C #8D5E2D
square
#2D8D2E #2D5C8D #8D2D8C #8D5E2D
split-complementary
#2D8D2E #5E2D8D #8D2D5C
monochromatic
#0F3010 #1E5F1F #2D8D2E #3CBB3D #66CE67

Accessibility & contrast

On white

4.23
#2D8D2E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#2D8D2E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2D8D2E
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D8D2E#FFFFFF#000000##000000
##2D8D2E1.004.234.964.96
#FFFFFF4.231.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#908022
Deuteranopia (green-blind)
#857837
Tritanopia (blue-blind)
#158979
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #2d8d2e;
/* rgb */ color: rgb(45, 141, 46);
/* oklch */ color: oklch(56.7% 0.159 143.3);
Tailwind
colors: {
  custom: {
    50: '#73af6b',
    500: '#2d8d2e',
    950: '#000000',
  },
}
SCSS
$custom: #2d8d2e;
$custom-light: #73af6b;
$custom-dark: #000000;
JSON
{
  "hex": "#2d8d2e",
  "rgb": {
    "r": 45,
    "g": 141,
    "b": 46
  },
  "hsl": {
    "h": 120.625,
    "s": 51.613,
    "l": 36.471
  },
  "oklch": {
    "l": 0.5673,
    "c": 0.15937,
    "h": 143.3
  },
  "luminance": 0.19805
}

Semantic roles & 50–950 ramp

primary
#2D8D2E
secondary
#B561B4
accent
#4DDADB
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#091007
muted
#7B7F7A

Preview Lab

Preview with #2D8D2E

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

Preview Lab → · Contrast checker → · Palette generator →

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