#2C8335#2C8335

#2C8335 is a mid, vivid green. Relative luminance 0.170; OKLCH L 54.0% C 0.141 H 145.0°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#2C8335
RGBrgb(44, 131, 53)
HSLhsl(126, 50%, 34%)
HSVhsv(126, 66%, 51%)
CMYKcmyk(66.4%, 0%, 59.5%, 48.6%)
CIE-LABlab(48.29, -42.68, 34.16)
CIE-LCHlch(48.29, 54.67, 141.32°)
OKLaboklab(54% -0.1155 0.0809)
OKLCHoklch(54% 0.141 145)
XYZxyz(9.7970, 17.0241, 6.1372)
Luminance0.1703 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C8335 #832C7A
analogous
#4F832C #2C8335 #2C8361
triadic
#2C8335 #352C83 #83352C
tetradic
#2C8335 #2C4F83 #832C7A #83612C
square
#2C8335 #2C4F83 #832C7A #83612C
split-complementary
#2C8335 #612C83 #832C4F
monochromatic
#0D2710 #1D5522 #2C8335 #3BB148 #60CA6B

Accessibility & contrast

On white

4.77
#2C8335 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#2C8335 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C8335
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C8335#FFFFFF#000000##FFFFFF
##2C83351.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#85772D
Deuteranopia (green-blind)
#7B703B
Tritanopia (blue-blind)
#168072
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #2c8335;
/* rgb */ color: rgb(44, 131, 53);
/* oklch */ color: oklch(54.0% 0.141 145.0);
Tailwind
colors: {
  custom: {
    50: '#70a86f',
    500: '#2c8335',
    950: '#000000',
  },
}
SCSS
$custom: #2c8335;
$custom-light: #70a86f;
$custom-dark: #000000;
JSON
{
  "hex": "#2c8335",
  "rgb": {
    "r": 44,
    "g": 131,
    "b": 53
  },
  "hsl": {
    "h": 126.207,
    "s": 49.714,
    "l": 34.314
  },
  "oklch": {
    "l": 0.53996,
    "c": 0.14102,
    "h": 145
  },
  "luminance": 0.17025
}

Semantic roles & 50–950 ramp

primary
#2C8335
secondary
#B05BA7
accent
#4FCBD9
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#081007
muted
#7B7F7A

Preview Lab

Preview with #2C8335

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

Preview Lab → · Contrast checker → · Palette generator →

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