#2C8416#2C8416

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

Color values

HEX#2C8416
RGBrgb(44, 132, 22)
HSLhsl(108, 71%, 30%)
HSVhsv(108, 83%, 52%)
CMYKcmyk(66.7%, 0%, 83.3%, 48.2%)
CIE-LABlab(48.38, -45.99, 47.04)
CIE-LCHlch(48.38, 65.79, 134.36°)
OKLaboklab(53.99% -0.1261 0.1042)
OKLCHoklch(53.99% 0.164 140.4)
XYZxyz(9.4343, 17.0950, 3.5614)
Luminance0.1710 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C8416 #6E1684
analogous
#638416 #2C8416 #168437
triadic
#2C8416 #162C84 #84162C
tetradic
#2C8416 #166384 #6E1684 #843716
square
#2C8416 #166384 #6E1684 #843716
split-complementary
#2C8416 #371684 #841663
monochromatic
#091B05 #1B500D #2C8416 #3DB81F #58DE37

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2C8416#FFFFFF#000000##FFFFFF
##2C84161.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)
#7D7024
Tritanopia (blue-blind)
#1D7F70
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #2c8416;
/* rgb */ color: rgb(44, 132, 22);
/* oklch */ color: oklch(54.0% 0.164 140.4);
Tailwind
colors: {
  custom: {
    50: '#72a95e',
    500: '#2c8416',
    950: '#000000',
  },
}
SCSS
$custom: #2c8416;
$custom-light: #72a95e;
$custom-dark: #000000;
JSON
{
  "hex": "#2c8416",
  "rgb": {
    "r": 44,
    "g": 132,
    "b": 22
  },
  "hsl": {
    "h": 108,
    "s": 71.429,
    "l": 30.196
  },
  "oklch": {
    "l": 0.5399,
    "c": 0.16359,
    "h": 140.4
  },
  "luminance": 0.17096
}

Semantic roles & 50–950 ramp

primary
#2C8416
secondary
#A03DB8
accent
#3AEECA
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#091005
muted
#7B7F79

Preview Lab

Preview with #2C8416

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

Preview Lab → · Contrast checker → · Palette generator →

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