#2D7916#2D7916

#2D7916 is a mid, vivid green. Relative luminance 0.143; OKLCH L 50.9% C 0.150 H 139.8°. Best body text is #FFFFFF at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#2D7916
RGBrgb(45, 121, 22)
HSLhsl(106, 69%, 28%)
HSVhsv(106, 82%, 47%)
CMYKcmyk(62.8%, 0%, 81.8%, 52.5%)
CIE-LABlab(44.65, -41.70, 43.54)
CIE-LCHlch(44.65, 60.29, 133.76°)
OKLaboklab(50.91% -0.1146 0.0969)
OKLCHoklch(50.91% 0.15 139.8)
XYZxyz(8.0640, 14.2898, 3.0922)
Luminance0.1429 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D7916 #621679
analogous
#5E7916 #2D7916 #167931
triadic
#2D7916 #162D79 #79162D
tetradic
#2D7916 #165E79 #621679 #793116
square
#2D7916 #165E79 #621679 #793116
split-complementary
#2D7916 #311679 #79165E
monochromatic
#0A1A05 #1A450D #2D7916 #40AD1F #57D930

Accessibility & contrast

On white

5.44
#2D7916 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#2D7916 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D7916
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D7916#FFFFFF#000000##FFFFFF
##2D79161.005.443.865.44
#FFFFFF5.441.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6D00
Deuteranopia (green-blind)
#736722
Tritanopia (blue-blind)
#237567
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #2d7916;
/* rgb */ color: rgb(45, 121, 22);
/* oklch */ color: oklch(50.9% 0.150 139.8);
Tailwind
colors: {
  custom: {
    50: '#70a05c',
    500: '#2d7916',
    950: '#000000',
  },
}
SCSS
$custom: #2d7916;
$custom-light: #70a05c;
$custom-dark: #000000;
JSON
{
  "hex": "#2d7916",
  "rgb": {
    "r": 45,
    "g": 121,
    "b": 22
  },
  "hsl": {
    "h": 106.061,
    "s": 69.231,
    "l": 28.039
  },
  "oklch": {
    "l": 0.50907,
    "c": 0.15009,
    "h": 139.8
  },
  "luminance": 0.14291
}

Semantic roles & 50–950 ramp

primary
#2D7916
secondary
#943DAE
accent
#3CECC3
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080F04
muted
#7B7E79

Preview Lab

Preview with #2D7916

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

Preview Lab → · Contrast checker → · Palette generator →

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