#2D8D2B#2D8D2B

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

Color values

HEX#2D8D2B
RGBrgb(45, 141, 43)
HSLhsl(119, 53%, 36%)
HSVhsv(119, 70%, 55%)
CMYKcmyk(68.1%, 0%, 69.5%, 44.7%)
CIE-LABlab(51.59, -47.35, 42.51)
CIE-LCHlch(51.59, 63.63, 138.09°)
OKLaboklab(56.7% -0.1287 0.0977)
OKLCHoklch(56.7% 0.162 142.8)
XYZxyz(11.0425, 19.7809, 5.5212)
Luminance0.1978 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D8D2B #8B2B8D
analogous
#5E8D2B #2D8D2B #2B8D5A
triadic
#2D8D2B #2B2D8D #8D2B2D
tetradic
#2D8D2B #2B5E8D #8B2B8D #8D5A2B
square
#2D8D2B #2B5E8D #8B2B8D #8D5A2B
split-complementary
#2D8D2B #5A2B8D #8D2B5E
monochromatic
#0F2F0E #1E5E1D #2D8D2B #3CBC39 #65CF63

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2D8D2B#FFFFFF#000000##000000
##2D8D2B1.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)
#90801D
Deuteranopia (green-blind)
#857834
Tritanopia (blue-blind)
#168979
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #2d8d2b;
/* rgb */ color: rgb(45, 141, 43);
/* oklch */ color: oklch(56.7% 0.162 142.8);
Tailwind
colors: {
  custom: {
    50: '#74af6a',
    500: '#2d8d2b',
    950: '#000000',
  },
}
SCSS
$custom: #2d8d2b;
$custom-light: #74af6a;
$custom-dark: #000000;
JSON
{
  "hex": "#2d8d2b",
  "rgb": {
    "r": 45,
    "g": 141,
    "b": 43
  },
  "hsl": {
    "h": 118.776,
    "s": 53.261,
    "l": 36.078
  },
  "oklch": {
    "l": 0.567,
    "c": 0.16156,
    "h": 142.8
  },
  "luminance": 0.19782
}

Semantic roles & 50–950 ramp

primary
#2D8D2B
secondary
#B45EB6
accent
#4BDDDA
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#091007
muted
#7B7F7A

Preview Lab

Preview with #2D8D2B

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

Preview Lab → · Contrast checker → · Palette generator →

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