#2CA02C#2CA02C

#2CA02C is a mid, vivid green. Relative luminance 0.259; OKLCH L 61.9% C 0.184 H 142.9°. Best body text is #000000 at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#2CA02C
RGBrgb(44, 160, 44)
HSLhsl(120, 57%, 40%)
HSVhsv(120, 73%, 63%)
CMYKcmyk(72.5%, 0%, 72.5%, 37.3%)
CIE-LABlab(57.90, -54.09, 48.72)
CIE-LCHlch(57.90, 72.80, 137.98°)
OKLaboklab(61.93% -0.1468 0.1109)
OKLCHoklch(61.93% 0.184 142.9)
XYZxyz(14.0633, 25.8574, 6.6322)
Luminance0.2586 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2CA02C #A02CA0
analogous
#66A02C #2CA02C #2CA066
triadic
#2CA02C #2C2CA0 #A02C2C
tetradic
#2CA02C #2C66A0 #A02CA0 #A0662C
square
#2CA02C #2C66A0 #A02CA0 #A0662C
split-complementary
#2CA02C #662CA0 #A02C66
monochromatic
#124012 #1F701F #2CA02C #3FCA3F #6FD76F

Accessibility & contrast

On white

3.40
#2CA02C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.17
#2CA02C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2CA02C
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2CA02C#FFFFFF#000000##000000
##2CA02C1.003.406.176.17
#FFFFFF3.401.0021.0021.00
#0000006.1721.001.001.00
##0000006.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A39119
Deuteranopia (green-blind)
#968838
Tritanopia (blue-blind)
#009B89
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #2ca02c;
/* rgb */ color: rgb(44, 160, 44);
/* oklch */ color: oklch(61.9% 0.184 142.9);
Tailwind
colors: {
  custom: {
    50: '#77bd6c',
    500: '#2ca02c',
    950: '#000000',
  },
}
SCSS
$custom: #2ca02c;
$custom-light: #77bd6c;
$custom-dark: #000000;
JSON
{
  "hex": "#2ca02c",
  "rgb": {
    "r": 44,
    "g": 160,
    "b": 44
  },
  "hsl": {
    "h": 120,
    "s": 56.863,
    "l": 40
  },
  "oklch": {
    "l": 0.61929,
    "c": 0.18397,
    "h": 142.9
  },
  "luminance": 0.25859
}

Semantic roles & 50–950 ramp

primary
#2CA02C
secondary
#BF69BF
accent
#48E0E0
background
#F7FBF6
surface
#EEF7EC
border
#C9D0C7
text
#0A1207
muted
#7C817A

Preview Lab

Preview with #2CA02C

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

Preview Lab → · Contrast checker → · Palette generator →

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