#2D8321#2D8321

#2D8321 is a mid, vivid green. Relative luminance 0.169; OKLCH L 53.8% C 0.156 H 141.4°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#2D8321
RGBrgb(45, 131, 33)
HSLhsl(113, 60%, 32%)
HSVhsv(113, 75%, 51%)
CMYKcmyk(65.6%, 0%, 74.8%, 48.6%)
CIE-LABlab(48.13, -44.62, 42.99)
CIE-LCHlch(48.13, 61.96, 136.06°)
OKLaboklab(53.81% -0.1218 0.0974)
OKLCHoklch(53.81% 0.156 141.4)
XYZxyz(9.4725, 16.8994, 4.2013)
Luminance0.1690 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D8321 #772183
analogous
#5E8321 #2D8321 #218346
triadic
#2D8321 #212D83 #83212D
tetradic
#2D8321 #215E83 #772183 #834621
square
#2D8321 #215E83 #772183 #834621
split-complementary
#2D8321 #462183 #83215E
monochromatic
#0B2108 #1C5215 #2D8321 #3EB42D #5DD24C

Accessibility & contrast

On white

4.79
#2D8321 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#2D8321 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D8321
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D8321#FFFFFF#000000##FFFFFF
##2D83211.004.794.384.79
#FFFFFF4.791.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#86770F
Deuteranopia (green-blind)
#7C702B
Tritanopia (blue-blind)
#1E7F70
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #2d8321;
/* rgb */ color: rgb(45, 131, 33);
/* oklch */ color: oklch(53.8% 0.156 141.4);
Tailwind
colors: {
  custom: {
    50: '#72a863',
    500: '#2d8321',
    950: '#000000',
  },
}
SCSS
$custom: #2d8321;
$custom-light: #72a863;
$custom-dark: #000000;
JSON
{
  "hex": "#2d8321",
  "rgb": {
    "r": 45,
    "g": 131,
    "b": 33
  },
  "hsl": {
    "h": 112.653,
    "s": 59.756,
    "l": 32.157
  },
  "oklch": {
    "l": 0.53814,
    "c": 0.15597,
    "h": 141.4
  },
  "luminance": 0.169
}

Semantic roles & 50–950 ramp

primary
#2D8321
secondary
#A84BB5
accent
#45E3D0
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #2D8321

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

Preview Lab → · Contrast checker → · Palette generator →

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