#2C831C#2C831C

#2C831C is a mid, vivid green. Relative luminance 0.169; OKLCH L 53.7% C 0.159 H 140.9°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#2C831C
RGBrgb(44, 131, 28)
HSLhsl(111, 65%, 31%)
HSVhsv(111, 79%, 51%)
CMYKcmyk(66.4%, 0%, 78.6%, 48.6%)
CIE-LABlab(48.07, -45.24, 44.78)
CIE-LCHlch(48.07, 63.66, 135.29°)
OKLaboklab(53.75% -0.1237 0.1004)
OKLCHoklch(53.75% 0.159 140.9)
XYZxyz(9.3641, 16.8510, 3.8575)
Luminance0.1685 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C831C #731C83
analogous
#5F831C #2C831C #1C833F
triadic
#2C831C #1C2C83 #831C2C
tetradic
#2C831C #1C5F83 #731C83 #833F1C
square
#2C831C #1C5F83 #731C83 #833F1C
split-complementary
#2C831C #3F1C83 #831C5F
monochromatic
#0A1E06 #1B5111 #2C831C #3DB527 #5AD743

Accessibility & contrast

On white

4.81
#2C831C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#2C831C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C831C
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C831C#FFFFFF#000000##FFFFFF
##2C831C1.004.814.374.81
#FFFFFF4.811.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#877604
Deuteranopia (green-blind)
#7C6F27
Tritanopia (blue-blind)
#1D7F70
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #2c831c;
/* rgb */ color: rgb(44, 131, 28);
/* oklch */ color: oklch(53.7% 0.159 140.9);
Tailwind
colors: {
  custom: {
    50: '#72a860',
    500: '#2c831c',
    950: '#000000',
  },
}
SCSS
$custom: #2c831c;
$custom-light: #72a860;
$custom-dark: #000000;
JSON
{
  "hex": "#2c831c",
  "rgb": {
    "r": 44,
    "g": 131,
    "b": 28
  },
  "hsl": {
    "h": 110.68,
    "s": 64.78,
    "l": 31.176
  },
  "oklch": {
    "l": 0.53745,
    "c": 0.15936,
    "h": 140.9
  },
  "luminance": 0.16852
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2C831C

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

Preview Lab → · Contrast checker → · Palette generator →

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