#2C8046#2C8046

#2C8046 is a mid, vivid green. Relative luminance 0.164; OKLCH L 53.4% C 0.121 H 150.3°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#2C8046
RGBrgb(44, 128, 70)
HSLhsl(139, 49%, 34%)
HSVhsv(139, 66%, 50%)
CMYKcmyk(65.6%, 0%, 45.3%, 49.8%)
CIE-LABlab(47.51, -38.81, 24.23)
CIE-LCHlch(47.51, 45.75, 148.03°)
OKLaboklab(53.43% -0.1048 0.0597)
OKLCHoklch(53.43% 0.121 150.3)
XYZxyz(9.8626, 16.4150, 8.4418)
Luminance0.1642 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C8046 #802C66
analogous
#3C802C #2C8046 #2C8070
triadic
#2C8046 #462C80 #80462C
tetradic
#2C8046 #2C3C80 #802C66 #80702C
square
#2C8046 #2C3C80 #802C66 #80702C
split-complementary
#2C8046 #702C80 #802C3C
monochromatic
#0D2514 #1C522D #2C8046 #3CAE5F #5FC87F

Accessibility & contrast

On white

4.90
#2C8046 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#2C8046 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C8046
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C8046#FFFFFF#000000##FFFFFF
##2C80461.004.904.284.90
#FFFFFF4.901.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817542
Deuteranopia (green-blind)
#766E4A
Tritanopia (blue-blind)
#0D7E72
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #2c8046;
/* rgb */ color: rgb(44, 128, 70);
/* oklch */ color: oklch(53.4% 0.121 150.3);
Tailwind
colors: {
  custom: {
    50: '#6fa67a',
    500: '#2c8046',
    950: '#000000',
  },
}
SCSS
$custom: #2c8046;
$custom-light: #6fa67a;
$custom-dark: #000000;
JSON
{
  "hex": "#2c8046",
  "rgb": {
    "r": 44,
    "g": 128,
    "b": 70
  },
  "hsl": {
    "h": 138.571,
    "s": 48.837,
    "l": 33.725
  },
  "oklch": {
    "l": 0.53433,
    "c": 0.12057,
    "h": 150.3
  },
  "luminance": 0.16416
}

Semantic roles & 50–950 ramp

primary
#2C8046
secondary
#AE5A94
accent
#4FAED8
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#080F09
muted
#7B7F7B

Preview Lab

Preview with #2C8046

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

Preview Lab → · Contrast checker → · Palette generator →

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