#2D7A16#2D7A16

#2D7A16 is a mid, vivid green. Relative luminance 0.145; OKLCH L 51.2% C 0.151 H 139.8°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#2D7A16
RGBrgb(45, 122, 22)
HSLhsl(106, 69%, 28%)
HSVhsv(106, 82%, 48%)
CMYKcmyk(63.1%, 0%, 82%, 52.2%)
CIE-LABlab(44.99, -42.08, 43.87)
CIE-LCHlch(44.99, 60.78, 133.80°)
OKLaboklab(51.19% -0.1156 0.0976)
OKLCHoklch(51.19% 0.151 139.8)
XYZxyz(8.1862, 14.5341, 3.1329)
Luminance0.1454 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D7A16 #63167A
analogous
#5F7A16 #2D7A16 #167A31
triadic
#2D7A16 #162D7A #7A162D
tetradic
#2D7A16 #165F7A #63167A #7A3116
square
#2D7A16 #165F7A #63167A #7A3116
split-complementary
#2D7A16 #31167A #7A165F
monochromatic
#0A1A05 #1A460D #2D7A16 #40AE1F #58DA31

Accessibility & contrast

On white

5.37
#2D7A16 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#2D7A16 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D7A16
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D7A16#FFFFFF#000000##FFFFFF
##2D7A161.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E6E00
Deuteranopia (green-blind)
#746822
Tritanopia (blue-blind)
#237668
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #2d7a16;
/* rgb */ color: rgb(45, 122, 22);
/* oklch */ color: oklch(51.2% 0.151 139.8);
Tailwind
colors: {
  custom: {
    50: '#71a15c',
    500: '#2d7a16',
    950: '#000000',
  },
}
SCSS
$custom: #2d7a16;
$custom-light: #71a15c;
$custom-dark: #000000;
JSON
{
  "hex": "#2d7a16",
  "rgb": {
    "r": 45,
    "g": 122,
    "b": 22
  },
  "hsl": {
    "h": 106.2,
    "s": 69.444,
    "l": 28.235
  },
  "oklch": {
    "l": 0.51191,
    "c": 0.1513,
    "h": 139.8
  },
  "luminance": 0.14535
}

Semantic roles & 50–950 ramp

primary
#2D7A16
secondary
#953DAF
accent
#3CECC4
background
#F7FAF5
surface
#EDF3E9
border
#C8CDC5
text
#080F04
muted
#7B7F79

Preview Lab

Preview with #2D7A16

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

Preview Lab → · Contrast checker → · Palette generator →

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