#2D8330#2D8330

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

Color values

HEX#2D8330
RGBrgb(45, 131, 48)
HSLhsl(122, 49%, 35%)
HSVhsv(122, 66%, 51%)
CMYKcmyk(65.6%, 0%, 63.4%, 48.6%)
CIE-LABlab(48.26, -43.09, 36.58)
CIE-LCHlch(48.26, 56.52, 139.67°)
OKLaboklab(53.97% -0.1169 0.0857)
OKLCHoklch(53.97% 0.145 143.8)
XYZxyz(9.7314, 17.0029, 5.5648)
Luminance0.1700 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D8330 #832D80
analogous
#55832D #2D8330 #2D835B
triadic
#2D8330 #302D83 #83302D
tetradic
#2D8330 #2D5583 #832D80 #835B2D
square
#2D8330 #2D5583 #832D80 #835B2D
split-complementary
#2D8330 #5B2D83 #832D55
monochromatic
#0E280F #1D551F #2D8330 #3DB141 #62C965

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2D8330#FFFFFF#000000##FFFFFF
##2D83301.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)
#867727
Deuteranopia (green-blind)
#7B7037
Tritanopia (blue-blind)
#1A7F71
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #2d8330;
/* rgb */ color: rgb(45, 131, 48);
/* oklch */ color: oklch(54.0% 0.145 143.8);
Tailwind
colors: {
  custom: {
    50: '#71a86c',
    500: '#2d8330',
    950: '#000000',
  },
}
SCSS
$custom: #2d8330;
$custom-light: #71a86c;
$custom-dark: #000000;
JSON
{
  "hex": "#2d8330",
  "rgb": {
    "r": 45,
    "g": 131,
    "b": 48
  },
  "hsl": {
    "h": 122.093,
    "s": 48.864,
    "l": 34.51
  },
  "oklch": {
    "l": 0.53965,
    "c": 0.14491,
    "h": 143.8
  },
  "luminance": 0.17004
}

Semantic roles & 50–950 ramp

primary
#2D8330
secondary
#AF5CAC
accent
#4FD4D8
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081007
muted
#7B7F7A

Preview Lab

Preview with #2D8330

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

Preview Lab → · Contrast checker → · Palette generator →

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