#2D8D2A#2D8D2A

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

Color values

HEX#2D8D2A
RGBrgb(45, 141, 42)
HSLhsl(118, 54%, 36%)
HSVhsv(118, 70%, 55%)
CMYKcmyk(68.1%, 0%, 70.2%, 44.7%)
CIE-LABlab(51.58, -47.45, 42.92)
CIE-LCHlch(51.58, 63.98, 137.87°)
OKLaboklab(56.69% -0.129 0.0984)
OKLCHoklch(56.69% 0.162 142.7)
XYZxyz(11.0243, 19.7737, 5.4258)
Luminance0.1978 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D8D2A #8A2A8D
analogous
#5E8D2A #2D8D2A #2A8D58
triadic
#2D8D2A #2A2D8D #8D2A2D
tetradic
#2D8D2A #2A5E8D #8A2A8D #8D582A
square
#2D8D2A #2A5E8D #8A2A8D #8D582A
split-complementary
#2D8D2A #582A8D #8D2A5E
monochromatic
#0F2F0E #1E5E1C #2D8D2A #3CBC38 #65D061

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2D8D2A#FFFFFF#000000##000000
##2D8D2A1.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)
#90801C
Deuteranopia (green-blind)
#857833
Tritanopia (blue-blind)
#178979
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #2d8d2a;
/* rgb */ color: rgb(45, 141, 42);
/* oklch */ color: oklch(56.7% 0.162 142.7);
Tailwind
colors: {
  custom: {
    50: '#74af69',
    500: '#2d8d2a',
    950: '#000000',
  },
}
SCSS
$custom: #2d8d2a;
$custom-light: #74af69;
$custom-dark: #000000;
JSON
{
  "hex": "#2d8d2a",
  "rgb": {
    "r": 45,
    "g": 141,
    "b": 42
  },
  "hsl": {
    "h": 118.182,
    "s": 54.098,
    "l": 35.882
  },
  "oklch": {
    "l": 0.5669,
    "c": 0.16227,
    "h": 142.7
  },
  "luminance": 0.19775
}

Semantic roles & 50–950 ramp

primary
#2D8D2A
secondary
#B35DB6
accent
#4ADDD9
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#091007
muted
#7B7F7A

Preview Lab

Preview with #2D8D2A

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

Preview Lab → · Contrast checker → · Palette generator →

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