#2C802F#2C802F

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

Color values

HEX#2C802F
RGBrgb(44, 128, 47)
HSLhsl(122, 49%, 34%)
HSVhsv(122, 66%, 50%)
CMYKcmyk(65.6%, 0%, 63.3%, 49.8%)
CIE-LABlab(47.21, -42.29, 35.85)
CIE-LCHlch(47.21, 55.44, 139.71°)
OKLaboklab(53.08% -0.1147 0.084)
OKLCHoklch(53.08% 0.142 143.8)
XYZxyz(9.2704, 16.1781, 5.3229)
Luminance0.1618 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C802F #802C7D
analogous
#53802C #2C802F #2C8059
triadic
#2C802F #2F2C80 #802F2C
tetradic
#2C802F #2C5380 #802C7D #80592C
square
#2C802F #2C5380 #802C7D #80592C
split-complementary
#2C802F #592C80 #802C53
monochromatic
#0D250E #1C521E #2C802F #3CAE40 #5FC862

Accessibility & contrast

On white

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

On black

4.24
#2C802F on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2C802F#FFFFFF#000000##FFFFFF
##2C802F1.004.964.244.96
#FFFFFF4.961.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837426
Deuteranopia (green-blind)
#786D36
Tritanopia (blue-blind)
#197C6F
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #2c802f;
/* rgb */ color: rgb(44, 128, 47);
/* oklch */ color: oklch(53.1% 0.142 143.8);
Tailwind
colors: {
  custom: {
    50: '#70a66b',
    500: '#2c802f',
    950: '#000000',
  },
}
SCSS
$custom: #2c802f;
$custom-light: #70a66b;
$custom-dark: #000000;
JSON
{
  "hex": "#2c802f",
  "rgb": {
    "r": 44,
    "g": 128,
    "b": 47
  },
  "hsl": {
    "h": 122.143,
    "s": 48.837,
    "l": 33.725
  },
  "oklch": {
    "l": 0.5308,
    "c": 0.14218,
    "h": 143.8
  },
  "luminance": 0.16179
}

Semantic roles & 50–950 ramp

primary
#2C802F
secondary
#AE5AAB
accent
#4FD4D8
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F07
muted
#7B7F7A

Preview Lab

Preview with #2C802F

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

Preview Lab → · Contrast checker → · Palette generator →

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