#2C6F2A#2C6F2A

#2C6F2A is a mid, vivid green. Relative luminance 0.121; OKLCH L 48.2% C 0.123 H 142.9°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#2C6F2A
RGBrgb(44, 111, 42)
HSLhsl(118, 45%, 30%)
HSVhsv(118, 62%, 44%)
CMYKcmyk(60.4%, 0%, 62.2%, 56.5%)
CIE-LABlab(41.33, -36.13, 31.57)
CIE-LCHlch(41.33, 47.98, 138.85°)
OKLaboklab(48.21% -0.0983 0.0743)
OKLCHoklch(48.21% 0.123 142.9)
XYZxyz(7.1407, 12.0709, 4.1437)
Luminance0.1207 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C6F2A #6D2A6F
analogous
#4E6F2A #2C6F2A #2A6F4B
triadic
#2C6F2A #2A2C6F #6F2A2C
tetradic
#2C6F2A #2A4E6F #6D2A6F #6F4B2A
square
#2C6F2A #2A4E6F #6D2A6F #6F4B2A
split-complementary
#2C6F2A #4B2A6F #6F2A4E
monochromatic
#091608 #1A4319 #2C6F2A #3E9B3B #58BF55

Accessibility & contrast

On white

6.15
#2C6F2A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#2C6F2A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C6F2A
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C6F2A#FFFFFF#000000##FFFFFF
##2C6F2A1.006.153.416.15
#FFFFFF6.151.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#716523
Deuteranopia (green-blind)
#695F2F
Tritanopia (blue-blind)
#216C60
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #2c6f2a;
/* rgb */ color: rgb(44, 111, 42);
/* oklch */ color: oklch(48.2% 0.123 142.9);
Tailwind
colors: {
  custom: {
    50: '#6d9966',
    500: '#2c6f2a',
    950: '#000000',
  },
}
SCSS
$custom: #2c6f2a;
$custom-light: #6d9966;
$custom-dark: #000000;
JSON
{
  "hex": "#2c6f2a",
  "rgb": {
    "r": 44,
    "g": 111,
    "b": 42
  },
  "hsl": {
    "h": 118.261,
    "s": 45.098,
    "l": 30
  },
  "oklch": {
    "l": 0.48211,
    "c": 0.12321,
    "h": 142.9
  },
  "luminance": 0.12072
}

Semantic roles & 50–950 ramp

primary
#2C6F2A
secondary
#9F54A1
accent
#53D5D1
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#070E06
muted
#7A7E7A

Preview Lab

Preview with #2C6F2A

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

Preview Lab → · Contrast checker → · Palette generator →

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