#2C841C#2C841C

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

Color values

HEX#2C841C
RGBrgb(44, 132, 28)
HSLhsl(111, 65%, 31%)
HSVhsv(111, 79%, 52%)
CMYKcmyk(66.7%, 0%, 78.8%, 48.2%)
CIE-LABlab(48.41, -45.60, 45.11)
CIE-LCHlch(48.41, 64.15, 135.31°)
OKLaboklab(54.03% -0.1247 0.1011)
OKLCHoklch(54.03% 0.161 141)
XYZxyz(9.4991, 17.1209, 3.9024)
Luminance0.1712 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C841C #741C84
analogous
#60841C #2C841C #1C8440
triadic
#2C841C #1C2C84 #841C2C
tetradic
#2C841C #1C6084 #741C84 #84401C
square
#2C841C #1C6084 #741C84 #84401C
split-complementary
#2C841C #401C84 #841C60
monochromatic
#0A1F07 #1B5211 #2C841C #3DB627 #5AD743

Accessibility & contrast

On white

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

On black

4.42
#2C841C on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2C841C#FFFFFF#000000##FFFFFF
##2C841C1.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2c841c;
/* rgb */ color: rgb(44, 132, 28);
/* oklch */ color: oklch(54.0% 0.161 141.0);
Tailwind
colors: {
  custom: {
    50: '#72a961',
    500: '#2c841c',
    950: '#000000',
  },
}
SCSS
$custom: #2c841c;
$custom-light: #72a961;
$custom-dark: #000000;
JSON
{
  "hex": "#2c841c",
  "rgb": {
    "r": 44,
    "g": 132,
    "b": 28
  },
  "hsl": {
    "h": 110.769,
    "s": 65,
    "l": 31.373
  },
  "oklch": {
    "l": 0.54027,
    "c": 0.16055,
    "h": 141
  },
  "luminance": 0.17122
}

Semantic roles & 50–950 ramp

primary
#2C841C
secondary
#A645B7
accent
#40E8CE
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#091005
muted
#7B7F79

Preview Lab

Preview with #2C841C

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

Preview Lab → · Contrast checker → · Palette generator →

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