#2D6D18#2D6D18

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

Color values

HEX#2D6D18
RGBrgb(45, 109, 24)
HSLhsl(105, 64%, 26%)
HSVhsv(105, 78%, 43%)
CMYKcmyk(58.7%, 0%, 78%, 57.3%)
CIE-LABlab(40.51, -36.87, 38.81)
CIE-LCHlch(40.51, 53.53, 133.53°)
OKLaboklab(47.49% -0.1015 0.0873)
OKLCHoklch(47.49% 0.134 139.3)
XYZxyz(6.7154, 11.5606, 2.7415)
Luminance0.1156 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D6D18 #58186D
analogous
#576D18 #2D6D18 #186D2D
triadic
#2D6D18 #182D6D #6D182D
tetradic
#2D6D18 #18576D #58186D #6D2D18
square
#2D6D18 #18576D #58186D #6D2D18
split-complementary
#2D6D18 #2D186D #6D1857
monochromatic
#0A1906 #183B0D #2D6D18 #429F23 #57D12E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2D6D18#FFFFFF#000000##FFFFFF
##2D6D181.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)
#706307
Deuteranopia (green-blind)
#685D21
Tritanopia (blue-blind)
#26695D
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #2d6d18;
/* rgb */ color: rgb(45, 109, 24);
/* oklch */ color: oklch(47.5% 0.134 139.3);
Tailwind
colors: {
  custom: {
    50: '#6e975b',
    500: '#2d6d18',
    950: '#000000',
  },
}
SCSS
$custom: #2d6d18;
$custom-light: #6e975b;
$custom-dark: #000000;
JSON
{
  "hex": "#2d6d18",
  "rgb": {
    "r": 45,
    "g": 109,
    "b": 24
  },
  "hsl": {
    "h": 105.176,
    "s": 63.91,
    "l": 26.078
  },
  "oklch": {
    "l": 0.47493,
    "c": 0.13388,
    "h": 139.3
  },
  "luminance": 0.11561
}

Semantic roles & 50–950 ramp

primary
#2D6D18
secondary
#8A3EA3
accent
#41E7BE
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#080D04
muted
#7B7E79

Preview Lab

Preview with #2D6D18

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

Preview Lab → · Contrast checker → · Palette generator →

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