#2C8117#2C8117

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

Color values

HEX#2C8117
RGBrgb(44, 129, 23)
HSLhsl(108, 70%, 30%)
HSVhsv(108, 82%, 51%)
CMYKcmyk(65.9%, 0%, 82.2%, 49.4%)
CIE-LABlab(47.36, -44.85, 45.78)
CIE-LCHlch(47.36, 64.09, 134.41°)
OKLaboklab(53.15% -0.123 0.1017)
OKLCHoklch(53.15% 0.16 140.4)
XYZxyz(9.0432, 16.2970, 3.4795)
Luminance0.1630 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C8117 #6C1781
analogous
#618117 #2C8117 #178137
triadic
#2C8117 #172C81 #81172C
tetradic
#2C8117 #176181 #6C1781 #813717
square
#2C8117 #176181 #6C1781 #813717
split-complementary
#2C8117 #371781 #811761
monochromatic
#091A05 #1A4D0E #2C8117 #3EB520 #58DB37

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2C8117#FFFFFF#000000##FFFFFF
##2C81171.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)
#857500
Deuteranopia (green-blind)
#7A6E24
Tritanopia (blue-blind)
#1E7D6E
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #2c8117;
/* rgb */ color: rgb(44, 129, 23);
/* oklch */ color: oklch(53.1% 0.160 140.4);
Tailwind
colors: {
  custom: {
    50: '#72a65e',
    500: '#2c8117',
    950: '#000000',
  },
}
SCSS
$custom: #2c8117;
$custom-light: #72a65e;
$custom-dark: #000000;
JSON
{
  "hex": "#2c8117",
  "rgb": {
    "r": 44,
    "g": 129,
    "b": 23
  },
  "hsl": {
    "h": 108.113,
    "s": 69.737,
    "l": 29.804
  },
  "oklch": {
    "l": 0.53148,
    "c": 0.1596,
    "h": 140.4
  },
  "luminance": 0.16298
}

Semantic roles & 50–950 ramp

primary
#2C8117
secondary
#9E3EB5
accent
#3BEDC9
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #2C8117

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

Preview Lab → · Contrast checker → · Palette generator →

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