#2C8255#2C8255

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

Color values

HEX#2C8255
RGBrgb(44, 130, 85)
HSLhsl(149, 49%, 34%)
HSVhsv(149, 66%, 51%)
CMYKcmyk(66.2%, 0%, 34.6%, 49%)
CIE-LABlab(48.46, -36.70, 17.03)
CIE-LCHlch(48.46, 40.46, 155.11°)
OKLaboklab(54.3% -0.0997 0.0429)
OKLCHoklch(54.3% 0.109 156.7)
XYZxyz(10.6601, 17.1555, 11.3421)
Luminance0.1716 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C8255 #822C59
analogous
#2E822C #2C8255 #2C8280
triadic
#2C8255 #552C82 #82552C
tetradic
#2C8255 #2C2E82 #822C59 #82802C
square
#2C8255 #2C2E82 #822C59 #82802C
split-complementary
#2C8255 #802C82 #822C2E
monochromatic
#0D2719 #1D5437 #2C8255 #3BB073 #5FC992

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2C8255#FFFFFF#000000##FFFFFF
##2C82551.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)
#817852
Deuteranopia (green-blind)
#767058
Tritanopia (blue-blind)
#008176
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #2c8255;
/* rgb */ color: rgb(44, 130, 85);
/* oklch */ color: oklch(54.3% 0.109 156.7);
Tailwind
colors: {
  custom: {
    50: '#6fa785',
    500: '#2c8255',
    950: '#000000',
  },
}
SCSS
$custom: #2c8255;
$custom-light: #6fa785;
$custom-dark: #000000;
JSON
{
  "hex": "#2c8255",
  "rgb": {
    "r": 44,
    "g": 130,
    "b": 85
  },
  "hsl": {
    "h": 148.605,
    "s": 49.425,
    "l": 34.118
  },
  "oklch": {
    "l": 0.54296,
    "c": 0.10853,
    "h": 156.7
  },
  "luminance": 0.17157
}

Semantic roles & 50–950 ramp

primary
#2C8255
secondary
#AF5B87
accent
#4F97D9
background
#F7FAF8
surface
#EDF4EF
border
#C8CECA
text
#080F0B
muted
#7B7F7C

Preview Lab

Preview with #2C8255

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

Preview Lab → · Contrast checker → · Palette generator →

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