#2D6C15#2D6C15

#2D6C15 is a mid, vivid green. Relative luminance 0.113; OKLCH L 47.2% C 0.134 H 138.8°. Best body text is #FFFFFF at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#2D6C15
RGBrgb(45, 108, 21)
HSLhsl(103, 67%, 25%)
HSVhsv(103, 81%, 42%)
CMYKcmyk(58.3%, 0%, 80.6%, 57.6%)
CIE-LABlab(40.14, -36.69, 39.57)
CIE-LCHlch(40.14, 53.96, 132.84°)
OKLaboklab(47.18% -0.1012 0.0885)
OKLCHoklch(47.18% 0.134 138.8)
XYZxyz(6.5799, 11.3366, 2.5508)
Luminance0.1134 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D6C15 #54156C
analogous
#596C15 #2D6C15 #156C28
triadic
#2D6C15 #152D6C #6C152D
tetradic
#2D6C15 #15596C #54156C #6C2815
square
#2D6C15 #15596C #54156C #6C2815
split-complementary
#2D6C15 #28156C #6C1559
monochromatic
#0B1A05 #18390B #2D6C15 #429F1F #58D229

Accessibility & contrast

On white

6.43
#2D6C15 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#2D6C15 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D6C15
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D6C15#FFFFFF#000000##FFFFFF
##2D6C151.006.433.276.43
#FFFFFF6.431.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F6202
Deuteranopia (green-blind)
#675D1F
Tritanopia (blue-blind)
#27685C
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #2d6c15;
/* rgb */ color: rgb(45, 108, 21);
/* oklch */ color: oklch(47.2% 0.134 138.8);
Tailwind
colors: {
  custom: {
    50: '#6e975a',
    500: '#2d6c15',
    950: '#000000',
  },
}
SCSS
$custom: #2d6c15;
$custom-light: #6e975a;
$custom-dark: #000000;
JSON
{
  "hex": "#2d6c15",
  "rgb": {
    "r": 45,
    "g": 108,
    "b": 21
  },
  "hsl": {
    "h": 103.448,
    "s": 67.442,
    "l": 25.294
  },
  "oklch": {
    "l": 0.47184,
    "c": 0.13439,
    "h": 138.8
  },
  "luminance": 0.11337
}

Semantic roles & 50–950 ramp

primary
#2D6C15
secondary
#863AA3
accent
#3DEABB
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#080D04
muted
#7B7E79

Preview Lab

Preview with #2D6C15

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

Preview Lab → · Contrast checker → · Palette generator →

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