#2C6918#2C6918

#2C6918 is a mid, vivid green. Relative luminance 0.107; OKLCH L 46.3% C 0.129 H 139.2°. Best body text is #FFFFFF at 6.69:1 contrast (WCAG AA passes).

Color values

HEX#2C6918
RGBrgb(44, 105, 24)
HSLhsl(105, 63%, 25%)
HSVhsv(105, 77%, 41%)
CMYKcmyk(58.1%, 0%, 77.1%, 58.8%)
CIE-LABlab(39.08, -35.54, 37.36)
CIE-LCHlch(39.08, 51.57, 133.56°)
OKLaboklab(46.3% -0.0978 0.0843)
OKLCHoklch(46.3% 0.129 139.2)
XYZxyz(6.2549, 10.7041, 2.6005)
Luminance0.1071 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C6918 #551869
analogous
#546918 #2C6918 #18692C
triadic
#2C6918 #182C69 #69182C
tetradic
#2C6918 #185469 #551869 #692C18
square
#2C6918 #185469 #551869 #692C18
split-complementary
#2C6918 #2C1869 #691854
monochromatic
#0A1906 #17370D #2C6918 #419B23 #56CD2F

Accessibility & contrast

On white

6.69
#2C6918 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#2C6918 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C6918
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C6918#FFFFFF#000000##FFFFFF
##2C69181.006.693.146.69
#FFFFFF6.691.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C5F09
Deuteranopia (green-blind)
#645A20
Tritanopia (blue-blind)
#266559
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #2c6918;
/* rgb */ color: rgb(44, 105, 24);
/* oklch */ color: oklch(46.3% 0.129 139.2);
Tailwind
colors: {
  custom: {
    50: '#6d945b',
    500: '#2c6918',
    950: '#000000',
  },
}
SCSS
$custom: #2c6918;
$custom-light: #6d945b;
$custom-dark: #000000;
JSON
{
  "hex": "#2c6918",
  "rgb": {
    "r": 44,
    "g": 105,
    "b": 24
  },
  "hsl": {
    "h": 105.185,
    "s": 62.791,
    "l": 25.294
  },
  "oklch": {
    "l": 0.46302,
    "c": 0.12914,
    "h": 139.2
  },
  "luminance": 0.10705
}

Semantic roles & 50–950 ramp

primary
#2C6918
secondary
#873E9F
accent
#42E6BD
background
#F6F9F5
surface
#ECF1E9
border
#C7CBC5
text
#070D04
muted
#7A7E79

Preview Lab

Preview with #2C6918

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

Preview Lab → · Contrast checker → · Palette generator →

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