#2D5D15#2D5D15

#2D5D15 is a dark, moderate green. Relative luminance 0.084; OKLCH L 42.9% C 0.114 H 137.3°. Best body text is #FFFFFF at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#2D5D15
RGBrgb(45, 93, 21)
HSLhsl(100, 63%, 22%)
HSVhsv(100, 77%, 36%)
CMYKcmyk(51.6%, 0%, 77.4%, 63.5%)
CIE-LABlab(34.88, -30.35, 34.37)
CIE-LCHlch(34.88, 45.85, 131.45°)
OKLaboklab(42.85% -0.0841 0.0776)
OKLCHoklch(42.85% 0.114 137.3)
XYZxyz(5.1317, 8.4404, 2.0681)
Luminance0.0844 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D5D15 #45155D
analogous
#515D15 #2D5D15 #155D21
triadic
#2D5D15 #152D5D #5D152D
tetradic
#2D5D15 #15515D #45155D #5D2115
square
#2D5D15 #15515D #45155D #5D2115
split-complementary
#2D5D15 #21155D #5D1551
monochromatic
#0C1906 #152B0A #2D5D15 #458F20 #5DC12C

Accessibility & contrast

On white

7.81
#2D5D15 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#2D5D15 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D5D15
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D5D15#FFFFFF#000000##FFFFFF
##2D5D151.007.812.697.81
#FFFFFF7.811.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#605508
Deuteranopia (green-blind)
#5A511C
Tritanopia (blue-blind)
#2A594F
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #2d5d15;
/* rgb */ color: rgb(45, 93, 21);
/* oklch */ color: oklch(42.9% 0.114 137.3);
Tailwind
colors: {
  custom: {
    50: '#6b8b58',
    500: '#2d5d15',
    950: '#000000',
  },
}
SCSS
$custom: #2d5d15;
$custom-light: #6b8b58;
$custom-dark: #000000;
JSON
{
  "hex": "#2d5d15",
  "rgb": {
    "r": 45,
    "g": 93,
    "b": 21
  },
  "hsl": {
    "h": 100,
    "s": 63.158,
    "l": 22.353
  },
  "oklch": {
    "l": 0.42853,
    "c": 0.11442,
    "h": 137.3
  },
  "luminance": 0.08441
}

Semantic roles & 50–950 ramp

primary
#2D5D15
secondary
#763994
accent
#42E6AF
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C03
muted
#7A7D78

Preview Lab

Preview with #2D5D15

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

Preview Lab → · Contrast checker → · Palette generator →

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