#2D7F14#2D7F14

#2D7F14 is a mid, vivid green. Relative luminance 0.158; OKLCH L 52.6% C 0.158 H 139.9°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#2D7F14
RGBrgb(45, 127, 20)
HSLhsl(106, 73%, 29%)
HSVhsv(106, 84%, 50%)
CMYKcmyk(64.6%, 0%, 84.3%, 50.2%)
CIE-LABlab(46.69, -44.05, 46.08)
CIE-LCHlch(46.69, 63.75, 133.71°)
OKLaboklab(52.6% -0.121 0.1019)
OKLCHoklch(52.6% 0.158 139.9)
XYZxyz(8.7974, 15.7863, 3.2451)
Luminance0.1579 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D7F14 #66147F
analogous
#637F14 #2D7F14 #147F31
triadic
#2D7F14 #142D7F #7F142D
tetradic
#2D7F14 #14637F #66147F #7F3114
square
#2D7F14 #14637F #66147F #7F3114
split-complementary
#2D7F14 #31147F #7F1463
monochromatic
#091A04 #1A4A0C #2D7F14 #40B41C #58DE2F

Accessibility & contrast

On white

5.05
#2D7F14 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#2D7F14 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D7F14
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D7F14#FFFFFF#000000##FFFFFF
##2D7F141.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837300
Deuteranopia (green-blind)
#796C21
Tritanopia (blue-blind)
#217B6C
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #2d7f14;
/* rgb */ color: rgb(45, 127, 20);
/* oklch */ color: oklch(52.6% 0.158 139.9);
Tailwind
colors: {
  custom: {
    50: '#72a55c',
    500: '#2d7f14',
    950: '#000000',
  },
}
SCSS
$custom: #2d7f14;
$custom-light: #72a55c;
$custom-dark: #000000;
JSON
{
  "hex": "#2d7f14",
  "rgb": {
    "r": 45,
    "g": 127,
    "b": 20
  },
  "hsl": {
    "h": 105.981,
    "s": 72.789,
    "l": 28.824
  },
  "oklch": {
    "l": 0.52598,
    "c": 0.15823,
    "h": 139.9
  },
  "luminance": 0.15787
}

Semantic roles & 50–950 ramp

primary
#2D7F14
secondary
#983BB4
accent
#38EFC5
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#090F04
muted
#7B7F79

Preview Lab

Preview with #2D7F14

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

Preview Lab → · Contrast checker → · Palette generator →

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