#2D7E16#2D7E16

#2D7E16 is a mid, vivid green. Relative luminance 0.155; OKLCH L 52.3% C 0.156 H 140.0°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#2D7E16
RGBrgb(45, 126, 22)
HSLhsl(107, 70%, 29%)
HSVhsv(107, 83%, 49%)
CMYKcmyk(64.3%, 0%, 82.5%, 50.6%)
CIE-LABlab(46.36, -43.57, 45.16)
CIE-LCHlch(46.36, 62.75, 133.97°)
OKLaboklab(52.33% -0.1196 0.1003)
OKLCHoklch(52.33% 0.156 140)
XYZxyz(8.6875, 15.5367, 3.3000)
Luminance0.1554 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D7E16 #67167E
analogous
#617E16 #2D7E16 #167E33
triadic
#2D7E16 #162D7E #7E162D
tetradic
#2D7E16 #16617E #67167E #7E3316
square
#2D7E16 #16617E #67167E #7E3316
split-complementary
#2D7E16 #33167E #7E1661
monochromatic
#091A05 #1A4A0D #2D7E16 #40B21F #58DB33

Accessibility & contrast

On white

5.11
#2D7E16 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#2D7E16 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D7E16
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D7E16#FFFFFF#000000##FFFFFF
##2D7E161.005.114.115.11
#FFFFFF5.111.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827200
Deuteranopia (green-blind)
#786B23
Tritanopia (blue-blind)
#217A6B
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #2d7e16;
/* rgb */ color: rgb(45, 126, 22);
/* oklch */ color: oklch(52.3% 0.156 140.0);
Tailwind
colors: {
  custom: {
    50: '#71a45d',
    500: '#2d7e16',
    950: '#000000',
  },
}
SCSS
$custom: #2d7e16;
$custom-light: #71a45d;
$custom-dark: #000000;
JSON
{
  "hex": "#2d7e16",
  "rgb": {
    "r": 45,
    "g": 126,
    "b": 22
  },
  "hsl": {
    "h": 106.731,
    "s": 70.27,
    "l": 29.02
  },
  "oklch": {
    "l": 0.52326,
    "c": 0.15611,
    "h": 140
  },
  "luminance": 0.15538
}

Semantic roles & 50–950 ramp

primary
#2D7E16
secondary
#993DB3
accent
#3BEDC6
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #2D7E16

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

Preview Lab → · Contrast checker → · Palette generator →

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