#2D7E14#2D7E14

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

Color values

HEX#2D7E14
RGBrgb(45, 126, 20)
HSLhsl(106, 73%, 29%)
HSVhsv(106, 84%, 49%)
CMYKcmyk(64.3%, 0%, 84.1%, 50.6%)
CIE-LABlab(46.35, -43.69, 45.77)
CIE-LCHlch(46.35, 63.27, 133.67°)
OKLaboklab(52.32% -0.12 0.1013)
OKLCHoklch(52.32% 0.157 139.8)
XYZxyz(8.6689, 15.5293, 3.2023)
Luminance0.1553 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D7E14 #65147E
analogous
#627E14 #2D7E14 #147E30
triadic
#2D7E14 #142D7E #7E142D
tetradic
#2D7E14 #14627E #65147E #7E3014
square
#2D7E14 #14627E #65147E #7E3014
split-complementary
#2D7E14 #30147E #7E1462
monochromatic
#091A04 #1A490C #2D7E14 #40B31C #58DE2E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2D7E14#FFFFFF#000000##FFFFFF
##2D7E141.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)
#786B21
Tritanopia (blue-blind)
#227A6B
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #2d7e14;
/* rgb */ color: rgb(45, 126, 20);
/* oklch */ color: oklch(52.3% 0.157 139.8);
Tailwind
colors: {
  custom: {
    50: '#72a45c',
    500: '#2d7e14',
    950: '#000000',
  },
}
SCSS
$custom: #2d7e14;
$custom-light: #72a45c;
$custom-dark: #000000;
JSON
{
  "hex": "#2d7e14",
  "rgb": {
    "r": 45,
    "g": 126,
    "b": 20
  },
  "hsl": {
    "h": 105.849,
    "s": 72.603,
    "l": 28.627
  },
  "oklch": {
    "l": 0.52315,
    "c": 0.15705,
    "h": 139.8
  },
  "luminance": 0.1553
}

Semantic roles & 50–950 ramp

primary
#2D7E14
secondary
#973AB3
accent
#38EFC4
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#090F04
muted
#7B7F79

Preview Lab

Preview with #2D7E14

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

Preview Lab → · Contrast checker → · Palette generator →

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