#2D7628#2D7628

#2D7628 is a mid, vivid green. Relative luminance 0.137; OKLCH L 50.2% C 0.134 H 142.3°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#2D7628
RGBrgb(45, 118, 40)
HSLhsl(116, 49%, 31%)
HSVhsv(116, 66%, 46%)
CMYKcmyk(61.9%, 0%, 66.1%, 53.7%)
CIE-LABlab(43.75, -38.95, 35.30)
CIE-LCHlch(43.75, 52.57, 137.81°)
OKLaboklab(50.21% -0.1061 0.0821)
OKLCHoklch(50.21% 0.134 142.3)
XYZxyz(7.9432, 13.6672, 4.2265)
Luminance0.1367 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D7628 #712876
analogous
#547628 #2D7628 #28764A
triadic
#2D7628 #282D76 #76282D
tetradic
#2D7628 #285476 #712876 #764A28
square
#2D7628 #285476 #712876 #764A28
split-complementary
#2D7628 #4A2876 #762854
monochromatic
#0A1B09 #1C4819 #2D7628 #3EA437 #5BC554

Accessibility & contrast

On white

5.62
#2D7628 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#2D7628 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D7628
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D7628#FFFFFF#000000##FFFFFF
##2D76281.005.623.735.62
#FFFFFF5.621.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796B1F
Deuteranopia (green-blind)
#70652F
Tritanopia (blue-blind)
#217266
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #2d7628;
/* rgb */ color: rgb(45, 118, 40);
/* oklch */ color: oklch(50.2% 0.134 142.3);
Tailwind
colors: {
  custom: {
    50: '#6f9e65',
    500: '#2d7628',
    950: '#000000',
  },
}
SCSS
$custom: #2d7628;
$custom-light: #6f9e65;
$custom-dark: #000000;
JSON
{
  "hex": "#2d7628",
  "rgb": {
    "r": 45,
    "g": 118,
    "b": 40
  },
  "hsl": {
    "h": 116.154,
    "s": 49.367,
    "l": 30.98
  },
  "oklch": {
    "l": 0.50212,
    "c": 0.13414,
    "h": 142.3
  },
  "luminance": 0.13668
}

Semantic roles & 50–950 ramp

primary
#2D7628
secondary
#A352A8
accent
#4FD9D0
background
#F7F9F6
surface
#EDF2EB
border
#C8CCC6
text
#080E06
muted
#7B7E7A

Preview Lab

Preview with #2D7628

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

Preview Lab → · Contrast checker → · Palette generator →

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