#2D8115#2D8115

#2D8115 is a mid, vivid green. Relative luminance 0.163; OKLCH L 53.2% C 0.160 H 140.1°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#2D8115
RGBrgb(45, 129, 21)
HSLhsl(107, 72%, 29%)
HSVhsv(107, 84%, 51%)
CMYKcmyk(65.1%, 0%, 83.7%, 49.4%)
CIE-LABlab(47.38, -44.73, 46.42)
CIE-LCHlch(47.38, 64.46, 133.94°)
OKLaboklab(53.17% -0.1228 0.1028)
OKLCHoklch(53.17% 0.16 140.1)
XYZxyz(9.0674, 16.3117, 3.3799)
Luminance0.1631 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D8115 #691581
analogous
#638115 #2D8115 #158133
triadic
#2D8115 #152D81 #81152D
tetradic
#2D8115 #156381 #691581 #813315
square
#2D8115 #156381 #691581 #813315
split-complementary
#2D8115 #331581 #811563
monochromatic
#091A04 #1B4C0C #2D8115 #3FB61E #59DE33

Accessibility & contrast

On white

4.93
#2D8115 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#2D8115 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D8115
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D8115#FFFFFF#000000##FFFFFF
##2D81151.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#857500
Deuteranopia (green-blind)
#7B6E22
Tritanopia (blue-blind)
#207D6D
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #2d8115;
/* rgb */ color: rgb(45, 129, 21);
/* oklch */ color: oklch(53.2% 0.160 140.1);
Tailwind
colors: {
  custom: {
    50: '#72a65d',
    500: '#2d8115',
    950: '#000000',
  },
}
SCSS
$custom: #2d8115;
$custom-light: #72a65d;
$custom-dark: #000000;
JSON
{
  "hex": "#2d8115",
  "rgb": {
    "r": 45,
    "g": 129,
    "b": 21
  },
  "hsl": {
    "h": 106.667,
    "s": 72,
    "l": 29.412
  },
  "oklch": {
    "l": 0.53169,
    "c": 0.16014,
    "h": 140.1
  },
  "luminance": 0.16313
}

Semantic roles & 50–950 ramp

primary
#2D8115
secondary
#9B3CB6
accent
#39EFC6
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #2D8115

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

Preview Lab → · Contrast checker → · Palette generator →

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