#2D8328#2D8328

#2D8328 is a mid, vivid green. Relative luminance 0.169; OKLCH L 53.9% C 0.151 H 142.3°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#2D8328
RGBrgb(45, 131, 40)
HSLhsl(117, 53%, 34%)
HSVhsv(117, 69%, 51%)
CMYKcmyk(65.6%, 0%, 69.5%, 48.6%)
CIE-LABlab(48.19, -43.97, 40.15)
CIE-LCHlch(48.19, 59.55, 137.60°)
OKLaboklab(53.88% -0.1197 0.0924)
OKLCHoklch(53.88% 0.151 142.3)
XYZxyz(9.5810, 16.9427, 4.7724)
Luminance0.1694 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D8328 #7E2883
analogous
#5A8328 #2D8328 #288350
triadic
#2D8328 #282D83 #83282D
tetradic
#2D8328 #285A83 #7E2883 #835028
square
#2D8328 #285A83 #7E2883 #835028
split-complementary
#2D8328 #502883 #83285A
monochromatic
#0D250B #1D541A #2D8328 #3DB236 #5FCC59

Accessibility & contrast

On white

4.78
#2D8328 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#2D8328 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D8328
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D8328#FFFFFF#000000##FFFFFF
##2D83281.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#86771C
Deuteranopia (green-blind)
#7C7030
Tritanopia (blue-blind)
#1C7F70
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #2d8328;
/* rgb */ color: rgb(45, 131, 40);
/* oklch */ color: oklch(53.9% 0.151 142.3);
Tailwind
colors: {
  custom: {
    50: '#72a867',
    500: '#2d8328',
    950: '#000000',
  },
}
SCSS
$custom: #2d8328;
$custom-light: #72a867;
$custom-dark: #000000;
JSON
{
  "hex": "#2d8328",
  "rgb": {
    "r": 45,
    "g": 131,
    "b": 40
  },
  "hsl": {
    "h": 116.703,
    "s": 53.216,
    "l": 33.529
  },
  "oklch": {
    "l": 0.53877,
    "c": 0.15118,
    "h": 142.3
  },
  "luminance": 0.16944
}

Semantic roles & 50–950 ramp

primary
#2D8328
secondary
#AC55B1
accent
#4BDDD5
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #2D8328

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

Preview Lab → · Contrast checker → · Palette generator →

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