#2C7820#2C7820

#2C7820 is a mid, vivid green. Relative luminance 0.141; OKLCH L 50.7% C 0.143 H 141.1°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#2C7820
RGBrgb(44, 120, 32)
HSLhsl(112, 58%, 30%)
HSVhsv(112, 73%, 47%)
CMYKcmyk(63.3%, 0%, 73.3%, 52.9%)
CIE-LABlab(44.34, -40.80, 39.48)
CIE-LCHlch(44.34, 56.78, 135.94°)
OKLaboklab(50.66% -0.1115 0.0899)
OKLCHoklch(50.66% 0.143 141.1)
XYZxyz(8.0155, 14.0719, 3.6600)
Luminance0.1407 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C7820 #6C2078
analogous
#587820 #2C7820 #207840
triadic
#2C7820 #202C78 #78202C
tetradic
#2C7820 #205878 #6C2078 #784020
square
#2C7820 #205878 #6C2078 #784020
split-complementary
#2C7820 #402078 #782058
monochromatic
#091806 #1A4813 #2C7820 #3EA82D #58CD45

Accessibility & contrast

On white

5.51
#2C7820 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#2C7820 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C7820
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C7820#FFFFFF#000000##FFFFFF
##2C78201.005.513.815.51
#FFFFFF5.511.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6D12
Deuteranopia (green-blind)
#726629
Tritanopia (blue-blind)
#207467
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #2c7820;
/* rgb */ color: rgb(44, 120, 32);
/* oklch */ color: oklch(50.7% 0.143 141.1);
Tailwind
colors: {
  custom: {
    50: '#6fa061',
    500: '#2c7820',
    950: '#000000',
  },
}
SCSS
$custom: #2c7820;
$custom-light: #6fa061;
$custom-dark: #000000;
JSON
{
  "hex": "#2c7820",
  "rgb": {
    "r": 44,
    "g": 120,
    "b": 32
  },
  "hsl": {
    "h": 111.818,
    "s": 57.895,
    "l": 29.804
  },
  "oklch": {
    "l": 0.50663,
    "c": 0.14326,
    "h": 141.1
  },
  "luminance": 0.14073
}

Semantic roles & 50–950 ramp

primary
#2C7820
secondary
#9E48AB
accent
#47E1CC
background
#F7F9F5
surface
#EDF2EA
border
#C8CCC6
text
#080F05
muted
#7B7E79

Preview Lab

Preview with #2C7820

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

Preview Lab → · Contrast checker → · Palette generator →

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