#2C7331#2C7331

#2C7331 is a mid, vivid green. Relative luminance 0.130; OKLCH L 49.4% C 0.122 H 144.7°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#2C7331
RGBrgb(44, 115, 49)
HSLhsl(124, 45%, 31%)
HSVhsv(124, 62%, 45%)
CMYKcmyk(61.7%, 0%, 57.4%, 54.9%)
CIE-LABlab(42.79, -36.84, 29.69)
CIE-LCHlch(42.79, 47.31, 141.13°)
OKLaboklab(49.44% -0.0999 0.0708)
OKLCHoklch(49.44% 0.122 144.7)
XYZxyz(7.7234, 13.0180, 5.0108)
Luminance0.1302 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C7331 #732C6E
analogous
#4A732C #2C7331 #2C7354
triadic
#2C7331 #312C73 #73312C
tetradic
#2C7331 #2C4A73 #732C6E #73542C
square
#2C7331 #2C4A73 #732C6E #73542C
split-complementary
#2C7331 #542C73 #732C4A
monochromatic
#0A1A0B #1B471E #2C7331 #3D9F44 #5AC061

Accessibility & contrast

On white

5.83
#2C7331 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#2C7331 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C7331
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C7331#FFFFFF#000000##FFFFFF
##2C73311.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#75692B
Deuteranopia (green-blind)
#6C6336
Tritanopia (blue-blind)
#1E7064
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #2c7331;
/* rgb */ color: rgb(44, 115, 49);
/* oklch */ color: oklch(49.4% 0.122 144.7);
Tailwind
colors: {
  custom: {
    50: '#6d9c6b',
    500: '#2c7331',
    950: '#000000',
  },
}
SCSS
$custom: #2c7331;
$custom-light: #6d9c6b;
$custom-dark: #000000;
JSON
{
  "hex": "#2c7331",
  "rgb": {
    "r": 44,
    "g": 115,
    "b": 49
  },
  "hsl": {
    "h": 124.225,
    "s": 44.654,
    "l": 31.176
  },
  "oklch": {
    "l": 0.49443,
    "c": 0.12244,
    "h": 144.7
  },
  "luminance": 0.13019
}

Semantic roles & 50–950 ramp

primary
#2C7331
secondary
#A5569F
accent
#53CBD4
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#080E07
muted
#7B7E7A

Preview Lab

Preview with #2C7331

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

Preview Lab → · Contrast checker → · Palette generator →

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