#2C8112#2C8112

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

Color values

HEX#2C8112
RGBrgb(44, 129, 18)
HSLhsl(106, 76%, 29%)
HSVhsv(106, 86%, 51%)
CMYKcmyk(65.9%, 0%, 86%, 49.4%)
CIE-LABlab(47.34, -45.13, 47.23)
CIE-LCHlch(47.34, 65.32, 133.70°)
OKLaboklab(53.12% -0.124 0.1041)
OKLCHoklch(53.12% 0.162 140)
XYZxyz(8.9977, 16.2788, 3.2401)
Luminance0.1628 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C8112 #671281
analogous
#648112 #2C8112 #128130
triadic
#2C8112 #122C81 #81122C
tetradic
#2C8112 #126481 #671281 #813012
square
#2C8112 #126481 #671281 #813012
split-complementary
#2C8112 #301281 #811264
monochromatic
#091B04 #1A4B0B #2C8112 #3EB719 #56E22C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2C8112#FFFFFF#000000##FFFFFF
##2C81121.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)
#7B6E21
Tritanopia (blue-blind)
#1F7C6D
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #2c8112;
/* rgb */ color: rgb(44, 129, 18);
/* oklch */ color: oklch(53.1% 0.162 140.0);
Tailwind
colors: {
  custom: {
    50: '#72a65c',
    500: '#2c8112',
    950: '#000000',
  },
}
SCSS
$custom: #2c8112;
$custom-light: #72a65c;
$custom-dark: #000000;
JSON
{
  "hex": "#2c8112",
  "rgb": {
    "r": 44,
    "g": 129,
    "b": 18
  },
  "hsl": {
    "h": 105.946,
    "s": 75.51,
    "l": 28.824
  },
  "oklch": {
    "l": 0.53121,
    "c": 0.16184,
    "h": 140
  },
  "luminance": 0.1628
}

Semantic roles & 50–950 ramp

primary
#2C8112
secondary
#9938B7
accent
#36F2C6
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#090F04
muted
#7B7F79

Preview Lab

Preview with #2C8112

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

Preview Lab → · Contrast checker → · Palette generator →

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