#2C8018#2C8018

#2C8018 is a mid, vivid green. Relative luminance 0.160; OKLCH L 52.9% C 0.158 H 140.4°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#2C8018
RGBrgb(44, 128, 24)
HSLhsl(108, 68%, 30%)
HSVhsv(108, 81%, 50%)
CMYKcmyk(65.6%, 0%, 81.3%, 49.8%)
CIE-LABlab(47.03, -44.42, 45.14)
CIE-LCHlch(47.03, 63.33, 134.54°)
OKLaboklab(52.87% -0.1217 0.1006)
OKLCHoklch(52.87% 0.158 140.4)
XYZxyz(8.9223, 16.0389, 3.4896)
Luminance0.1604 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C8018 #6C1880
analogous
#608018 #2C8018 #188038
triadic
#2C8018 #182C80 #80182C
tetradic
#2C8018 #186080 #6C1880 #803818
square
#2C8018 #186080 #6C1880 #803818
split-complementary
#2C8018 #381880 #801860
monochromatic
#091A05 #1A4C0E #2C8018 #3EB422 #58DA39

Accessibility & contrast

On white

4.99
#2C8018 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#2C8018 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C8018
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C8018#FFFFFF#000000##FFFFFF
##2C80181.004.994.214.99
#FFFFFF4.991.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847400
Deuteranopia (green-blind)
#7A6D24
Tritanopia (blue-blind)
#1F7C6D
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #2c8018;
/* rgb */ color: rgb(44, 128, 24);
/* oklch */ color: oklch(52.9% 0.158 140.4);
Tailwind
colors: {
  custom: {
    50: '#71a65e',
    500: '#2c8018',
    950: '#000000',
  },
}
SCSS
$custom: #2c8018;
$custom-light: #71a65e;
$custom-dark: #000000;
JSON
{
  "hex": "#2c8018",
  "rgb": {
    "r": 44,
    "g": 128,
    "b": 24
  },
  "hsl": {
    "h": 108.462,
    "s": 68.421,
    "l": 29.804
  },
  "oklch": {
    "l": 0.52871,
    "c": 0.15791,
    "h": 140.4
  },
  "luminance": 0.1604
}

Semantic roles & 50–950 ramp

primary
#2C8018
secondary
#9E40B4
accent
#3DEBCA
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #2C8018

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

Preview Lab → · Contrast checker → · Palette generator →

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