#2C802B#2C802B

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

Color values

HEX#2C802B
RGBrgb(44, 128, 43)
HSLhsl(119, 50%, 34%)
HSVhsv(119, 66%, 50%)
CMYKcmyk(65.6%, 0%, 66.4%, 49.8%)
CIE-LABlab(47.17, -42.75, 37.69)
CIE-LCHlch(47.17, 56.99, 138.61°)
OKLaboklab(53.03% -0.1162 0.0875)
OKLCHoklch(53.03% 0.145 143)
XYZxyz(9.1934, 16.1473, 4.9173)
Luminance0.1615 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C802B #7F2B80
analogous
#56802B #2C802B #2B8054
triadic
#2C802B #2B2C80 #802B2C
tetradic
#2C802B #2B5680 #7F2B80 #80542B
square
#2C802B #2B5680 #7F2B80 #80542B
split-complementary
#2C802B #542B80 #802B56
monochromatic
#0D240C #1C521C #2C802B #3CAE3A #5EC95D

Accessibility & contrast

On white

4.97
#2C802B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2C802B
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C802B#FFFFFF#000000##FFFFFF
##2C802B1.004.974.234.97
#FFFFFF4.971.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837421
Deuteranopia (green-blind)
#796D32
Tritanopia (blue-blind)
#1B7C6E
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #2c802b;
/* rgb */ color: rgb(44, 128, 43);
/* oklch */ color: oklch(53.0% 0.145 143.0);
Tailwind
colors: {
  custom: {
    50: '#70a668',
    500: '#2c802b',
    950: '#000000',
  },
}
SCSS
$custom: #2c802b;
$custom-light: #70a668;
$custom-dark: #000000;
JSON
{
  "hex": "#2c802b",
  "rgb": {
    "r": 44,
    "g": 128,
    "b": 43
  },
  "hsl": {
    "h": 119.294,
    "s": 49.708,
    "l": 33.529
  },
  "oklch": {
    "l": 0.53034,
    "c": 0.14544,
    "h": 143
  },
  "luminance": 0.16148
}

Semantic roles & 50–950 ramp

primary
#2C802B
secondary
#AD58AE
accent
#4FD9D8
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F06
muted
#7B7F7A

Preview Lab

Preview with #2C802B

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

Preview Lab → · Contrast checker → · Palette generator →

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