#2D6D15#2D6D15

#2D6D15 is a mid, vivid green. Relative luminance 0.115; OKLCH L 47.5% C 0.136 H 138.9°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#2D6D15
RGBrgb(45, 109, 21)
HSLhsl(104, 68%, 25%)
HSVhsv(104, 81%, 43%)
CMYKcmyk(58.7%, 0%, 80.7%, 57.3%)
CIE-LABlab(40.49, -37.09, 39.91)
CIE-LCHlch(40.49, 54.48, 132.91°)
OKLaboklab(47.47% -0.1023 0.0892)
OKLCHoklch(47.47% 0.136 138.9)
XYZxyz(6.6859, 11.5488, 2.5861)
Luminance0.1155 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D6D15 #55156D
analogous
#596D15 #2D6D15 #156D29
triadic
#2D6D15 #152D6D #6D152D
tetradic
#2D6D15 #15596D #55156D #6D2915
square
#2D6D15 #15596D #55156D #6D2915
split-complementary
#2D6D15 #29156D #6D1559
monochromatic
#0B1A05 #183A0B #2D6D15 #42A01F #57D429

Accessibility & contrast

On white

6.34
#2D6D15 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#2D6D15 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D6D15
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D6D15#FFFFFF#000000##FFFFFF
##2D6D151.006.343.316.34
#FFFFFF6.341.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#706301
Deuteranopia (green-blind)
#685D1F
Tritanopia (blue-blind)
#27695C
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #2d6d15;
/* rgb */ color: rgb(45, 109, 21);
/* oklch */ color: oklch(47.5% 0.136 138.9);
Tailwind
colors: {
  custom: {
    50: '#6e975a',
    500: '#2d6d15',
    950: '#000000',
  },
}
SCSS
$custom: #2d6d15;
$custom-light: #6e975a;
$custom-dark: #000000;
JSON
{
  "hex": "#2d6d15",
  "rgb": {
    "r": 45,
    "g": 109,
    "b": 21
  },
  "hsl": {
    "h": 103.636,
    "s": 67.692,
    "l": 25.49
  },
  "oklch": {
    "l": 0.47471,
    "c": 0.13568,
    "h": 138.9
  },
  "luminance": 0.11549
}

Semantic roles & 50–950 ramp

primary
#2D6D15
secondary
#873AA3
accent
#3DEBBB
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#080D04
muted
#7B7E79

Preview Lab

Preview with #2D6D15

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

Preview Lab → · Contrast checker → · Palette generator →

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