#2D8D15#2D8D15

#2D8D15 is a mid, vivid green. Relative luminance 0.197; OKLCH L 56.5% C 0.174 H 140.5°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#2D8D15
RGBrgb(45, 141, 21)
HSLhsl(108, 74%, 32%)
HSVhsv(108, 85%, 55%)
CMYKcmyk(68.1%, 0%, 85.1%, 44.7%)
CIE-LABlab(51.45, -49.00, 50.15)
CIE-LCHlch(51.45, 70.12, 134.33°)
OKLaboklab(56.54% -0.1343 0.1106)
OKLCHoklch(56.54% 0.174 140.5)
XYZxyz(10.7419, 19.6607, 3.9381)
Luminance0.1966 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D8D15 #75158D
analogous
#698D15 #2D8D15 #158D39
triadic
#2D8D15 #152D8D #8D152D
tetradic
#2D8D15 #15698D #75158D #8D3915
square
#2D8D15 #15698D #75158D #8D3915
split-complementary
#2D8D15 #39158D #8D1569
monochromatic
#0B2205 #1C580D #2D8D15 #3EC21D #5CE23B

Accessibility & contrast

On white

4.26
#2D8D15 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#2D8D15 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2D8D15
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D8D15#FFFFFF#000000##000000
##2D8D151.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#917F00
Deuteranopia (green-blind)
#867825
Tritanopia (blue-blind)
#1B8878
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #2d8d15;
/* rgb */ color: rgb(45, 141, 21);
/* oklch */ color: oklch(56.5% 0.174 140.5);
Tailwind
colors: {
  custom: {
    50: '#75af5f',
    500: '#2d8d15',
    950: '#000000',
  },
}
SCSS
$custom: #2d8d15;
$custom-light: #75af5f;
$custom-dark: #000000;
JSON
{
  "hex": "#2d8d15",
  "rgb": {
    "r": 45,
    "g": 141,
    "b": 21
  },
  "hsl": {
    "h": 108,
    "s": 74.074,
    "l": 31.765
  },
  "oklch": {
    "l": 0.56542,
    "c": 0.17396,
    "h": 140.5
  },
  "luminance": 0.19662
}

Semantic roles & 50–950 ramp

primary
#2D8D15
secondary
#A63DC1
accent
#37F1CC
background
#F7FAF5
surface
#EEF5EA
border
#C9CFC6
text
#091005
muted
#7B7F79

Preview Lab

Preview with #2D8D15

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

Preview Lab → · Contrast checker → · Palette generator →

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