#2C802C#2C802C

#2C802C is a mid, vivid green. Relative luminance 0.162; OKLCH L 53.0% C 0.145 H 143.2°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#2C802C
RGBrgb(44, 128, 44)
HSLhsl(120, 49%, 34%)
HSVhsv(120, 66%, 50%)
CMYKcmyk(65.6%, 0%, 65.6%, 49.8%)
CIE-LABlab(47.18, -42.64, 37.23)
CIE-LCHlch(47.18, 56.61, 138.87°)
OKLaboklab(53.04% -0.1158 0.0867)
OKLCHoklch(53.04% 0.145 143.2)
XYZxyz(9.2120, 16.1548, 5.0151)
Luminance0.1616 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C802C #802C80
analogous
#56802C #2C802C #2C8056
triadic
#2C802C #2C2C80 #802C2C
tetradic
#2C802C #2C5680 #802C80 #80562C
square
#2C802C #2C5680 #802C80 #80562C
split-complementary
#2C802C #562C80 #802C56
monochromatic
#0D250D #1C521C #2C802C #3CAE3C #5FC85F

Accessibility & contrast

On white

4.96
#2C802C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#2C802C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C802C
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C802C#FFFFFF#000000##FFFFFF
##2C802C1.004.964.234.96
#FFFFFF4.961.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837422
Deuteranopia (green-blind)
#786D33
Tritanopia (blue-blind)
#1A7C6E
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #2c802c;
/* rgb */ color: rgb(44, 128, 44);
/* oklch */ color: oklch(53.0% 0.145 143.2);
Tailwind
colors: {
  custom: {
    50: '#70a669',
    500: '#2c802c',
    950: '#000000',
  },
}
SCSS
$custom: #2c802c;
$custom-light: #70a669;
$custom-dark: #000000;
JSON
{
  "hex": "#2c802c",
  "rgb": {
    "r": 44,
    "g": 128,
    "b": 44
  },
  "hsl": {
    "h": 120,
    "s": 48.837,
    "l": 33.725
  },
  "oklch": {
    "l": 0.53045,
    "c": 0.14465,
    "h": 143.2
  },
  "luminance": 0.16156
}

Semantic roles & 50–950 ramp

primary
#2C802C
secondary
#AE5AAE
accent
#4FD8D8
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F06
muted
#7B7F7A

Preview Lab

Preview with #2C802C

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

Preview Lab → · Contrast checker → · Palette generator →

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