#2C7219#2C7219

#2C7219 is a mid, vivid green. Relative luminance 0.126; OKLCH L 48.9% C 0.140 H 139.9°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#2C7219
RGBrgb(44, 114, 25)
HSLhsl(107, 64%, 27%)
HSVhsv(107, 78%, 45%)
CMYKcmyk(61.4%, 0%, 78.1%, 55.3%)
CIE-LABlab(42.22, -39.06, 40.11)
CIE-LCHlch(42.22, 55.99, 134.24°)
OKLaboklab(48.89% -0.1072 0.0902)
OKLCHoklch(48.89% 0.14 139.9)
XYZxyz(7.2312, 12.6396, 2.9781)
Luminance0.1264 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C7219 #5F1972
analogous
#597219 #2C7219 #197233
triadic
#2C7219 #192C72 #72192C
tetradic
#2C7219 #195972 #5F1972 #723319
square
#2C7219 #195972 #5F1972 #723319
split-complementary
#2C7219 #331972 #721959
monochromatic
#0A1906 #19400E #2C7219 #3FA424 #55D233

Accessibility & contrast

On white

5.95
#2C7219 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#2C7219 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C7219
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C7219#FFFFFF#000000##FFFFFF
##2C72191.005.953.535.95
#FFFFFF5.951.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756707
Deuteranopia (green-blind)
#6D6122
Tritanopia (blue-blind)
#236E61
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #2c7219;
/* rgb */ color: rgb(44, 114, 25);
/* oklch */ color: oklch(48.9% 0.140 139.9);
Tailwind
colors: {
  custom: {
    50: '#6e9b5d',
    500: '#2c7219',
    950: '#000000',
  },
}
SCSS
$custom: #2c7219;
$custom-light: #6e9b5d;
$custom-dark: #000000;
JSON
{
  "hex": "#2c7219",
  "rgb": {
    "r": 44,
    "g": 114,
    "b": 25
  },
  "hsl": {
    "h": 107.191,
    "s": 64.029,
    "l": 27.255
  },
  "oklch": {
    "l": 0.48894,
    "c": 0.14015,
    "h": 139.9
  },
  "luminance": 0.1264
}

Semantic roles & 50–950 ramp

primary
#2C7219
secondary
#9140A7
accent
#41E7C4
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #2C7219

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

Preview Lab → · Contrast checker → · Palette generator →

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