#2D7E13#2D7E13

#2D7E13 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.12:1 contrast (WCAG AA passes).

Color values

HEX#2D7E13
RGBrgb(45, 126, 19)
HSLhsl(105, 74%, 28%)
HSVhsv(105, 85%, 49%)
CMYKcmyk(64.3%, 0%, 84.9%, 50.6%)
CIE-LABlab(46.35, -43.74, 46.05)
CIE-LCHlch(46.35, 63.52, 133.52°)
OKLaboklab(52.31% -0.1202 0.1017)
OKLCHoklch(52.31% 0.157 139.8)
XYZxyz(8.6602, 15.5258, 3.1564)
Luminance0.1553 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D7E13 #64137E
analogous
#627E13 #2D7E13 #137E2F
triadic
#2D7E13 #132D7E #7E132D
tetradic
#2D7E13 #13627E #64137E #7E2F13
square
#2D7E13 #13627E #64137E #7E2F13
split-complementary
#2D7E13 #2F137E #7E1362
monochromatic
#091B04 #1A490B #2D7E13 #40B31B #58DF2C

Accessibility & contrast

On white

5.12
#2D7E13 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2D7E13
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D7E13#FFFFFF#000000##FFFFFF
##2D7E131.005.124.115.12
#FFFFFF5.121.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.121.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: #2d7e13;
/* rgb */ color: rgb(45, 126, 19);
/* oklch */ color: oklch(52.3% 0.157 139.8);
Tailwind
colors: {
  custom: {
    50: '#72a45c',
    500: '#2d7e13',
    950: '#000000',
  },
}
SCSS
$custom: #2d7e13;
$custom-light: #72a45c;
$custom-dark: #000000;
JSON
{
  "hex": "#2d7e13",
  "rgb": {
    "r": 45,
    "g": 126,
    "b": 19
  },
  "hsl": {
    "h": 105.421,
    "s": 73.793,
    "l": 28.431
  },
  "oklch": {
    "l": 0.52309,
    "c": 0.15749,
    "h": 139.8
  },
  "luminance": 0.15527
}

Semantic roles & 50–950 ramp

primary
#2D7E13
secondary
#9639B4
accent
#37F0C3
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#090F04
muted
#7B7F79

Preview Lab

Preview with #2D7E13

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

Preview Lab → · Contrast checker → · Palette generator →

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