#2C831F#2C831F

#2C831F is a mid, vivid green. Relative luminance 0.169; OKLCH L 53.8% C 0.158 H 141.3°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#2C831F
RGBrgb(44, 131, 31)
HSLhsl(112, 62%, 32%)
HSVhsv(112, 76%, 51%)
CMYKcmyk(66.4%, 0%, 76.3%, 48.6%)
CIE-LABlab(48.09, -45.01, 43.71)
CIE-LCHlch(48.09, 62.74, 135.85°)
OKLaboklab(53.77% -0.123 0.0986)
OKLCHoklch(53.77% 0.158 141.3)
XYZxyz(9.4018, 16.8661, 4.0561)
Luminance0.1687 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C831F #761F83
analogous
#5E831F #2C831F #1F8344
triadic
#2C831F #1F2C83 #831F2C
tetradic
#2C831F #1F5E83 #761F83 #83441F
square
#2C831F #1F5E83 #761F83 #83441F
split-complementary
#2C831F #441F83 #831F5E
monochromatic
#0B2008 #1B5213 #2C831F #3DB42B #5BD449

Accessibility & contrast

On white

4.80
#2C831F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2C831F
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C831F#FFFFFF#000000##FFFFFF
##2C831F1.004.804.374.80
#FFFFFF4.801.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#86760B
Deuteranopia (green-blind)
#7C6F2A
Tritanopia (blue-blind)
#1C7F70
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #2c831f;
/* rgb */ color: rgb(44, 131, 31);
/* oklch */ color: oklch(53.8% 0.158 141.3);
Tailwind
colors: {
  custom: {
    50: '#72a862',
    500: '#2c831f',
    950: '#000000',
  },
}
SCSS
$custom: #2c831f;
$custom-light: #72a862;
$custom-dark: #000000;
JSON
{
  "hex": "#2c831f",
  "rgb": {
    "r": 44,
    "g": 131,
    "b": 31
  },
  "hsl": {
    "h": 112.2,
    "s": 61.728,
    "l": 31.765
  },
  "oklch": {
    "l": 0.53767,
    "c": 0.15762,
    "h": 141.3
  },
  "luminance": 0.16867
}

Semantic roles & 50–950 ramp

primary
#2C831F
secondary
#A748B6
accent
#43E5D0
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091005
muted
#7B7F7A

Preview Lab

Preview with #2C831F

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

Preview Lab → · Contrast checker → · Palette generator →

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