#2C6F18#2C6F18

#2C6F18 is a mid, vivid green. Relative luminance 0.120; OKLCH L 48.0% C 0.137 H 139.6°. Best body text is #FFFFFF at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#2C6F18
RGBrgb(44, 111, 24)
HSLhsl(106, 64%, 26%)
HSVhsv(106, 78%, 44%)
CMYKcmyk(60.4%, 0%, 78.4%, 56.5%)
CIE-LABlab(41.17, -37.96, 39.45)
CIE-LCHlch(41.17, 54.75, 133.89°)
OKLaboklab(48.03% -0.1043 0.0887)
OKLCHoklch(48.03% 0.137 139.6)
XYZxyz(6.8877, 11.9697, 2.8114)
Luminance0.1197 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C6F18 #5B186F
analogous
#586F18 #2C6F18 #186F30
triadic
#2C6F18 #182C6F #6F182C
tetradic
#2C6F18 #18586F #5B186F #6F3018
square
#2C6F18 #18586F #5B186F #6F3018
split-complementary
#2C6F18 #30186F #6F1858
monochromatic
#0A1905 #183D0D #2C6F18 #40A123 #55D22F

Accessibility & contrast

On white

6.19
#2C6F18 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#2C6F18 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C6F18
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C6F18#FFFFFF#000000##FFFFFF
##2C6F181.006.193.396.19
#FFFFFF6.191.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#726406
Deuteranopia (green-blind)
#6A5F21
Tritanopia (blue-blind)
#246B5E
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #2c6f18;
/* rgb */ color: rgb(44, 111, 24);
/* oklch */ color: oklch(48.0% 0.137 139.6);
Tailwind
colors: {
  custom: {
    50: '#6e995c',
    500: '#2c6f18',
    950: '#000000',
  },
}
SCSS
$custom: #2c6f18;
$custom-light: #6e995c;
$custom-dark: #000000;
JSON
{
  "hex": "#2c6f18",
  "rgb": {
    "r": 44,
    "g": 111,
    "b": 24
  },
  "hsl": {
    "h": 106.207,
    "s": 64.444,
    "l": 26.471
  },
  "oklch": {
    "l": 0.48027,
    "c": 0.13694,
    "h": 139.6
  },
  "luminance": 0.1197
}

Semantic roles & 50–950 ramp

primary
#2C6F18
secondary
#8D3EA5
accent
#40E7C1
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#080E04
muted
#7A7E79

Preview Lab

Preview with #2C6F18

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

Preview Lab → · Contrast checker → · Palette generator →

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