#2C8337#2C8337

#2C8337 is a mid, vivid green. Relative luminance 0.170; OKLCH L 54.0% C 0.139 H 145.5°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#2C8337
RGBrgb(44, 131, 55)
HSLhsl(128, 50%, 34%)
HSVhsv(128, 66%, 51%)
CMYKcmyk(66.4%, 0%, 58%, 48.6%)
CIE-LABlab(48.31, -42.41, 33.19)
CIE-LCHlch(48.31, 53.85, 141.95°)
OKLaboklab(54.02% -0.1147 0.079)
OKLCHoklch(54.02% 0.139 145.5)
XYZxyz(9.8440, 17.0429, 6.3845)
Luminance0.1704 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C8337 #832C78
analogous
#4D832C #2C8337 #2C8363
triadic
#2C8337 #372C83 #83372C
tetradic
#2C8337 #2C4D83 #832C78 #83632C
square
#2C8337 #2C4D83 #832C78 #83632C
split-complementary
#2C8337 #632C83 #832C4D
monochromatic
#0D2711 #1D5524 #2C8337 #3BB14A #60CA6D

Accessibility & contrast

On white

4.76
#2C8337 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#2C8337 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C8337
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C8337#FFFFFF#000000##FFFFFF
##2C83371.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#857730
Deuteranopia (green-blind)
#7A703D
Tritanopia (blue-blind)
#158072
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #2c8337;
/* rgb */ color: rgb(44, 131, 55);
/* oklch */ color: oklch(54.0% 0.139 145.5);
Tailwind
colors: {
  custom: {
    50: '#70a870',
    500: '#2c8337',
    950: '#000000',
  },
}
SCSS
$custom: #2c8337;
$custom-light: #70a870;
$custom-dark: #000000;
JSON
{
  "hex": "#2c8337",
  "rgb": {
    "r": 44,
    "g": 131,
    "b": 55
  },
  "hsl": {
    "h": 127.586,
    "s": 49.714,
    "l": 34.314
  },
  "oklch": {
    "l": 0.54023,
    "c": 0.13923,
    "h": 145.5
  },
  "luminance": 0.17044
}

Semantic roles & 50–950 ramp

primary
#2C8337
secondary
#B05BA5
accent
#4FC8D9
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#081007
muted
#7B7F7A

Preview Lab

Preview with #2C8337

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

Preview Lab → · Contrast checker → · Palette generator →

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