#2C8135#2C8135

#2C8135 is a mid, vivid green. Relative luminance 0.165; OKLCH L 53.4% C 0.138 H 145.1°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#2C8135
RGBrgb(44, 129, 53)
HSLhsl(126, 49%, 34%)
HSVhsv(126, 66%, 51%)
CMYKcmyk(65.9%, 0%, 58.9%, 49.4%)
CIE-LABlab(47.61, -41.90, 33.37)
CIE-LCHlch(47.61, 53.57, 141.47°)
OKLaboklab(53.44% -0.1134 0.0792)
OKLCHoklch(53.44% 0.138 145.1)
XYZxyz(9.5310, 16.4921, 6.0485)
Luminance0.1649 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C8135 #812C78
analogous
#4E812C #2C8135 #2C8160
triadic
#2C8135 #352C81 #81352C
tetradic
#2C8135 #2C4E81 #812C78 #81602C
square
#2C8135 #2C4E81 #812C78 #81602C
split-complementary
#2C8135 #602C81 #812C4E
monochromatic
#0D2610 #1C5322 #2C8135 #3CAF48 #5FC86A

Accessibility & contrast

On white

4.89
#2C8135 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#2C8135 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C8135
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C8135#FFFFFF#000000##FFFFFF
##2C81351.004.894.304.89
#FFFFFF4.891.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#83752E
Deuteranopia (green-blind)
#796E3B
Tritanopia (blue-blind)
#177E70
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #2c8135;
/* rgb */ color: rgb(44, 129, 53);
/* oklch */ color: oklch(53.4% 0.138 145.1);
Tailwind
colors: {
  custom: {
    50: '#70a66f',
    500: '#2c8135',
    950: '#000000',
  },
}
SCSS
$custom: #2c8135;
$custom-light: #70a66f;
$custom-dark: #000000;
JSON
{
  "hex": "#2c8135",
  "rgb": {
    "r": 44,
    "g": 129,
    "b": 53
  },
  "hsl": {
    "h": 126.353,
    "s": 49.133,
    "l": 33.922
  },
  "oklch": {
    "l": 0.53437,
    "c": 0.13831,
    "h": 145.1
  },
  "luminance": 0.16493
}

Semantic roles & 50–950 ramp

primary
#2C8135
secondary
#AF5AA6
accent
#4FCAD9
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#080F07
muted
#7B7F7A

Preview Lab

Preview with #2C8135

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

Preview Lab → · Contrast checker → · Palette generator →

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