#2C8256#2C8256

#2C8256 is a mid, moderate green. Relative luminance 0.172; OKLCH L 54.3% C 0.108 H 157.2°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#2C8256
RGBrgb(44, 130, 86)
HSLhsl(149, 49%, 34%)
HSVhsv(149, 66%, 51%)
CMYKcmyk(66.2%, 0%, 33.8%, 49%)
CIE-LABlab(48.48, -36.48, 16.48)
CIE-LCHlch(48.48, 40.03, 155.69°)
OKLaboklab(54.32% -0.0992 0.0416)
OKLCHoklch(54.32% 0.108 157.2)
XYZxyz(10.7001, 17.1715, 11.5528)
Luminance0.1717 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C8256 #822C58
analogous
#2D822C #2C8256 #2C8281
triadic
#2C8256 #562C82 #82562C
tetradic
#2C8256 #2C2D82 #822C58 #82812C
square
#2C8256 #2C2D82 #822C58 #82812C
split-complementary
#2C8256 #812C82 #822C2D
monochromatic
#0D271A #1D5438 #2C8256 #3BB074 #5FC993

Accessibility & contrast

On white

4.74
#2C8256 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#2C8256 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C8256
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C8256#FFFFFF#000000##FFFFFF
##2C82561.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817853
Deuteranopia (green-blind)
#767059
Tritanopia (blue-blind)
#008176
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #2c8256;
/* rgb */ color: rgb(44, 130, 86);
/* oklch */ color: oklch(54.3% 0.108 157.2);
Tailwind
colors: {
  custom: {
    50: '#6fa786',
    500: '#2c8256',
    950: '#000000',
  },
}
SCSS
$custom: #2c8256;
$custom-light: #6fa786;
$custom-dark: #000000;
JSON
{
  "hex": "#2c8256",
  "rgb": {
    "r": 44,
    "g": 130,
    "b": 86
  },
  "hsl": {
    "h": 149.302,
    "s": 49.425,
    "l": 34.118
  },
  "oklch": {
    "l": 0.54319,
    "c": 0.10756,
    "h": 157.2
  },
  "luminance": 0.17173
}

Semantic roles & 50–950 ramp

primary
#2C8256
secondary
#AF5B86
accent
#4F96D9
background
#F7FAF8
surface
#EDF4EF
border
#C8CECA
text
#080F0B
muted
#7B7F7C

Preview Lab

Preview with #2C8256

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

Preview Lab → · Contrast checker → · Palette generator →

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