#2C6F1F#2C6F1F

#2C6F1F is a mid, vivid green. Relative luminance 0.120; OKLCH L 48.1% C 0.132 H 140.7°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#2C6F1F
RGBrgb(44, 111, 31)
HSLhsl(110, 56%, 28%)
HSVhsv(110, 72%, 44%)
CMYKcmyk(60.4%, 0%, 72.1%, 56.5%)
CIE-LABlab(41.22, -37.36, 36.64)
CIE-LCHlch(41.22, 52.33, 135.55°)
OKLaboklab(48.09% -0.1023 0.0838)
OKLCHoklch(48.09% 0.132 140.7)
XYZxyz(6.9701, 12.0027, 3.2455)
Luminance0.1200 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C6F1F #621F6F
analogous
#546F1F #2C6F1F #1F6F3A
triadic
#2C6F1F #1F2C6F #6F1F2C
tetradic
#2C6F1F #1F546F #621F6F #6F3A1F
square
#2C6F1F #1F546F #621F6F #6F3A1F
split-complementary
#2C6F1F #3A1F6F #6F1F54
monochromatic
#091807 #193F12 #2C6F1F #3F9F2C #56C93F

Accessibility & contrast

On white

6.18
#2C6F1F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#2C6F1F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C6F1F
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C6F1F#FFFFFF#000000##FFFFFF
##2C6F1F1.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#726513
Deuteranopia (green-blind)
#6A5F26
Tritanopia (blue-blind)
#236B5F
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #2c6f1f;
/* rgb */ color: rgb(44, 111, 31);
/* oklch */ color: oklch(48.1% 0.132 140.7);
Tailwind
colors: {
  custom: {
    50: '#6d995f',
    500: '#2c6f1f',
    950: '#000000',
  },
}
SCSS
$custom: #2c6f1f;
$custom-light: #6d995f;
$custom-dark: #000000;
JSON
{
  "hex": "#2c6f1f",
  "rgb": {
    "r": 44,
    "g": 111,
    "b": 31
  },
  "hsl": {
    "h": 110.25,
    "s": 56.338,
    "l": 27.843
  },
  "oklch": {
    "l": 0.48087,
    "c": 0.13223,
    "h": 140.7
  },
  "luminance": 0.12003
}

Semantic roles & 50–950 ramp

primary
#2C6F1F
secondary
#9447A3
accent
#48E0C7
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#080E05
muted
#7B7E79

Preview Lab

Preview with #2C6F1F

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

Preview Lab → · Contrast checker → · Palette generator →

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