#2C6818#2C6818

#2C6818 is a mid, vivid green. Relative luminance 0.105; OKLCH L 46.0% C 0.128 H 139.2°. Best body text is #FFFFFF at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#2C6818
RGBrgb(44, 104, 24)
HSLhsl(105, 63%, 25%)
HSVhsv(105, 77%, 41%)
CMYKcmyk(57.7%, 0%, 76.9%, 59.2%)
CIE-LABlab(38.73, -35.13, 37.01)
CIE-LCHlch(38.73, 51.03, 133.50°)
OKLaboklab(46.01% -0.0967 0.0836)
OKLCHoklch(46.01% 0.128 139.2)
XYZxyz(6.1536, 10.5015, 2.5667)
Luminance0.1050 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C6818 #541868
analogous
#546818 #2C6818 #18682C
triadic
#2C6818 #182C68 #68182C
tetradic
#2C6818 #185468 #541868 #682C18
square
#2C6818 #185468 #541868 #682C18
split-complementary
#2C6818 #2C1868 #681854
monochromatic
#0B1906 #17360D #2C6818 #419A23 #56CB2F

Accessibility & contrast

On white

6.77
#2C6818 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#2C6818 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C6818
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C6818#FFFFFF#000000##FFFFFF
##2C68181.006.773.106.77
#FFFFFF6.771.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B5E09
Deuteranopia (green-blind)
#645920
Tritanopia (blue-blind)
#266458
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #2c6818;
/* rgb */ color: rgb(44, 104, 24);
/* oklch */ color: oklch(46.0% 0.128 139.2);
Tailwind
colors: {
  custom: {
    50: '#6c945b',
    500: '#2c6818',
    950: '#000000',
  },
}
SCSS
$custom: #2c6818;
$custom-light: #6c945b;
$custom-dark: #000000;
JSON
{
  "hex": "#2c6818",
  "rgb": {
    "r": 44,
    "g": 104,
    "b": 24
  },
  "hsl": {
    "h": 105,
    "s": 62.5,
    "l": 25.098
  },
  "oklch": {
    "l": 0.46014,
    "c": 0.12783,
    "h": 139.2
  },
  "luminance": 0.10502
}

Semantic roles & 50–950 ramp

primary
#2C6818
secondary
#863E9E
accent
#42E6BD
background
#F6F9F5
surface
#ECF1E9
border
#C7CBC5
text
#070D04
muted
#7A7E79

Preview Lab

Preview with #2C6818

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

Preview Lab → · Contrast checker → · Palette generator →

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