#2C8417#2C8417

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

Color values

HEX#2C8417
RGBrgb(44, 132, 23)
HSLhsl(108, 70%, 30%)
HSVhsv(108, 83%, 52%)
CMYKcmyk(66.7%, 0%, 82.6%, 48.2%)
CIE-LABlab(48.38, -45.93, 46.74)
CIE-LCHlch(48.38, 65.53, 134.50°)
OKLaboklab(54% -0.1259 0.1038)
OKLCHoklch(54% 0.163 140.5)
XYZxyz(9.4442, 17.0989, 3.6132)
Luminance0.1710 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C8417 #6F1784
analogous
#638417 #2C8417 #178438
triadic
#2C8417 #172C84 #84172C
tetradic
#2C8417 #176384 #6F1784 #843817
square
#2C8417 #176384 #6F1784 #843817
split-complementary
#2C8417 #381784 #841763
monochromatic
#091C05 #1B500E #2C8417 #3DB820 #58DC39

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2C8417#FFFFFF#000000##FFFFFF
##2C84171.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)
#1D8070
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #2c8417;
/* rgb */ color: rgb(44, 132, 23);
/* oklch */ color: oklch(54.0% 0.163 140.5);
Tailwind
colors: {
  custom: {
    50: '#72a95e',
    500: '#2c8417',
    950: '#000000',
  },
}
SCSS
$custom: #2c8417;
$custom-light: #72a95e;
$custom-dark: #000000;
JSON
{
  "hex": "#2c8417",
  "rgb": {
    "r": 44,
    "g": 132,
    "b": 23
  },
  "hsl": {
    "h": 108.44,
    "s": 70.323,
    "l": 30.392
  },
  "oklch": {
    "l": 0.53995,
    "c": 0.16312,
    "h": 140.5
  },
  "luminance": 0.171
}

Semantic roles & 50–950 ramp

primary
#2C8417
secondary
#A13FB8
accent
#3BEDCB
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#091005
muted
#7B7F79

Preview Lab

Preview with #2C8417

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

Preview Lab → · Contrast checker → · Palette generator →

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