#2C8338#2C8338

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

Color values

HEX#2C8338
RGBrgb(44, 131, 56)
HSLhsl(128, 50%, 34%)
HSVhsv(128, 66%, 51%)
CMYKcmyk(66.4%, 0%, 57.3%, 48.6%)
CIE-LABlab(48.33, -42.27, 32.69)
CIE-LCHlch(48.33, 53.44, 142.28°)
OKLaboklab(54.04% -0.1143 0.078)
OKLCHoklch(54.04% 0.138 145.7)
XYZxyz(9.8682, 17.0526, 6.5120)
Luminance0.1705 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C8338 #832C77
analogous
#4C832C #2C8338 #2C8364
triadic
#2C8338 #382C83 #83382C
tetradic
#2C8338 #2C4C83 #832C77 #83642C
square
#2C8338 #2C4C83 #832C77 #83642C
split-complementary
#2C8338 #642C83 #832C4C
monochromatic
#0D2711 #1D5524 #2C8338 #3BB14C #60CA6E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2C8338#FFFFFF#000000##FFFFFF
##2C83381.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)
#857731
Deuteranopia (green-blind)
#7A703E
Tritanopia (blue-blind)
#148072
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #2c8338;
/* rgb */ color: rgb(44, 131, 56);
/* oklch */ color: oklch(54.0% 0.138 145.7);
Tailwind
colors: {
  custom: {
    50: '#70a871',
    500: '#2c8338',
    950: '#000000',
  },
}
SCSS
$custom: #2c8338;
$custom-light: #70a871;
$custom-dark: #000000;
JSON
{
  "hex": "#2c8338",
  "rgb": {
    "r": 44,
    "g": 131,
    "b": 56
  },
  "hsl": {
    "h": 128.276,
    "s": 49.714,
    "l": 34.314
  },
  "oklch": {
    "l": 0.54037,
    "c": 0.13833,
    "h": 145.7
  },
  "luminance": 0.17054
}

Semantic roles & 50–950 ramp

primary
#2C8338
secondary
#B05BA4
accent
#4FC6D9
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#081008
muted
#7B7F7B

Preview Lab

Preview with #2C8338

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

Preview Lab → · Contrast checker → · Palette generator →

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