#2CA02B#2CA02B

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

Color values

HEX#2CA02B
RGBrgb(44, 160, 43)
HSLhsl(119, 58%, 40%)
HSVhsv(119, 73%, 63%)
CMYKcmyk(72.5%, 0%, 73.1%, 37.3%)
CIE-LABlab(57.89, -54.17, 49.10)
CIE-LCHlch(57.89, 73.11, 137.81°)
OKLaboklab(61.92% -0.1471 0.1115)
OKLCHoklch(61.92% 0.185 142.8)
XYZxyz(14.0447, 25.8499, 6.5344)
Luminance0.2585 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2CA02B #9F2BA0
analogous
#67A02B #2CA02B #2BA064
triadic
#2CA02B #2B2CA0 #A02B2C
tetradic
#2CA02B #2B67A0 #9F2BA0 #A0642B
square
#2CA02B #2B67A0 #9F2BA0 #A0642B
split-complementary
#2CA02B #642BA0 #A02B67
monochromatic
#114011 #1F701E #2CA02B #3ECB3D #6ED86E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2CA02B#FFFFFF#000000##000000
##2CA02B1.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)
#A49117
Deuteranopia (green-blind)
#968837
Tritanopia (blue-blind)
#019B89
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #2ca02b;
/* rgb */ color: rgb(44, 160, 43);
/* oklch */ color: oklch(61.9% 0.185 142.8);
Tailwind
colors: {
  custom: {
    50: '#77bd6c',
    500: '#2ca02b',
    950: '#000000',
  },
}
SCSS
$custom: #2ca02b;
$custom-light: #77bd6c;
$custom-dark: #000000;
JSON
{
  "hex": "#2ca02b",
  "rgb": {
    "r": 44,
    "g": 160,
    "b": 43
  },
  "hsl": {
    "h": 119.487,
    "s": 57.635,
    "l": 39.804
  },
  "oklch": {
    "l": 0.61921,
    "c": 0.18459,
    "h": 142.8
  },
  "luminance": 0.25852
}

Semantic roles & 50–950 ramp

primary
#2CA02B
secondary
#BE68BF
accent
#47E1E0
background
#F7FBF6
surface
#EEF7EC
border
#C9D0C7
text
#0A1207
muted
#7C817A

Preview Lab

Preview with #2CA02B

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

Preview Lab → · Contrast checker → · Palette generator →

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