#2D8D2C#2D8D2C

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

Color values

HEX#2D8D2C
RGBrgb(45, 141, 44)
HSLhsl(119, 52%, 36%)
HSVhsv(119, 69%, 55%)
CMYKcmyk(68.1%, 0%, 68.8%, 44.7%)
CIE-LABlab(51.60, -47.25, 42.09)
CIE-LCHlch(51.60, 63.28, 138.31°)
OKLaboklab(56.71% -0.1284 0.0969)
OKLCHoklch(56.71% 0.161 142.9)
XYZxyz(11.0610, 19.7883, 5.6190)
Luminance0.1979 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D8D2C #8C2C8D
analogous
#5E8D2C #2D8D2C #2C8D5C
triadic
#2D8D2C #2C2D8D #8D2C2D
tetradic
#2D8D2C #2C5E8D #8C2C8D #8D5C2C
square
#2D8D2C #2C5E8D #8C2C8D #8D5C2C
split-complementary
#2D8D2C #5C2C8D #8D2C5E
monochromatic
#0F300F #1E5E1D #2D8D2C #3CBC3B #66CF65

Accessibility & contrast

On white

4.24
#2D8D2C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##2D8D2C#FFFFFF#000000##000000
##2D8D2C1.004.244.964.96
#FFFFFF4.241.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#90801F
Deuteranopia (green-blind)
#857835
Tritanopia (blue-blind)
#168979
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #2d8d2c;
/* rgb */ color: rgb(45, 141, 44);
/* oklch */ color: oklch(56.7% 0.161 142.9);
Tailwind
colors: {
  custom: {
    50: '#74af6a',
    500: '#2d8d2c',
    950: '#000000',
  },
}
SCSS
$custom: #2d8d2c;
$custom-light: #74af6a;
$custom-dark: #000000;
JSON
{
  "hex": "#2d8d2c",
  "rgb": {
    "r": 45,
    "g": 141,
    "b": 44
  },
  "hsl": {
    "h": 119.381,
    "s": 52.432,
    "l": 36.275
  },
  "oklch": {
    "l": 0.5671,
    "c": 0.16084,
    "h": 142.9
  },
  "luminance": 0.19789
}

Semantic roles & 50–950 ramp

primary
#2D8D2C
secondary
#B460B5
accent
#4CDCDA
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#091007
muted
#7B7F7A

Preview Lab

Preview with #2D8D2C

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

Preview Lab → · Contrast checker → · Palette generator →

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