#2C8115#2C8115

#2C8115 is a mid, vivid green. Relative luminance 0.163; OKLCH L 53.1% C 0.161 H 140.2°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#2C8115
RGBrgb(44, 129, 21)
HSLhsl(107, 72%, 29%)
HSVhsv(107, 84%, 51%)
CMYKcmyk(65.9%, 0%, 83.7%, 49.4%)
CIE-LABlab(47.35, -44.97, 46.38)
CIE-LCHlch(47.35, 64.60, 134.11°)
OKLaboklab(53.14% -0.1234 0.1027)
OKLCHoklch(53.14% 0.161 140.2)
XYZxyz(9.0239, 16.2892, 3.3779)
Luminance0.1629 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C8115 #6A1581
analogous
#628115 #2C8115 #158134
triadic
#2C8115 #152C81 #81152C
tetradic
#2C8115 #156281 #6A1581 #813415
square
#2C8115 #156281 #6A1581 #813415
split-complementary
#2C8115 #341581 #811562
monochromatic
#091A04 #1A4C0C #2C8115 #3EB61E #57DE33

Accessibility & contrast

On white

4.93
#2C8115 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#2C8115 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C8115
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C8115#FFFFFF#000000##FFFFFF
##2C81151.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#857400
Deuteranopia (green-blind)
#7B6E22
Tritanopia (blue-blind)
#1F7D6D
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #2c8115;
/* rgb */ color: rgb(44, 129, 21);
/* oklch */ color: oklch(53.1% 0.161 140.2);
Tailwind
colors: {
  custom: {
    50: '#72a65d',
    500: '#2c8115',
    950: '#000000',
  },
}
SCSS
$custom: #2c8115;
$custom-light: #72a65d;
$custom-dark: #000000;
JSON
{
  "hex": "#2c8115",
  "rgb": {
    "r": 44,
    "g": 129,
    "b": 21
  },
  "hsl": {
    "h": 107.222,
    "s": 72,
    "l": 29.412
  },
  "oklch": {
    "l": 0.53137,
    "c": 0.16054,
    "h": 140.2
  },
  "luminance": 0.1629
}

Semantic roles & 50–950 ramp

primary
#2C8115
secondary
#9C3CB6
accent
#39EFC8
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #2C8115

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

Preview Lab → · Contrast checker → · Palette generator →

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