#2D8C2D#2D8C2D

#2D8C2D is a mid, vivid green. Relative luminance 0.195; OKLCH L 56.4% C 0.159 H 143.1°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#2D8C2D
RGBrgb(45, 140, 45)
HSLhsl(120, 51%, 36%)
HSVhsv(120, 68%, 55%)
CMYKcmyk(67.9%, 0%, 67.9%, 45.1%)
CIE-LABlab(51.27, -46.79, 41.30)
CIE-LCHlch(51.27, 62.41, 138.57°)
OKLaboklab(56.44% -0.127 0.0954)
OKLCHoklch(56.44% 0.159 143.1)
XYZxyz(10.9333, 19.5024, 5.6703)
Luminance0.1950 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D8C2D #8C2D8C
analogous
#5D8C2D #2D8C2D #2D8C5D
triadic
#2D8C2D #2D2D8C #8C2D2D
tetradic
#2D8C2D #2D5D8C #8C2D8C #8C5D2D
square
#2D8C2D #2D5D8C #8C2D8C #8C5D2D
split-complementary
#2D8C2D #5D2D8C #8C2D5D
monochromatic
#0F2F0F #1E5E1E #2D8C2D #3CBA3C #66CE66

Accessibility & contrast

On white

4.29
#2D8C2D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#2D8C2D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2D8C2D
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D8C2D#FFFFFF#000000##000000
##2D8C2D1.004.294.904.90
#FFFFFF4.291.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7F21
Deuteranopia (green-blind)
#847736
Tritanopia (blue-blind)
#168878
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #2d8c2d;
/* rgb */ color: rgb(45, 140, 45);
/* oklch */ color: oklch(56.4% 0.159 143.1);
Tailwind
colors: {
  custom: {
    50: '#73af6b',
    500: '#2d8c2d',
    950: '#000000',
  },
}
SCSS
$custom: #2d8c2d;
$custom-light: #73af6b;
$custom-dark: #000000;
JSON
{
  "hex": "#2d8c2d",
  "rgb": {
    "r": 45,
    "g": 140,
    "b": 45
  },
  "hsl": {
    "h": 120,
    "s": 51.351,
    "l": 36.275
  },
  "oklch": {
    "l": 0.56442,
    "c": 0.15886,
    "h": 143.1
  },
  "luminance": 0.19504
}

Semantic roles & 50–950 ramp

primary
#2D8C2D
secondary
#B460B4
accent
#4DDBDB
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091007
muted
#7B7F7A

Preview Lab

Preview with #2D8C2D

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

Preview Lab → · Contrast checker → · Palette generator →

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