#2C8145#2C8145

#2C8145 is a mid, vivid green. Relative luminance 0.167; OKLCH L 53.7% C 0.123 H 149.8°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#2C8145
RGBrgb(44, 129, 69)
HSLhsl(138, 49%, 34%)
HSVhsv(138, 66%, 51%)
CMYKcmyk(65.9%, 0%, 46.5%, 49.4%)
CIE-LABlab(47.83, -39.40, 25.19)
CIE-LCHlch(47.83, 46.77, 147.41°)
OKLaboklab(53.69% -0.1063 0.0619)
OKLCHoklch(53.69% 0.123 149.8)
XYZxyz(9.9624, 16.6646, 8.3207)
Luminance0.1667 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C8145 #812C68
analogous
#3E812C #2C8145 #2C8170
triadic
#2C8145 #452C81 #81452C
tetradic
#2C8145 #2C3E81 #812C68 #81702C
square
#2C8145 #2C3E81 #812C68 #81702C
split-complementary
#2C8145 #702C81 #812C3E
monochromatic
#0D2614 #1C532D #2C8145 #3CAF5D #5FC87E

Accessibility & contrast

On white

4.85
#2C8145 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#2C8145 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C8145
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C8145#FFFFFF#000000##FFFFFF
##2C81451.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827640
Deuteranopia (green-blind)
#776F49
Tritanopia (blue-blind)
#0D7F73
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #2c8145;
/* rgb */ color: rgb(44, 129, 69);
/* oklch */ color: oklch(53.7% 0.123 149.8);
Tailwind
colors: {
  custom: {
    50: '#6fa679',
    500: '#2c8145',
    950: '#000000',
  },
}
SCSS
$custom: #2c8145;
$custom-light: #6fa679;
$custom-dark: #000000;
JSON
{
  "hex": "#2c8145",
  "rgb": {
    "r": 44,
    "g": 129,
    "b": 69
  },
  "hsl": {
    "h": 137.647,
    "s": 49.133,
    "l": 33.922
  },
  "oklch": {
    "l": 0.53692,
    "c": 0.12303,
    "h": 149.8
  },
  "luminance": 0.16666
}

Semantic roles & 50–950 ramp

primary
#2C8145
secondary
#AF5A96
accent
#4FB0D9
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#080F09
muted
#7B7F7B

Preview Lab

Preview with #2C8145

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

Preview Lab → · Contrast checker → · Palette generator →

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