#2C7C20#2C7C20

#2C7C20 is a mid, vivid green. Relative luminance 0.151; OKLCH L 51.8% C 0.148 H 141.2°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#2C7C20
RGBrgb(44, 124, 32)
HSLhsl(112, 59%, 31%)
HSVhsv(112, 74%, 49%)
CMYKcmyk(64.5%, 0%, 74.2%, 51.4%)
CIE-LABlab(45.71, -42.33, 40.90)
CIE-LCHlch(45.71, 58.86, 135.99°)
OKLaboklab(51.8% -0.1157 0.0929)
OKLCHoklch(51.8% 0.148 141.2)
XYZxyz(8.5066, 15.0542, 3.8237)
Luminance0.1505 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C7C20 #70207C
analogous
#5A7C20 #2C7C20 #207C42
triadic
#2C7C20 #202C7C #7C202C
tetradic
#2C7C20 #205A7C #70207C #7C4220
square
#2C7C20 #205A7C #70207C #7C4220
split-complementary
#2C7C20 #42207C #7C205A
monochromatic
#091B07 #1B4B13 #2C7C20 #3DAD2D #59CF47

Accessibility & contrast

On white

5.24
#2C7C20 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#2C7C20 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C7C20
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C7C20#FFFFFF#000000##FFFFFF
##2C7C201.005.244.015.24
#FFFFFF5.241.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7011
Deuteranopia (green-blind)
#756A29
Tritanopia (blue-blind)
#1F786A
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #2c7c20;
/* rgb */ color: rgb(44, 124, 32);
/* oklch */ color: oklch(51.8% 0.148 141.2);
Tailwind
colors: {
  custom: {
    50: '#70a361',
    500: '#2c7c20',
    950: '#000000',
  },
}
SCSS
$custom: #2c7c20;
$custom-light: #70a361;
$custom-dark: #000000;
JSON
{
  "hex": "#2c7c20",
  "rgb": {
    "r": 44,
    "g": 124,
    "b": 32
  },
  "hsl": {
    "h": 112.174,
    "s": 58.974,
    "l": 30.588
  },
  "oklch": {
    "l": 0.51798,
    "c": 0.14834,
    "h": 141.2
  },
  "luminance": 0.15055
}

Semantic roles & 50–950 ramp

primary
#2C7C20
secondary
#A249AF
accent
#46E2CE
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F05
muted
#7B7F7A

Preview Lab

Preview with #2C7C20

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

Preview Lab → · Contrast checker → · Palette generator →

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