#2C731A#2C731A

#2C731A is a mid, vivid green. Relative luminance 0.129; OKLCH L 49.2% C 0.141 H 140.1°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#2C731A
RGBrgb(44, 115, 26)
HSLhsl(108, 63%, 28%)
HSVhsv(108, 77%, 45%)
CMYKcmyk(61.7%, 0%, 77.4%, 54.9%)
CIE-LABlab(42.57, -39.37, 40.08)
CIE-LCHlch(42.57, 56.19, 134.49°)
OKLaboklab(49.19% -0.108 0.0903)
OKLCHoklch(49.19% 0.141 140.1)
XYZxyz(7.3556, 12.8709, 3.0738)
Luminance0.1287 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C731A #611A73
analogous
#59731A #2C731A #1A7334
triadic
#2C731A #1A2C73 #731A2C
tetradic
#2C731A #1A5973 #611A73 #73341A
square
#2C731A #1A5973 #611A73 #73341A
split-complementary
#2C731A #341A73 #731A59
monochromatic
#0A1906 #19410F #2C731A #3FA525 #55D236

Accessibility & contrast

On white

5.88
#2C731A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#2C731A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C731A
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C731A#FFFFFF#000000##FFFFFF
##2C731A1.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766808
Deuteranopia (green-blind)
#6E6223
Tritanopia (blue-blind)
#236F62
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #2c731a;
/* rgb */ color: rgb(44, 115, 26);
/* oklch */ color: oklch(49.2% 0.141 140.1);
Tailwind
colors: {
  custom: {
    50: '#6f9c5d',
    500: '#2c731a',
    950: '#000000',
  },
}
SCSS
$custom: #2c731a;
$custom-light: #6f9c5d;
$custom-dark: #000000;
JSON
{
  "hex": "#2c731a",
  "rgb": {
    "r": 44,
    "g": 115,
    "b": 26
  },
  "hsl": {
    "h": 107.865,
    "s": 63.121,
    "l": 27.647
  },
  "oklch": {
    "l": 0.49188,
    "c": 0.14081,
    "h": 140.1
  },
  "luminance": 0.12872
}

Semantic roles & 50–950 ramp

primary
#2C731A
secondary
#9341A8
accent
#42E6C5
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #2C731A

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

Preview Lab → · Contrast checker → · Palette generator →

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