#2D7115#2D7115

#2D7115 is a mid, vivid green. Relative luminance 0.124; OKLCH L 48.6% C 0.141 H 139.2°. Best body text is #FFFFFF at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#2D7115
RGBrgb(45, 113, 21)
HSLhsl(104, 69%, 26%)
HSVhsv(104, 81%, 44%)
CMYKcmyk(60.2%, 0%, 81.4%, 55.7%)
CIE-LABlab(41.88, -38.68, 41.24)
CIE-LCHlch(41.88, 56.54, 133.16°)
OKLaboklab(48.62% -0.1065 0.092)
OKLCHoklch(48.62% 0.141 139.2)
XYZxyz(7.1224, 12.4217, 2.7316)
Luminance0.1242 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D7115 #591571
analogous
#5B7115 #2D7115 #15712B
triadic
#2D7115 #152D71 #71152D
tetradic
#2D7115 #155B71 #591571 #712B15
square
#2D7115 #155B71 #591571 #712B15
split-complementary
#2D7115 #2B1571 #71155B
monochromatic
#0A1A05 #183D0B #2D7115 #42A51F #57D729

Accessibility & contrast

On white

6.03
#2D7115 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#2D7115 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D7115
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D7115#FFFFFF#000000##FFFFFF
##2D71151.006.033.486.03
#FFFFFF6.031.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756600
Deuteranopia (green-blind)
#6C611F
Tritanopia (blue-blind)
#256D60
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #2d7115;
/* rgb */ color: rgb(45, 113, 21);
/* oklch */ color: oklch(48.6% 0.141 139.2);
Tailwind
colors: {
  custom: {
    50: '#6f9a5b',
    500: '#2d7115',
    950: '#000000',
  },
}
SCSS
$custom: #2d7115;
$custom-light: #6f9a5b;
$custom-dark: #000000;
JSON
{
  "hex": "#2d7115",
  "rgb": {
    "r": 45,
    "g": 113,
    "b": 21
  },
  "hsl": {
    "h": 104.348,
    "s": 68.657,
    "l": 26.275
  },
  "oklch": {
    "l": 0.48618,
    "c": 0.14073,
    "h": 139.2
  },
  "luminance": 0.12422
}

Semantic roles & 50–950 ramp

primary
#2D7115
secondary
#8B3BA7
accent
#3CEBBE
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #2D7115

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

Preview Lab → · Contrast checker → · Palette generator →

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