#2C802E#2C802E

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

Color values

HEX#2C802E
RGBrgb(44, 128, 46)
HSLhsl(121, 49%, 34%)
HSVhsv(121, 66%, 50%)
CMYKcmyk(65.6%, 0%, 64.1%, 49.8%)
CIE-LABlab(47.20, -42.41, 36.31)
CIE-LCHlch(47.20, 55.83, 139.43°)
OKLaboklab(53.07% -0.1151 0.0849)
OKLCHoklch(53.07% 0.143 143.6)
XYZxyz(9.2505, 16.1702, 5.2179)
Luminance0.1617 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C802E #802C7E
analogous
#54802C #2C802E #2C8058
triadic
#2C802E #2E2C80 #802E2C
tetradic
#2C802E #2C5480 #802C7E #80582C
square
#2C802E #2C5480 #802C7E #80582C
split-complementary
#2C802E #582C80 #802C54
monochromatic
#0D250D #1C521E #2C802E #3CAE3E #5FC861

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2C802E#FFFFFF#000000##FFFFFF
##2C802E1.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)
#837425
Deuteranopia (green-blind)
#786D35
Tritanopia (blue-blind)
#1A7C6F
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #2c802e;
/* rgb */ color: rgb(44, 128, 46);
/* oklch */ color: oklch(53.1% 0.143 143.6);
Tailwind
colors: {
  custom: {
    50: '#70a66a',
    500: '#2c802e',
    950: '#000000',
  },
}
SCSS
$custom: #2c802e;
$custom-light: #70a66a;
$custom-dark: #000000;
JSON
{
  "hex": "#2c802e",
  "rgb": {
    "r": 44,
    "g": 128,
    "b": 46
  },
  "hsl": {
    "h": 121.429,
    "s": 48.837,
    "l": 33.725
  },
  "oklch": {
    "l": 0.53068,
    "c": 0.14301,
    "h": 143.6
  },
  "luminance": 0.16171
}

Semantic roles & 50–950 ramp

primary
#2C802E
secondary
#AE5AAC
accent
#4FD5D8
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F07
muted
#7B7F7A

Preview Lab

Preview with #2C802E

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

Preview Lab → · Contrast checker → · Palette generator →

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