#2C7319#2C7319

#2C7319 is a mid, vivid green. Relative luminance 0.129; OKLCH L 49.2% C 0.141 H 140.0°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#2C7319
RGBrgb(44, 115, 25)
HSLhsl(107, 64%, 27%)
HSVhsv(107, 78%, 45%)
CMYKcmyk(61.7%, 0%, 78.3%, 54.9%)
CIE-LABlab(42.56, -39.45, 40.45)
CIE-LCHlch(42.56, 56.51, 134.28°)
OKLaboklab(49.18% -0.1083 0.0909)
OKLCHoklch(49.18% 0.141 140)
XYZxyz(7.3446, 12.8665, 3.0159)
Luminance0.1287 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C7319 #601973
analogous
#597319 #2C7319 #197333
triadic
#2C7319 #192C73 #73192C
tetradic
#2C7319 #195973 #601973 #733319
square
#2C7319 #195973 #601973 #733319
split-complementary
#2C7319 #331973 #731959
monochromatic
#0A1905 #19410E #2C7319 #3FA524 #55D334

Accessibility & contrast

On white

5.88
#2C7319 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#2C7319 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C7319
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C7319#FFFFFF#000000##FFFFFF
##2C73191.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766806
Deuteranopia (green-blind)
#6E6223
Tritanopia (blue-blind)
#236F62
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #2c7319;
/* rgb */ color: rgb(44, 115, 25);
/* oklch */ color: oklch(49.2% 0.141 140.0);
Tailwind
colors: {
  custom: {
    50: '#6f9c5d',
    500: '#2c7319',
    950: '#000000',
  },
}
SCSS
$custom: #2c7319;
$custom-light: #6f9c5d;
$custom-dark: #000000;
JSON
{
  "hex": "#2c7319",
  "rgb": {
    "r": 44,
    "g": 115,
    "b": 25
  },
  "hsl": {
    "h": 107.333,
    "s": 64.286,
    "l": 27.451
  },
  "oklch": {
    "l": 0.4918,
    "c": 0.14142,
    "h": 140
  },
  "luminance": 0.12867
}

Semantic roles & 50–950 ramp

primary
#2C7319
secondary
#9240A8
accent
#41E7C4
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #2C7319

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

Preview Lab → · Contrast checker → · Palette generator →

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