#2CA840#2CA840

#2CA840 is a light, vivid green. Relative luminance 0.289; OKLCH L 64.3% C 0.179 H 145.5°. Best body text is #000000 at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#2CA840
RGBrgb(44, 168, 64)
HSLhsl(130, 58%, 42%)
HSVhsv(130, 74%, 66%)
CMYKcmyk(73.8%, 0%, 61.9%, 34.1%)
CIE-LABlab(60.70, -54.73, 43.26)
CIE-LCHlch(60.70, 69.77, 141.67°)
OKLaboklab(64.31% -0.1477 0.1015)
OKLCHoklch(64.31% 0.179 145.5)
XYZxyz(15.9656, 28.9091, 9.5881)
Luminance0.2891 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2CA840 #A82C94
analogous
#56A82C #2CA840 #2CA87E
triadic
#2CA840 #402CA8 #A8402C
tetradic
#2CA840 #2C56A8 #A82C94 #A87E2C
square
#2CA840 #2C56A8 #A82C94 #A87E2C
split-complementary
#2CA840 #7E2CA8 #A82C56
monochromatic
#13471B #1F782E #2CA840 #43CE5A #74DB84

Accessibility & contrast

On white

3.10
#2CA840 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.78
#2CA840 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2CA840
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2CA840#FFFFFF#000000##000000
##2CA8401.003.106.786.78
#FFFFFF3.101.0021.0021.00
#0000006.7821.001.001.00
##0000006.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB9835
Deuteranopia (green-blind)
#9C8F49
Tritanopia (blue-blind)
#00A492
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #2ca840;
/* rgb */ color: rgb(44, 168, 64);
/* oklch */ color: oklch(64.3% 0.179 145.5);
Tailwind
colors: {
  custom: {
    50: '#78c379',
    500: '#2ca840',
    950: '#000000',
  },
}
SCSS
$custom: #2ca840;
$custom-light: #78c379;
$custom-dark: #000000;
JSON
{
  "hex": "#2ca840",
  "rgb": {
    "r": 44,
    "g": 168,
    "b": 64
  },
  "hsl": {
    "h": 129.677,
    "s": 58.491,
    "l": 41.569
  },
  "oklch": {
    "l": 0.64306,
    "c": 0.17921,
    "h": 145.5
  },
  "luminance": 0.28911
}

Semantic roles & 50–950 ramp

primary
#2CA840
secondary
#C26EB4
accent
#46C9E2
background
#F7FCF7
surface
#EEF8ED
border
#C9D1C8
text
#0A1309
muted
#7C827B

Preview Lab

Preview with #2CA840

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

Preview Lab → · Contrast checker → · Palette generator →

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