#2CA540#2CA540

#2CA540 is a light, vivid green. Relative luminance 0.278; OKLCH L 63.5% C 0.176 H 145.6°. Best body text is #000000 at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#2CA540
RGBrgb(44, 165, 64)
HSLhsl(130, 58%, 41%)
HSVhsv(130, 73%, 65%)
CMYKcmyk(73.3%, 0%, 61.2%, 35.3%)
CIE-LABlab(59.72, -53.69, 42.14)
CIE-LCHlch(59.72, 68.26, 141.87°)
OKLaboklab(63.49% -0.1449 0.0991)
OKLCHoklch(63.49% 0.176 145.6)
XYZxyz(15.4182, 27.8142, 9.4056)
Luminance0.2782 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2CA540 #A52C91
analogous
#54A52C #2CA540 #2CA57C
triadic
#2CA540 #402CA5 #A5402C
tetradic
#2CA540 #2C54A5 #A52C91 #A57C2C
square
#2CA540 #2C54A5 #A52C91 #A57C2C
split-complementary
#2CA540 #7C2CA5 #A52C54
monochromatic
#12441B #1F752D #2CA540 #42CD59 #72D983

Accessibility & contrast

On white

3.20
#2CA540 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.56
#2CA540 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2CA540
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2CA540#FFFFFF#000000##000000
##2CA5401.003.206.566.56
#FFFFFF3.201.0021.0021.00
#0000006.5621.001.001.00
##0000006.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A89635
Deuteranopia (green-blind)
#9A8C48
Tritanopia (blue-blind)
#00A18F
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #2ca540;
/* rgb */ color: rgb(44, 165, 64);
/* oklch */ color: oklch(63.5% 0.176 145.6);
Tailwind
colors: {
  custom: {
    50: '#78c178',
    500: '#2ca540',
    950: '#000000',
  },
}
SCSS
$custom: #2ca540;
$custom-light: #78c178;
$custom-dark: #000000;
JSON
{
  "hex": "#2ca540",
  "rgb": {
    "r": 44,
    "g": 165,
    "b": 64
  },
  "hsl": {
    "h": 129.917,
    "s": 57.895,
    "l": 40.98
  },
  "oklch": {
    "l": 0.63494,
    "c": 0.17553,
    "h": 145.6
  },
  "luminance": 0.27816
}

Semantic roles & 50–950 ramp

primary
#2CA540
secondary
#C16CB3
accent
#47C8E1
background
#F7FCF7
surface
#EEF8ED
border
#C9D1C8
text
#0A1209
muted
#7C817B

Preview Lab

Preview with #2CA540

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

Preview Lab → · Contrast checker → · Palette generator →

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