#2D8D28#2D8D28

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

Color values

HEX#2D8D28
RGBrgb(45, 141, 40)
HSLhsl(117, 56%, 35%)
HSVhsv(117, 72%, 55%)
CMYKcmyk(68.1%, 0%, 71.6%, 44.7%)
CIE-LABlab(51.56, -47.64, 43.73)
CIE-LCHlch(51.56, 64.67, 137.45°)
OKLaboklab(56.67% -0.1296 0.0999)
OKLCHoklch(56.67% 0.164 142.4)
XYZxyz(10.9894, 19.7597, 5.2419)
Luminance0.1976 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D8D28 #88288D
analogous
#5F8D28 #2D8D28 #288D56
triadic
#2D8D28 #282D8D #8D282D
tetradic
#2D8D28 #285F8D #88288D #8D5628
square
#2D8D28 #285F8D #88288D #8D5628
split-complementary
#2D8D28 #56288D #8D285F
monochromatic
#0F2E0D #1E5D1A #2D8D28 #3CBD36 #64D15E

Accessibility & contrast

On white

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

On black

4.95
#2D8D28 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2D8D28
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D8D28#FFFFFF#000000##000000
##2D8D281.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#908018
Deuteranopia (green-blind)
#857832
Tritanopia (blue-blind)
#178979
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #2d8d28;
/* rgb */ color: rgb(45, 141, 40);
/* oklch */ color: oklch(56.7% 0.164 142.4);
Tailwind
colors: {
  custom: {
    50: '#74af68',
    500: '#2d8d28',
    950: '#000000',
  },
}
SCSS
$custom: #2d8d28;
$custom-light: #74af68;
$custom-dark: #000000;
JSON
{
  "hex": "#2d8d28",
  "rgb": {
    "r": 45,
    "g": 141,
    "b": 40
  },
  "hsl": {
    "h": 117.03,
    "s": 55.801,
    "l": 35.49
  },
  "oklch": {
    "l": 0.56672,
    "c": 0.16364,
    "h": 142.4
  },
  "luminance": 0.19761
}

Semantic roles & 50–950 ramp

primary
#2D8D28
secondary
#B25AB7
accent
#49DFD8
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #2D8D28

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

Preview Lab → · Contrast checker → · Palette generator →

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