#2C8020#2C8020

#2C8020 is a mid, vivid green. Relative luminance 0.161; OKLCH L 52.9% C 0.153 H 141.3°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#2C8020
RGBrgb(44, 128, 32)
HSLhsl(113, 60%, 31%)
HSVhsv(113, 75%, 50%)
CMYKcmyk(65.6%, 0%, 75%, 49.8%)
CIE-LABlab(47.08, -43.83, 42.30)
CIE-LCHlch(47.08, 60.91, 136.02°)
OKLaboklab(52.93% -0.1197 0.0958)
OKLCHoklch(52.93% 0.153 141.3)
XYZxyz(9.0181, 16.0772, 3.9942)
Luminance0.1608 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C8020 #742080
analogous
#5C8020 #2C8020 #208044
triadic
#2C8020 #202C80 #80202C
tetradic
#2C8020 #205C80 #742080 #804420
square
#2C8020 #205C80 #742080 #804420
split-complementary
#2C8020 #442080 #80205C
monochromatic
#0A1E08 #1B4F14 #2C8020 #3DB12C #5AD149

Accessibility & contrast

On white

4.98
#2C8020 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#2C8020 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C8020
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C8020#FFFFFF#000000##FFFFFF
##2C80201.004.984.224.98
#FFFFFF4.981.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#83740F
Deuteranopia (green-blind)
#796D2A
Tritanopia (blue-blind)
#1D7C6D
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #2c8020;
/* rgb */ color: rgb(44, 128, 32);
/* oklch */ color: oklch(52.9% 0.153 141.3);
Tailwind
colors: {
  custom: {
    50: '#71a662',
    500: '#2c8020',
    950: '#000000',
  },
}
SCSS
$custom: #2c8020;
$custom-light: #71a662;
$custom-dark: #000000;
JSON
{
  "hex": "#2c8020",
  "rgb": {
    "r": 44,
    "g": 128,
    "b": 32
  },
  "hsl": {
    "h": 112.5,
    "s": 60,
    "l": 31.373
  },
  "oklch": {
    "l": 0.52929,
    "c": 0.15332,
    "h": 141.3
  },
  "luminance": 0.16078
}

Semantic roles & 50–950 ramp

primary
#2C8020
secondary
#A649B3
accent
#45E3CF
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F05
muted
#7B7F7A

Preview Lab

Preview with #2C8020

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

Preview Lab → · Contrast checker → · Palette generator →

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