#2CA02F#2CA02F

#2CA02F is a mid, vivid green. Relative luminance 0.259; OKLCH L 62.0% C 0.182 H 143.3°. Best body text is #000000 at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#2CA02F
RGBrgb(44, 160, 47)
HSLhsl(122, 57%, 40%)
HSVhsv(122, 73%, 63%)
CMYKcmyk(72.5%, 0%, 70.6%, 37.3%)
CIE-LABlab(57.92, -53.82, 47.56)
CIE-LCHlch(57.92, 71.82, 138.53°)
OKLaboklab(61.95% -0.1459 0.1088)
OKLCHoklch(61.95% 0.182 143.3)
XYZxyz(14.1217, 25.8808, 6.9400)
Luminance0.2588 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2CA02F #A02C9D
analogous
#63A02C #2CA02F #2CA069
triadic
#2CA02F #2F2CA0 #A02F2C
tetradic
#2CA02F #2C63A0 #A02C9D #A0692C
square
#2CA02F #2C63A0 #A02C9D #A0692C
split-complementary
#2CA02F #692CA0 #A02C63
monochromatic
#124013 #1F7021 #2CA02F #3FCA43 #6FD772

Accessibility & contrast

On white

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

On black

6.18
#2CA02F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2CA02F
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2CA02F#FFFFFF#000000##000000
##2CA02F1.003.406.186.18
#FFFFFF3.401.0021.0021.00
#0000006.1821.001.001.00
##0000006.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A3911E
Deuteranopia (green-blind)
#96883A
Tritanopia (blue-blind)
#009B89
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #2ca02f;
/* rgb */ color: rgb(44, 160, 47);
/* oklch */ color: oklch(62.0% 0.182 143.3);
Tailwind
colors: {
  custom: {
    50: '#77bd6e',
    500: '#2ca02f',
    950: '#000000',
  },
}
SCSS
$custom: #2ca02f;
$custom-light: #77bd6e;
$custom-dark: #000000;
JSON
{
  "hex": "#2ca02f",
  "rgb": {
    "r": 44,
    "g": 160,
    "b": 47
  },
  "hsl": {
    "h": 121.552,
    "s": 56.863,
    "l": 40
  },
  "oklch": {
    "l": 0.61954,
    "c": 0.18204,
    "h": 143.3
  },
  "luminance": 0.25882
}

Semantic roles & 50–950 ramp

primary
#2CA02F
secondary
#BF69BC
accent
#48DCE0
background
#F7FBF6
surface
#EEF7EC
border
#C9D0C7
text
#0A1207
muted
#7C817A

Preview Lab

Preview with #2CA02F

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

Preview Lab → · Contrast checker → · Palette generator →

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