#2C841D#2C841D

#2C841D is a mid, vivid green. Relative luminance 0.171; OKLCH L 54.0% C 0.160 H 141.1°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#2C841D
RGBrgb(44, 132, 29)
HSLhsl(111, 64%, 32%)
HSVhsv(111, 78%, 52%)
CMYKcmyk(66.7%, 0%, 78%, 48.2%)
CIE-LABlab(48.42, -45.53, 44.77)
CIE-LCHlch(48.42, 63.85, 135.49°)
OKLaboklab(54.03% -0.1245 0.1005)
OKLCHoklch(54.03% 0.16 141.1)
XYZxyz(9.5113, 17.1258, 3.9665)
Luminance0.1713 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C841D #751D84
analogous
#60841D #2C841D #1D8442
triadic
#2C841D #1D2C84 #841D2C
tetradic
#2C841D #1D6084 #751D84 #84421D
square
#2C841D #1D6084 #751D84 #84421D
split-complementary
#2C841D #421D84 #841D60
monochromatic
#0B2007 #1B5212 #2C841D #3DB628 #5AD645

Accessibility & contrast

On white

4.75
#2C841D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2C841D
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C841D#FFFFFF#000000##FFFFFF
##2C841D1.004.754.434.75
#FFFFFF4.751.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#877706
Deuteranopia (green-blind)
#7D7028
Tritanopia (blue-blind)
#1C8070
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #2c841d;
/* rgb */ color: rgb(44, 132, 29);
/* oklch */ color: oklch(54.0% 0.160 141.1);
Tailwind
colors: {
  custom: {
    50: '#72a961',
    500: '#2c841d',
    950: '#000000',
  },
}
SCSS
$custom: #2c841d;
$custom-light: #72a961;
$custom-dark: #000000;
JSON
{
  "hex": "#2c841d",
  "rgb": {
    "r": 44,
    "g": 132,
    "b": 29
  },
  "hsl": {
    "h": 111.262,
    "s": 63.975,
    "l": 31.569
  },
  "oklch": {
    "l": 0.54034,
    "c": 0.15999,
    "h": 141.1
  },
  "luminance": 0.17127
}

Semantic roles & 50–950 ramp

primary
#2C841D
secondary
#A746B7
accent
#41E7CF
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091005
muted
#7B7F7A

Preview Lab

Preview with #2C841D

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

Preview Lab → · Contrast checker → · Palette generator →

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