#2D7E15#2D7E15

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

Color values

HEX#2D7E15
RGBrgb(45, 126, 21)
HSLhsl(106, 71%, 29%)
HSVhsv(106, 83%, 49%)
CMYKcmyk(64.3%, 0%, 83.3%, 50.6%)
CIE-LABlab(46.36, -43.63, 45.47)
CIE-LCHlch(46.36, 63.01, 133.82°)
OKLaboklab(52.32% -0.1198 0.1008)
OKLCHoklch(52.32% 0.157 139.9)
XYZxyz(8.6780, 15.5329, 3.2502)
Luminance0.1553 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D7E15 #66157E
analogous
#627E15 #2D7E15 #157E32
triadic
#2D7E15 #152D7E #7E152D
tetradic
#2D7E15 #15627E #66157E #7E3215
square
#2D7E15 #15627E #66157E #7E3215
split-complementary
#2D7E15 #32157E #7E1562
monochromatic
#091A04 #1A4A0C #2D7E15 #40B21E #58DD31

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2D7E15#FFFFFF#000000##FFFFFF
##2D7E151.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)
#786B22
Tritanopia (blue-blind)
#217A6B
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #2d7e15;
/* rgb */ color: rgb(45, 126, 21);
/* oklch */ color: oklch(52.3% 0.157 139.9);
Tailwind
colors: {
  custom: {
    50: '#71a45d',
    500: '#2d7e15',
    950: '#000000',
  },
}
SCSS
$custom: #2d7e15;
$custom-light: #71a45d;
$custom-dark: #000000;
JSON
{
  "hex": "#2d7e15",
  "rgb": {
    "r": 45,
    "g": 126,
    "b": 21
  },
  "hsl": {
    "h": 106.286,
    "s": 71.429,
    "l": 28.824
  },
  "oklch": {
    "l": 0.5232,
    "c": 0.15659,
    "h": 139.9
  },
  "luminance": 0.15534
}

Semantic roles & 50–950 ramp

primary
#2D7E15
secondary
#983CB3
accent
#3AEEC5
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #2D7E15

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

Preview Lab → · Contrast checker → · Palette generator →

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