#2C731E#2C731E

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

Color values

HEX#2C731E
RGBrgb(44, 115, 30)
HSLhsl(110, 59%, 28%)
HSVhsv(110, 74%, 45%)
CMYKcmyk(61.7%, 0%, 73.9%, 54.9%)
CIE-LABlab(42.60, -39.04, 38.51)
CIE-LCHlch(42.60, 54.84, 135.39°)
OKLaboklab(49.22% -0.1069 0.0876)
OKLCHoklch(49.22% 0.138 140.7)
XYZxyz(7.4034, 12.8900, 3.3259)
Luminance0.1289 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C731E #651E73
analogous
#56731E #2C731E #1E733A
triadic
#2C731E #1E2C73 #731E2C
tetradic
#2C731E #1E5673 #651E73 #733A1E
square
#2C731E #1E5673 #651E73 #733A1E
split-complementary
#2C731E #3A1E73 #731E56
monochromatic
#091806 #194211 #2C731E #3FA42B #56CD3F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2C731E#FFFFFF#000000##FFFFFF
##2C731E1.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)
#766810
Deuteranopia (green-blind)
#6D6226
Tritanopia (blue-blind)
#226F62
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #2c731e;
/* rgb */ color: rgb(44, 115, 30);
/* oklch */ color: oklch(49.2% 0.138 140.7);
Tailwind
colors: {
  custom: {
    50: '#6e9c5f',
    500: '#2c731e',
    950: '#000000',
  },
}
SCSS
$custom: #2c731e;
$custom-light: #6e9c5f;
$custom-dark: #000000;
JSON
{
  "hex": "#2c731e",
  "rgb": {
    "r": 44,
    "g": 115,
    "b": 30
  },
  "hsl": {
    "h": 110.118,
    "s": 58.621,
    "l": 28.431
  },
  "oklch": {
    "l": 0.49221,
    "c": 0.13819,
    "h": 140.7
  },
  "luminance": 0.12891
}

Semantic roles & 50–950 ramp

primary
#2C731E
secondary
#9746A7
accent
#46E2C8
background
#F7F9F5
surface
#EDF2EA
border
#C8CCC6
text
#080E05
muted
#7B7E79

Preview Lab

Preview with #2C731E

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

Preview Lab → · Contrast checker → · Palette generator →

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