#2D6E18#2D6E18

#2D6E18 is a mid, vivid green. Relative luminance 0.118; OKLCH L 47.8% C 0.135 H 139.3°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#2D6E18
RGBrgb(45, 110, 24)
HSLhsl(105, 64%, 26%)
HSVhsv(105, 78%, 43%)
CMYKcmyk(59.1%, 0%, 78.2%, 56.9%)
CIE-LABlab(40.86, -37.27, 39.16)
CIE-LCHlch(40.86, 54.06, 133.59°)
OKLaboklab(47.78% -0.1026 0.0881)
OKLCHoklch(47.78% 0.135 139.3)
XYZxyz(6.8227, 11.7751, 2.7773)
Luminance0.1178 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D6E18 #59186E
analogous
#586E18 #2D6E18 #186E2E
triadic
#2D6E18 #182D6E #6E182D
tetradic
#2D6E18 #18586E #59186E #6E2E18
square
#2D6E18 #18586E #59186E #6E2E18
split-complementary
#2D6E18 #2E186E #6E1858
monochromatic
#0A1905 #183C0D #2D6E18 #42A023 #57D22F

Accessibility & contrast

On white

6.26
#2D6E18 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#2D6E18 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D6E18
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D6E18#FFFFFF#000000##FFFFFF
##2D6E181.006.263.366.26
#FFFFFF6.261.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#716407
Deuteranopia (green-blind)
#695E21
Tritanopia (blue-blind)
#266A5E
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #2d6e18;
/* rgb */ color: rgb(45, 110, 24);
/* oklch */ color: oklch(47.8% 0.135 139.3);
Tailwind
colors: {
  custom: {
    50: '#6e985c',
    500: '#2d6e18',
    950: '#000000',
  },
}
SCSS
$custom: #2d6e18;
$custom-light: #6e985c;
$custom-dark: #000000;
JSON
{
  "hex": "#2d6e18",
  "rgb": {
    "r": 45,
    "g": 110,
    "b": 24
  },
  "hsl": {
    "h": 105.349,
    "s": 64.179,
    "l": 26.275
  },
  "oklch": {
    "l": 0.4778,
    "c": 0.13518,
    "h": 139.3
  },
  "luminance": 0.11776
}

Semantic roles & 50–950 ramp

primary
#2D6E18
secondary
#8B3EA4
accent
#41E7BF
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#080E04
muted
#7A7E79

Preview Lab

Preview with #2D6E18

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

Preview Lab → · Contrast checker → · Palette generator →

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