#2D7327#2D7327

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

Color values

HEX#2D7327
RGBrgb(45, 115, 39)
HSLhsl(115, 49%, 30%)
HSVhsv(115, 66%, 45%)
CMYKcmyk(60.9%, 0%, 66.1%, 54.9%)
CIE-LABlab(42.71, -37.86, 34.62)
CIE-LCHlch(42.71, 51.30, 137.56°)
OKLaboklab(49.35% -0.1032 0.0805)
OKLCHoklch(49.35% 0.131 142)
XYZxyz(7.5787, 12.9652, 4.0222)
Luminance0.1297 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D7327 #6D2773
analogous
#537327 #2D7327 #277347
triadic
#2D7327 #272D73 #73272D
tetradic
#2D7327 #275373 #6D2773 #734727
square
#2D7327 #275373 #6D2773 #734727
split-complementary
#2D7327 #472773 #732753
monochromatic
#091808 #1B4518 #2D7327 #3FA136 #5AC451

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2D7327#FFFFFF#000000##FFFFFF
##2D73271.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)
#76681E
Deuteranopia (green-blind)
#6D632D
Tritanopia (blue-blind)
#227063
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #2d7327;
/* rgb */ color: rgb(45, 115, 39);
/* oklch */ color: oklch(49.4% 0.131 142.0);
Tailwind
colors: {
  custom: {
    50: '#6e9c64',
    500: '#2d7327',
    950: '#000000',
  },
}
SCSS
$custom: #2d7327;
$custom-light: #6e9c64;
$custom-dark: #000000;
JSON
{
  "hex": "#2d7327",
  "rgb": {
    "r": 45,
    "g": 115,
    "b": 39
  },
  "hsl": {
    "h": 115.263,
    "s": 49.351,
    "l": 30.196
  },
  "oklch": {
    "l": 0.4935,
    "c": 0.13089,
    "h": 142
  },
  "luminance": 0.12966
}

Semantic roles & 50–950 ramp

primary
#2D7327
secondary
#9F50A5
accent
#4FD9CE
background
#F7F9F6
surface
#EDF2EB
border
#C8CCC6
text
#080E06
muted
#7B7E7A

Preview Lab

Preview with #2D7327

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

Preview Lab → · Contrast checker → · Palette generator →

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