#2D7D14#2D7D14

#2D7D14 is a mid, vivid green. Relative luminance 0.153; OKLCH L 52.0% C 0.156 H 139.8°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#2D7D14
RGBrgb(45, 125, 20)
HSLhsl(106, 72%, 28%)
HSVhsv(106, 84%, 49%)
CMYKcmyk(64%, 0%, 84%, 51%)
CIE-LABlab(46.01, -43.32, 45.45)
CIE-LCHlch(46.01, 62.79, 133.62°)
OKLaboklab(52.03% -0.119 0.1006)
OKLCHoklch(52.03% 0.156 139.8)
XYZxyz(8.5417, 15.2748, 3.1599)
Luminance0.1528 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D7D14 #64147D
analogous
#617D14 #2D7D14 #147D2F
triadic
#2D7D14 #142D7D #7D142D
tetradic
#2D7D14 #14617D #64147D #7D2F14
square
#2D7D14 #14617D #64147D #7D2F14
split-complementary
#2D7D14 #2F147D #7D1461
monochromatic
#091A04 #1A480C #2D7D14 #40B21C #58DE2E

Accessibility & contrast

On white

5.18
#2D7D14 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#2D7D14 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D7D14
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D7D14#FFFFFF#000000##FFFFFF
##2D7D141.005.184.065.18
#FFFFFF5.181.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817100
Deuteranopia (green-blind)
#776B21
Tritanopia (blue-blind)
#22796A
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #2d7d14;
/* rgb */ color: rgb(45, 125, 20);
/* oklch */ color: oklch(52.0% 0.156 139.8);
Tailwind
colors: {
  custom: {
    50: '#71a35c',
    500: '#2d7d14',
    950: '#000000',
  },
}
SCSS
$custom: #2d7d14;
$custom-light: #71a35c;
$custom-dark: #000000;
JSON
{
  "hex": "#2d7d14",
  "rgb": {
    "r": 45,
    "g": 125,
    "b": 20
  },
  "hsl": {
    "h": 105.714,
    "s": 72.414,
    "l": 28.431
  },
  "oklch": {
    "l": 0.52031,
    "c": 0.15586,
    "h": 139.8
  },
  "luminance": 0.15276
}

Semantic roles & 50–950 ramp

primary
#2D7D14
secondary
#963AB2
accent
#39EFC4
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#090F04
muted
#7B7F79

Preview Lab

Preview with #2D7D14

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

Preview Lab → · Contrast checker → · Palette generator →

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