#2C8118#2C8118

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

Color values

HEX#2C8118
RGBrgb(44, 129, 24)
HSLhsl(109, 69%, 30%)
HSVhsv(109, 81%, 51%)
CMYKcmyk(65.9%, 0%, 81.4%, 49.4%)
CIE-LABlab(47.37, -44.79, 45.46)
CIE-LCHlch(47.37, 63.82, 134.57°)
OKLaboklab(53.15% -0.1227 0.1012)
OKLCHoklch(53.15% 0.159 140.5)
XYZxyz(9.0534, 16.3010, 3.5333)
Luminance0.1630 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C8118 #6D1881
analogous
#618118 #2C8118 #188138
triadic
#2C8118 #182C81 #81182C
tetradic
#2C8118 #186181 #6D1881 #813818
square
#2C8118 #186181 #6D1881 #813818
split-complementary
#2C8118 #381881 #811861
monochromatic
#091A05 #1A4D0E #2C8118 #3EB522 #58DA39

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2C8118#FFFFFF#000000##FFFFFF
##2C81181.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)
#857500
Deuteranopia (green-blind)
#7A6E24
Tritanopia (blue-blind)
#1E7D6E
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #2c8118;
/* rgb */ color: rgb(44, 129, 24);
/* oklch */ color: oklch(53.2% 0.159 140.5);
Tailwind
colors: {
  custom: {
    50: '#72a65e',
    500: '#2c8118',
    950: '#000000',
  },
}
SCSS
$custom: #2c8118;
$custom-light: #72a65e;
$custom-dark: #000000;
JSON
{
  "hex": "#2c8118",
  "rgb": {
    "r": 44,
    "g": 129,
    "b": 24
  },
  "hsl": {
    "h": 108.571,
    "s": 68.627,
    "l": 30
  },
  "oklch": {
    "l": 0.53154,
    "c": 0.15909,
    "h": 140.5
  },
  "luminance": 0.16302
}

Semantic roles & 50–950 ramp

primary
#2C8118
secondary
#9F40B5
accent
#3CEBCA
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #2C8118

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

Preview Lab → · Contrast checker → · Palette generator →

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