#2C7020#2C7020

#2C7020 is a mid, vivid green. Relative luminance 0.122; OKLCH L 48.4% C 0.133 H 140.9°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#2C7020
RGBrgb(44, 112, 32)
HSLhsl(111, 56%, 28%)
HSVhsv(111, 71%, 44%)
CMYKcmyk(60.7%, 0%, 71.4%, 56.1%)
CIE-LABlab(41.58, -37.66, 36.58)
CIE-LCHlch(41.58, 52.50, 135.83°)
OKLaboklab(48.38% -0.103 0.0838)
OKLCHoklch(48.38% 0.133 140.9)
XYZxyz(7.0933, 12.2275, 3.3526)
Luminance0.1223 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C7020 #642070
analogous
#547020 #2C7020 #20703C
triadic
#2C7020 #202C70 #70202C
tetradic
#2C7020 #205470 #642070 #703C20
square
#2C7020 #205470 #642070 #703C20
split-complementary
#2C7020 #3C2070 #702054
monochromatic
#091807 #194012 #2C7020 #3FA02E #56C942

Accessibility & contrast

On white

6.09
#2C7020 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#2C7020 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C7020
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C7020#FFFFFF#000000##FFFFFF
##2C70201.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736615
Deuteranopia (green-blind)
#6A6027
Tritanopia (blue-blind)
#236C60
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #2c7020;
/* rgb */ color: rgb(44, 112, 32);
/* oklch */ color: oklch(48.4% 0.133 140.9);
Tailwind
colors: {
  custom: {
    50: '#6e9a60',
    500: '#2c7020',
    950: '#000000',
  },
}
SCSS
$custom: #2c7020;
$custom-light: #6e9a60;
$custom-dark: #000000;
JSON
{
  "hex": "#2c7020",
  "rgb": {
    "r": 44,
    "g": 112,
    "b": 32
  },
  "hsl": {
    "h": 111,
    "s": 55.556,
    "l": 28.235
  },
  "oklch": {
    "l": 0.48383,
    "c": 0.13282,
    "h": 140.9
  },
  "luminance": 0.12228
}

Semantic roles & 50–950 ramp

primary
#2C7020
secondary
#9648A4
accent
#49DFC8
background
#F6F9F5
surface
#ECF2EA
border
#C7CCC6
text
#080E05
muted
#7B7E79

Preview Lab

Preview with #2C7020

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

Preview Lab → · Contrast checker → · Palette generator →

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