#2C831A#2C831A

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

Color values

HEX#2C831A
RGBrgb(44, 131, 26)
HSLhsl(110, 67%, 31%)
HSVhsv(110, 80%, 51%)
CMYKcmyk(66.4%, 0%, 80.2%, 48.6%)
CIE-LABlab(48.06, -45.38, 45.46)
CIE-LCHlch(48.06, 64.23, 134.95°)
OKLaboklab(53.73% -0.1242 0.1015)
OKLCHoklch(53.73% 0.16 140.7)
XYZxyz(9.3410, 16.8417, 3.7356)
Luminance0.1684 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C831A #711A83
analogous
#60831A #2C831A #1A833C
triadic
#2C831A #1A2C83 #831A2C
tetradic
#2C831A #1A6083 #711A83 #833C1A
square
#2C831A #1A6083 #711A83 #833C1A
split-complementary
#2C831A #3C1A83 #831A60
monochromatic
#0A1D06 #1B5010 #2C831A #3DB624 #59D93F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2C831A#FFFFFF#000000##FFFFFF
##2C831A1.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)
#877600
Deuteranopia (green-blind)
#7C6F26
Tritanopia (blue-blind)
#1D7F6F
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #2c831a;
/* rgb */ color: rgb(44, 131, 26);
/* oklch */ color: oklch(53.7% 0.160 140.7);
Tailwind
colors: {
  custom: {
    50: '#72a85f',
    500: '#2c831a',
    950: '#000000',
  },
}
SCSS
$custom: #2c831a;
$custom-light: #72a85f;
$custom-dark: #000000;
JSON
{
  "hex": "#2c831a",
  "rgb": {
    "r": 44,
    "g": 131,
    "b": 26
  },
  "hsl": {
    "h": 109.714,
    "s": 66.879,
    "l": 30.784
  },
  "oklch": {
    "l": 0.53732,
    "c": 0.16044,
    "h": 140.7
  },
  "luminance": 0.16843
}

Semantic roles & 50–950 ramp

primary
#2C831A
secondary
#A342B7
accent
#3EEACC
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#091005
muted
#7B7F79

Preview Lab

Preview with #2C831A

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

Preview Lab → · Contrast checker → · Palette generator →

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