#2D8014#2D8014

#2D8014 is a mid, vivid green. Relative luminance 0.160; OKLCH L 52.9% C 0.159 H 139.9°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#2D8014
RGBrgb(45, 128, 20)
HSLhsl(106, 73%, 29%)
HSVhsv(106, 84%, 50%)
CMYKcmyk(64.8%, 0%, 84.4%, 49.8%)
CIE-LABlab(47.03, -44.42, 46.40)
CIE-LCHlch(47.03, 64.23, 133.75°)
OKLaboklab(52.88% -0.122 0.1026)
OKLCHoklch(52.88% 0.159 139.9)
XYZxyz(8.9272, 16.0459, 3.2884)
Luminance0.1605 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D8014 #671480
analogous
#638014 #2D8014 #148031
triadic
#2D8014 #142D80 #80142D
tetradic
#2D8014 #146380 #671480 #803114
square
#2D8014 #146380 #671480 #803114
split-complementary
#2D8014 #311480 #801463
monochromatic
#091A04 #1A4B0C #2D8014 #40B51C #58DF30

Accessibility & contrast

On white

4.99
#2D8014 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#2D8014 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D8014
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D8014#FFFFFF#000000##FFFFFF
##2D80141.004.994.214.99
#FFFFFF4.991.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847400
Deuteranopia (green-blind)
#7A6D22
Tritanopia (blue-blind)
#217C6D
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #2d8014;
/* rgb */ color: rgb(45, 128, 20);
/* oklch */ color: oklch(52.9% 0.159 139.9);
Tailwind
colors: {
  custom: {
    50: '#72a65c',
    500: '#2d8014',
    950: '#000000',
  },
}
SCSS
$custom: #2d8014;
$custom-light: #72a65c;
$custom-dark: #000000;
JSON
{
  "hex": "#2d8014",
  "rgb": {
    "r": 45,
    "g": 128,
    "b": 20
  },
  "hsl": {
    "h": 106.111,
    "s": 72.973,
    "l": 29.02
  },
  "oklch": {
    "l": 0.52881,
    "c": 0.15942,
    "h": 139.9
  },
  "luminance": 0.16047
}

Semantic roles & 50–950 ramp

primary
#2D8014
secondary
#993BB5
accent
#38F0C5
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #2D8014

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

Preview Lab → · Contrast checker → · Palette generator →

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