#2C8418#2C8418

#2C8418 is a mid, vivid green. Relative luminance 0.171; OKLCH L 54.0% C 0.163 H 140.6°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#2C8418
RGBrgb(44, 132, 24)
HSLhsl(109, 69%, 31%)
HSVhsv(109, 82%, 52%)
CMYKcmyk(66.7%, 0%, 81.8%, 48.2%)
CIE-LABlab(48.39, -45.87, 46.43)
CIE-LCHlch(48.39, 65.27, 134.65°)
OKLaboklab(54% -0.1257 0.1033)
OKLCHoklch(54% 0.163 140.6)
XYZxyz(9.4544, 17.1030, 3.6669)
Luminance0.1710 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C8418 #701884
analogous
#628418 #2C8418 #18843A
triadic
#2C8418 #182C84 #84182C
tetradic
#2C8418 #186284 #701884 #843A18
square
#2C8418 #186284 #701884 #843A18
split-complementary
#2C8418 #3A1884 #841862
monochromatic
#091C05 #1B500F #2C8418 #3DB821 #59DB3B

Accessibility & contrast

On white

4.75
#2C8418 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#2C8418 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C8418
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C8418#FFFFFF#000000##FFFFFF
##2C84181.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#887700
Deuteranopia (green-blind)
#7D7025
Tritanopia (blue-blind)
#1D8070
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #2c8418;
/* rgb */ color: rgb(44, 132, 24);
/* oklch */ color: oklch(54.0% 0.163 140.6);
Tailwind
colors: {
  custom: {
    50: '#72a95f',
    500: '#2c8418',
    950: '#000000',
  },
}
SCSS
$custom: #2c8418;
$custom-light: #72a95f;
$custom-dark: #000000;
JSON
{
  "hex": "#2c8418",
  "rgb": {
    "r": 44,
    "g": 132,
    "b": 24
  },
  "hsl": {
    "h": 108.889,
    "s": 69.231,
    "l": 30.588
  },
  "oklch": {
    "l": 0.54001,
    "c": 0.16264,
    "h": 140.6
  },
  "luminance": 0.17104
}

Semantic roles & 50–950 ramp

primary
#2C8418
secondary
#A240B8
accent
#3CECCB
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#091005
muted
#7B7F79

Preview Lab

Preview with #2C8418

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

Preview Lab → · Contrast checker → · Palette generator →

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