#2D8D1E#2D8D1E

#2D8D1E is a mid, vivid green. Relative luminance 0.197; OKLCH L 56.6% C 0.170 H 141.3°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#2D8D1E
RGBrgb(45, 141, 30)
HSLhsl(112, 65%, 34%)
HSVhsv(112, 79%, 55%)
CMYKcmyk(68.1%, 0%, 78.7%, 44.7%)
CIE-LABlab(51.50, -48.45, 47.43)
CIE-LCHlch(51.50, 67.81, 135.61°)
OKLaboklab(56.59% -0.1324 0.1062)
OKLCHoklch(56.59% 0.17 141.3)
XYZxyz(10.8408, 19.7003, 4.4593)
Luminance0.1970 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D8D1E #7E1E8D
analogous
#648D1E #2D8D1E #1E8D46
triadic
#2D8D1E #1E2D8D #8D1E2D
tetradic
#2D8D1E #1E648D #7E1E8D #8D461E
square
#2D8D1E #1E648D #7E1E8D #8D461E
split-complementary
#2D8D1E #461E8D #8D1E64
monochromatic
#0D2809 #1D5B13 #2D8D1E #3DBF29 #5FD94C

Accessibility & contrast

On white

4.25
#2D8D1E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#2D8D1E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2D8D1E
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D8D1E#FFFFFF#000000##000000
##2D8D1E1.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#917F02
Deuteranopia (green-blind)
#85782B
Tritanopia (blue-blind)
#1A8878
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #2d8d1e;
/* rgb */ color: rgb(45, 141, 30);
/* oklch */ color: oklch(56.6% 0.170 141.3);
Tailwind
colors: {
  custom: {
    50: '#74af63',
    500: '#2d8d1e',
    950: '#000000',
  },
}
SCSS
$custom: #2d8d1e;
$custom-light: #74af63;
$custom-dark: #000000;
JSON
{
  "hex": "#2d8d1e",
  "rgb": {
    "r": 45,
    "g": 141,
    "b": 30
  },
  "hsl": {
    "h": 111.892,
    "s": 64.912,
    "l": 33.529
  },
  "oklch": {
    "l": 0.56594,
    "c": 0.16971,
    "h": 141.3
  },
  "luminance": 0.19701
}

Semantic roles & 50–950 ramp

primary
#2D8D1E
secondary
#AC4BBC
accent
#40E8D1
background
#F7FAF6
surface
#EEF5EB
border
#C9CFC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #2D8D1E

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

Preview Lab → · Contrast checker → · Palette generator →

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