#2D6C18#2D6C18

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

Color values

HEX#2D6C18
RGBrgb(45, 108, 24)
HSLhsl(105, 64%, 26%)
HSVhsv(105, 78%, 42%)
CMYKcmyk(58.3%, 0%, 77.8%, 57.6%)
CIE-LABlab(40.16, -36.46, 38.46)
CIE-LCHlch(40.16, 53.00, 133.47°)
OKLaboklab(47.21% -0.1004 0.0866)
OKLCHoklch(47.21% 0.133 139.2)
XYZxyz(6.6094, 11.3484, 2.7061)
Luminance0.1135 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D6C18 #57186C
analogous
#576C18 #2D6C18 #186C2D
triadic
#2D6C18 #182D6C #6C182D
tetradic
#2D6C18 #18576C #57186C #6C2D18
square
#2D6C18 #18576C #57186C #6C2D18
split-complementary
#2D6C18 #2D186C #6C1857
monochromatic
#0A1906 #183A0D #2D6C18 #429E23 #57D02E

Accessibility & contrast

On white

6.42
#2D6C18 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2D6C18
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D6C18#FFFFFF#000000##FFFFFF
##2D6C181.006.423.276.42
#FFFFFF6.421.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F6208
Deuteranopia (green-blind)
#675D21
Tritanopia (blue-blind)
#26685C
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #2d6c18;
/* rgb */ color: rgb(45, 108, 24);
/* oklch */ color: oklch(47.2% 0.133 139.2);
Tailwind
colors: {
  custom: {
    50: '#6e975b',
    500: '#2d6c18',
    950: '#000000',
  },
}
SCSS
$custom: #2d6c18;
$custom-light: #6e975b;
$custom-dark: #000000;
JSON
{
  "hex": "#2d6c18",
  "rgb": {
    "r": 45,
    "g": 108,
    "b": 24
  },
  "hsl": {
    "h": 105,
    "s": 63.636,
    "l": 25.882
  },
  "oklch": {
    "l": 0.47206,
    "c": 0.13259,
    "h": 139.2
  },
  "luminance": 0.11349
}

Semantic roles & 50–950 ramp

primary
#2D6C18
secondary
#893EA2
accent
#41E7BD
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#080D04
muted
#7B7E79

Preview Lab

Preview with #2D6C18

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

Preview Lab → · Contrast checker → · Palette generator →

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