#2CB126#2CB126

#2CB126 is a light, highly saturated green. Relative luminance 0.321; OKLCH L 66.5% C 0.206 H 142.4°. Best body text is #000000 at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#2CB126
RGBrgb(44, 177, 38)
HSLhsl(117, 65%, 42%)
HSVhsv(117, 79%, 69%)
CMYKcmyk(75.1%, 0%, 78.5%, 30.6%)
CIE-LABlab(63.44, -60.10, 56.35)
CIE-LCHlch(63.44, 82.38, 136.84°)
OKLaboklab(66.52% -0.1634 0.126)
OKLCHoklch(66.52% 0.206 142.4)
XYZxyz(17.1097, 32.1177, 7.1310)
Luminance0.3212 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2CB126 #AB26B1
analogous
#72B126 #2CB126 #26B166
triadic
#2CB126 #262CB1 #B1262C
tetradic
#2CB126 #2672B1 #AB26B1 #B16626
square
#2CB126 #2672B1 #AB26B1 #B16626
split-complementary
#2CB126 #6626B1 #B12672
monochromatic
#134C10 #1F7F1B #2CB126 #45D63F #76E071

Accessibility & contrast

On white

2.83
#2CB126 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.42
#2CB126 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #2CB126
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2CB126#FFFFFF#000000##000000
##2CB1261.002.837.427.42
#FFFFFF2.831.0021.0021.00
#0000007.4221.001.001.00
##0000007.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A000
Deuteranopia (green-blind)
#A69636
Tritanopia (blue-blind)
#00AC97
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #2cb126;
/* rgb */ color: rgb(44, 177, 38);
/* oklch */ color: oklch(66.5% 0.206 142.4);
Tailwind
colors: {
  custom: {
    50: '#7cca6b',
    500: '#2cb126',
    950: '#000000',
  },
}
SCSS
$custom: #2cb126;
$custom-light: #7cca6b;
$custom-dark: #000000;
JSON
{
  "hex": "#2cb126",
  "rgb": {
    "r": 44,
    "g": 177,
    "b": 38
  },
  "hsl": {
    "h": 117.41,
    "s": 64.651,
    "l": 42.157
  },
  "oklch": {
    "l": 0.66517,
    "c": 0.20631,
    "h": 142.4
  },
  "luminance": 0.3212
}

Semantic roles & 50–950 ramp

primary
#2CB126
secondary
#C36BC7
accent
#40E8E0
background
#F8FCF6
surface
#EFF8EC
border
#CAD1C7
text
#0B1307
muted
#7C827A

Preview Lab

Preview with #2CB126

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

Preview Lab → · Contrast checker → · Palette generator →

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