#2C8334#2C8334

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

Color values

HEX#2C8334
RGBrgb(44, 131, 52)
HSLhsl(126, 50%, 34%)
HSVhsv(126, 66%, 51%)
CMYKcmyk(66.4%, 0%, 60.3%, 48.6%)
CIE-LABlab(48.28, -42.81, 34.65)
CIE-LCHlch(48.28, 55.07, 141.02°)
OKLaboklab(53.98% -0.1159 0.0819)
OKLCHoklch(53.98% 0.142 144.8)
XYZxyz(9.7742, 17.0150, 6.0173)
Luminance0.1702 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C8334 #832C7B
analogous
#50832C #2C8334 #2C8360
triadic
#2C8334 #342C83 #83342C
tetradic
#2C8334 #2C5083 #832C7B #83602C
square
#2C8334 #2C5083 #832C7B #83602C
split-complementary
#2C8334 #602C83 #832C50
monochromatic
#0D2710 #1D5522 #2C8334 #3BB146 #60CA6A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2C8334#FFFFFF#000000##FFFFFF
##2C83341.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)
#85772C
Deuteranopia (green-blind)
#7B703A
Tritanopia (blue-blind)
#168072
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #2c8334;
/* rgb */ color: rgb(44, 131, 52);
/* oklch */ color: oklch(54.0% 0.142 144.8);
Tailwind
colors: {
  custom: {
    50: '#70a86e',
    500: '#2c8334',
    950: '#000000',
  },
}
SCSS
$custom: #2c8334;
$custom-light: #70a86e;
$custom-dark: #000000;
JSON
{
  "hex": "#2c8334",
  "rgb": {
    "r": 44,
    "g": 131,
    "b": 52
  },
  "hsl": {
    "h": 125.517,
    "s": 49.714,
    "l": 34.314
  },
  "oklch": {
    "l": 0.53983,
    "c": 0.1419,
    "h": 144.8
  },
  "luminance": 0.17016
}

Semantic roles & 50–950 ramp

primary
#2C8334
secondary
#B05BA8
accent
#4FCCD9
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#081007
muted
#7B7F7A

Preview Lab

Preview with #2C8334

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

Preview Lab → · Contrast checker → · Palette generator →

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