#2C6A0F#2C6A0F

#2C6A0F is a mid, vivid green. Relative luminance 0.109; OKLCH L 46.5% C 0.135 H 138.3°. Best body text is #FFFFFF at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#2C6A0F
RGBrgb(44, 106, 15)
HSLhsl(101, 75%, 24%)
HSVhsv(101, 86%, 42%)
CMYKcmyk(58.5%, 0%, 85.8%, 58.4%)
CIE-LABlab(39.37, -36.56, 40.83)
CIE-LCHlch(39.37, 54.80, 131.84°)
OKLaboklab(46.53% -0.1011 0.0902)
OKLCHoklch(46.53% 0.135 138.3)
XYZxyz(6.2787, 10.8775, 2.2205)
Luminance0.1088 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C6A0F #4D0F6A
analogous
#596A0F #2C6A0F #0F6A1F
triadic
#2C6A0F #0F2C6A #6A0F2C
tetradic
#2C6A0F #0F596A #4D0F6A #6A1F0F
square
#2C6A0F #0F596A #4D0F6A #6A1F0F
split-complementary
#2C6A0F #1F0F6A #6A0F59
monochromatic
#0B1B04 #163407 #2C6A0F #42A017 #59D51E

Accessibility & contrast

On white

6.61
#2C6A0F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#2C6A0F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C6A0F
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C6A0F#FFFFFF#000000##FFFFFF
##2C6A0F1.006.613.186.61
#FFFFFF6.611.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E6000
Deuteranopia (green-blind)
#665B1A
Tritanopia (blue-blind)
#26665A
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #2c6a0f;
/* rgb */ color: rgb(44, 106, 15);
/* oklch */ color: oklch(46.5% 0.135 138.3);
Tailwind
colors: {
  custom: {
    50: '#6d9557',
    500: '#2c6a0f',
    950: '#000000',
  },
}
SCSS
$custom: #2c6a0f;
$custom-light: #6d9557;
$custom-dark: #000000;
JSON
{
  "hex": "#2c6a0f",
  "rgb": {
    "r": 44,
    "g": 106,
    "b": 15
  },
  "hsl": {
    "h": 100.879,
    "s": 75.207,
    "l": 23.725
  },
  "oklch": {
    "l": 0.46529,
    "c": 0.13548,
    "h": 138.3
  },
  "luminance": 0.10878
}

Semantic roles & 50–950 ramp

primary
#2C6A0F
secondary
#7F32A2
accent
#36F2B6
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#080D03
muted
#7B7E78

Preview Lab

Preview with #2C6A0F

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

Preview Lab → · Contrast checker → · Palette generator →

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