#2D7328#2D7328

#2D7328 is a mid, vivid green. Relative luminance 0.130; OKLCH L 49.4% C 0.130 H 142.2°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#2D7328
RGBrgb(45, 115, 40)
HSLhsl(116, 48%, 30%)
HSVhsv(116, 65%, 45%)
CMYKcmyk(60.9%, 0%, 65.2%, 54.9%)
CIE-LABlab(42.72, -37.74, 34.15)
CIE-LCHlch(42.72, 50.90, 137.86°)
OKLaboklab(49.36% -0.1028 0.0796)
OKLCHoklch(49.36% 0.13 142.2)
XYZxyz(7.5955, 12.9719, 4.1106)
Luminance0.1297 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D7328 #6E2873
analogous
#527328 #2D7328 #287348
triadic
#2D7328 #282D73 #73282D
tetradic
#2D7328 #285273 #6E2873 #734828
square
#2D7328 #285273 #6E2873 #734828
split-complementary
#2D7328 #482873 #732852
monochromatic
#091808 #1B4618 #2D7328 #3FA038 #5AC352

Accessibility & contrast

On white

5.84
#2D7328 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#2D7328 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D7328
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D7328#FFFFFF#000000##FFFFFF
##2D73281.005.843.595.84
#FFFFFF5.841.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#76691F
Deuteranopia (green-blind)
#6D632E
Tritanopia (blue-blind)
#227063
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #2d7328;
/* rgb */ color: rgb(45, 115, 40);
/* oklch */ color: oklch(49.4% 0.130 142.2);
Tailwind
colors: {
  custom: {
    50: '#6e9c65',
    500: '#2d7328',
    950: '#000000',
  },
}
SCSS
$custom: #2d7328;
$custom-light: #6e9c65;
$custom-dark: #000000;
JSON
{
  "hex": "#2d7328",
  "rgb": {
    "r": 45,
    "g": 115,
    "b": 40
  },
  "hsl": {
    "h": 116,
    "s": 48.387,
    "l": 30.392
  },
  "oklch": {
    "l": 0.49362,
    "c": 0.13006,
    "h": 142.2
  },
  "luminance": 0.12973
}

Semantic roles & 50–950 ramp

primary
#2D7328
secondary
#A052A5
accent
#50D8CF
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#080E06
muted
#7B7E7A

Preview Lab

Preview with #2D7328

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

Preview Lab → · Contrast checker → · Palette generator →

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