#2C7822#2C7822

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

Color values

HEX#2C7822
RGBrgb(44, 120, 34)
HSLhsl(113, 56%, 30%)
HSVhsv(113, 72%, 47%)
CMYKcmyk(63.3%, 0%, 71.7%, 52.9%)
CIE-LABlab(44.35, -40.62, 38.65)
CIE-LCHlch(44.35, 56.07, 136.42°)
OKLaboklab(50.68% -0.1109 0.0884)
OKLCHoklch(50.68% 0.142 141.4)
XYZxyz(8.0435, 14.0832, 3.8075)
Luminance0.1408 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C7822 #6E2278
analogous
#577822 #2C7822 #227843
triadic
#2C7822 #222C78 #78222C
tetradic
#2C7822 #225778 #6E2278 #784322
square
#2C7822 #225778 #6E2278 #784322
split-complementary
#2C7822 #432278 #782257
monochromatic
#091907 #1B4814 #2C7822 #3DA830 #58CB49

Accessibility & contrast

On white

5.50
#2C7822 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#2C7822 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C7822
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C7822#FFFFFF#000000##FFFFFF
##2C78221.005.503.825.50
#FFFFFF5.501.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6D15
Deuteranopia (green-blind)
#72662A
Tritanopia (blue-blind)
#207467
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #2c7822;
/* rgb */ color: rgb(44, 120, 34);
/* oklch */ color: oklch(50.7% 0.142 141.4);
Tailwind
colors: {
  custom: {
    50: '#6fa062',
    500: '#2c7822',
    950: '#000000',
  },
}
SCSS
$custom: #2c7822;
$custom-light: #6fa062;
$custom-dark: #000000;
JSON
{
  "hex": "#2c7822",
  "rgb": {
    "r": 44,
    "g": 120,
    "b": 34
  },
  "hsl": {
    "h": 113.023,
    "s": 55.844,
    "l": 30.196
  },
  "oklch": {
    "l": 0.50681,
    "c": 0.14185,
    "h": 141.4
  },
  "luminance": 0.14084
}

Semantic roles & 50–950 ramp

primary
#2C7822
secondary
#A04BAB
accent
#49DFCE
background
#F7F9F6
surface
#EDF2EB
border
#C8CCC6
text
#080F05
muted
#7B7E7A

Preview Lab

Preview with #2C7822

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

Preview Lab → · Contrast checker → · Palette generator →

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