#2D8331#2D8331

#2D8331 is a mid, vivid green. Relative luminance 0.170; OKLCH L 54.0% C 0.144 H 144.0°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#2D8331
RGBrgb(45, 131, 49)
HSLhsl(123, 49%, 35%)
HSVhsv(123, 66%, 51%)
CMYKcmyk(65.6%, 0%, 62.6%, 48.6%)
CIE-LABlab(48.27, -42.97, 36.11)
CIE-LCHlch(48.27, 56.13, 139.95°)
OKLaboklab(53.98% -0.1165 0.0848)
OKLCHoklch(53.98% 0.144 144)
XYZxyz(9.7523, 17.0113, 5.6747)
Luminance0.1701 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D8331 #832D7F
analogous
#54832D #2D8331 #2D835C
triadic
#2D8331 #312D83 #83312D
tetradic
#2D8331 #2D5483 #832D7F #835C2D
square
#2D8331 #2D5483 #832D7F #835C2D
split-complementary
#2D8331 #5C2D83 #832D54
monochromatic
#0E280F #1D5520 #2D8331 #3DB142 #62C966

Accessibility & contrast

On white

4.77
#2D8331 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#2D8331 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D8331
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D8331#FFFFFF#000000##FFFFFF
##2D83311.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#867728
Deuteranopia (green-blind)
#7B7038
Tritanopia (blue-blind)
#1A7F71
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #2d8331;
/* rgb */ color: rgb(45, 131, 49);
/* oklch */ color: oklch(54.0% 0.144 144.0);
Tailwind
colors: {
  custom: {
    50: '#71a86c',
    500: '#2d8331',
    950: '#000000',
  },
}
SCSS
$custom: #2d8331;
$custom-light: #71a86c;
$custom-dark: #000000;
JSON
{
  "hex": "#2d8331",
  "rgb": {
    "r": 45,
    "g": 131,
    "b": 49
  },
  "hsl": {
    "h": 122.791,
    "s": 48.864,
    "l": 34.51
  },
  "oklch": {
    "l": 0.53977,
    "c": 0.14407,
    "h": 144
  },
  "luminance": 0.17012
}

Semantic roles & 50–950 ramp

primary
#2D8331
secondary
#AF5CAB
accent
#4FD2D8
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081007
muted
#7B7F7A

Preview Lab

Preview with #2D8331

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

Preview Lab → · Contrast checker → · Palette generator →

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