#2D8B2E#2D8B2E

#2D8B2E is a mid, vivid green. Relative luminance 0.192; OKLCH L 56.2% C 0.157 H 143.3°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#2D8B2E
RGBrgb(45, 139, 46)
HSLhsl(121, 51%, 36%)
HSVhsv(121, 68%, 55%)
CMYKcmyk(67.6%, 0%, 66.9%, 45.5%)
CIE-LABlab(50.94, -46.32, 40.49)
CIE-LCHlch(50.94, 61.52, 138.84°)
OKLaboklab(56.17% -0.1257 0.0938)
OKLCHoklch(56.17% 0.157 143.3)
XYZxyz(10.8073, 19.2193, 5.7244)
Luminance0.1922 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D8B2E #8B2D8A
analogous
#5B8B2D #2D8B2E #2D8B5D
triadic
#2D8B2E #2E2D8B #8B2E2D
tetradic
#2D8B2E #2D5B8B #8B2D8A #8B5D2D
square
#2D8B2E #2D5B8B #8B2D8A #8B5D2D
split-complementary
#2D8B2E #5D2D8B #8B2D5B
monochromatic
#0F2F0F #1E5D1F #2D8B2E #3CB93D #65CD66

Accessibility & contrast

On white

4.34
#2D8B2E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#2D8B2E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2D8B2E
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D8B2E#FFFFFF#000000##000000
##2D8B2E1.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7E22
Deuteranopia (green-blind)
#837636
Tritanopia (blue-blind)
#168778
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #2d8b2e;
/* rgb */ color: rgb(45, 139, 46);
/* oklch */ color: oklch(56.2% 0.157 143.3);
Tailwind
colors: {
  custom: {
    50: '#73ae6b',
    500: '#2d8b2e',
    950: '#000000',
  },
}
SCSS
$custom: #2d8b2e;
$custom-light: #73ae6b;
$custom-dark: #000000;
JSON
{
  "hex": "#2d8b2e",
  "rgb": {
    "r": 45,
    "g": 139,
    "b": 46
  },
  "hsl": {
    "h": 120.638,
    "s": 51.087,
    "l": 36.078
  },
  "oklch": {
    "l": 0.56174,
    "c": 0.15684,
    "h": 143.3
  },
  "luminance": 0.1922
}

Semantic roles & 50–950 ramp

primary
#2D8B2E
secondary
#B460B3
accent
#4DD9DB
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091007
muted
#7B7F7A

Preview Lab

Preview with #2D8B2E

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

Preview Lab → · Contrast checker → · Palette generator →

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