#2C731C#2C731C

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

Color values

HEX#2C731C
RGBrgb(44, 115, 28)
HSLhsl(109, 61%, 28%)
HSVhsv(109, 76%, 45%)
CMYKcmyk(61.7%, 0%, 75.7%, 54.9%)
CIE-LABlab(42.58, -39.21, 39.31)
CIE-LCHlch(42.58, 55.52, 134.93°)
OKLaboklab(49.2% -0.1075 0.089)
OKLCHoklch(49.2% 0.14 140.4)
XYZxyz(7.3787, 12.8801, 3.1957)
Luminance0.1288 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C731C #631C73
analogous
#57731C #2C731C #1C7338
triadic
#2C731C #1C2C73 #731C2C
tetradic
#2C731C #1C5773 #631C73 #73381C
square
#2C731C #1C5773 #631C73 #73381C
split-complementary
#2C731C #381C73 #731C57
monochromatic
#091906 #194210 #2C731C #3FA428 #56CF3A

Accessibility & contrast

On white

5.87
#2C731C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#2C731C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C731C
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C731C#FFFFFF#000000##FFFFFF
##2C731C1.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#76680D
Deuteranopia (green-blind)
#6D6225
Tritanopia (blue-blind)
#226F62
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #2c731c;
/* rgb */ color: rgb(44, 115, 28);
/* oklch */ color: oklch(49.2% 0.140 140.4);
Tailwind
colors: {
  custom: {
    50: '#6e9c5e',
    500: '#2c731c',
    950: '#000000',
  },
}
SCSS
$custom: #2c731c;
$custom-light: #6e9c5e;
$custom-dark: #000000;
JSON
{
  "hex": "#2c731c",
  "rgb": {
    "r": 44,
    "g": 115,
    "b": 28
  },
  "hsl": {
    "h": 108.966,
    "s": 60.839,
    "l": 28.039
  },
  "oklch": {
    "l": 0.49204,
    "c": 0.13953,
    "h": 140.4
  },
  "luminance": 0.12881
}

Semantic roles & 50–950 ramp

primary
#2C731C
secondary
#9543A7
accent
#44E4C7
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E05
muted
#7B7E79

Preview Lab

Preview with #2C731C

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

Preview Lab → · Contrast checker → · Palette generator →

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