#2C6E1F#2C6E1F

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

Color values

HEX#2C6E1F
RGBrgb(44, 110, 31)
HSLhsl(110, 56%, 28%)
HSVhsv(110, 72%, 43%)
CMYKcmyk(60%, 0%, 71.8%, 56.9%)
CIE-LABlab(40.87, -36.95, 36.28)
CIE-LCHlch(40.87, 51.78, 135.53°)
OKLaboklab(47.8% -0.1012 0.0831)
OKLCHoklch(47.8% 0.131 140.6)
XYZxyz(6.8616, 11.7857, 3.2093)
Luminance0.1179 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C6E1F #611F6E
analogous
#536E1F #2C6E1F #1F6E3A
triadic
#2C6E1F #1F2C6E #6E1F2C
tetradic
#2C6E1F #1F536E #611F6E #6E3A1F
square
#2C6E1F #1F536E #611F6E #6E3A1F
split-complementary
#2C6E1F #3A1F6E #6E1F53
monochromatic
#0A1807 #193E12 #2C6E1F #3F9E2C #55C93F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2C6E1F#FFFFFF#000000##FFFFFF
##2C6E1F1.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)
#716414
Deuteranopia (green-blind)
#695E26
Tritanopia (blue-blind)
#236A5E
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #2c6e1f;
/* rgb */ color: rgb(44, 110, 31);
/* oklch */ color: oklch(47.8% 0.131 140.6);
Tailwind
colors: {
  custom: {
    50: '#6d985f',
    500: '#2c6e1f',
    950: '#000000',
  },
}
SCSS
$custom: #2c6e1f;
$custom-light: #6d985f;
$custom-dark: #000000;
JSON
{
  "hex": "#2c6e1f",
  "rgb": {
    "r": 44,
    "g": 110,
    "b": 31
  },
  "hsl": {
    "h": 110.127,
    "s": 56.028,
    "l": 27.647
  },
  "oklch": {
    "l": 0.47801,
    "c": 0.1309,
    "h": 140.6
  },
  "luminance": 0.11786
}

Semantic roles & 50–950 ramp

primary
#2C6E1F
secondary
#9347A2
accent
#48DFC7
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#080E05
muted
#7B7E79

Preview Lab

Preview with #2C6E1F

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

Preview Lab → · Contrast checker → · Palette generator →

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