#2C831B#2C831B

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

Color values

HEX#2C831B
RGBrgb(44, 131, 27)
HSLhsl(110, 66%, 31%)
HSVhsv(110, 79%, 51%)
CMYKcmyk(66.4%, 0%, 79.4%, 48.6%)
CIE-LABlab(48.07, -45.31, 45.13)
CIE-LCHlch(48.07, 63.95, 135.12°)
OKLaboklab(53.74% -0.124 0.101)
OKLCHoklch(53.74% 0.16 140.8)
XYZxyz(9.3524, 16.8463, 3.7955)
Luminance0.1685 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C831B #721B83
analogous
#60831B #2C831B #1B833E
triadic
#2C831B #1B2C83 #831B2C
tetradic
#2C831B #1B6083 #721B83 #833E1B
square
#2C831B #1B6083 #721B83 #833E1B
split-complementary
#2C831B #3E1B83 #831B60
monochromatic
#0A1E06 #1B5011 #2C831B #3DB625 #59D841

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2C831B#FFFFFF#000000##FFFFFF
##2C831B1.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)
#877602
Deuteranopia (green-blind)
#7C6F27
Tritanopia (blue-blind)
#1D7F6F
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #2c831b;
/* rgb */ color: rgb(44, 131, 27);
/* oklch */ color: oklch(53.7% 0.160 140.8);
Tailwind
colors: {
  custom: {
    50: '#72a860',
    500: '#2c831b',
    950: '#000000',
  },
}
SCSS
$custom: #2c831b;
$custom-light: #72a860;
$custom-dark: #000000;
JSON
{
  "hex": "#2c831b",
  "rgb": {
    "r": 44,
    "g": 131,
    "b": 27
  },
  "hsl": {
    "h": 110.192,
    "s": 65.823,
    "l": 30.98
  },
  "oklch": {
    "l": 0.53738,
    "c": 0.15991,
    "h": 140.8
  },
  "luminance": 0.16847
}

Semantic roles & 50–950 ramp

primary
#2C831B
secondary
#A443B6
accent
#3FE9CD
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#091005
muted
#7B7F79

Preview Lab

Preview with #2C831B

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

Preview Lab → · Contrast checker → · Palette generator →

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