#2C7421#2C7421

#2C7421 is a mid, vivid green. Relative luminance 0.131; OKLCH L 49.5% C 0.137 H 141.2°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#2C7421
RGBrgb(44, 116, 33)
HSLhsl(112, 56%, 29%)
HSVhsv(112, 72%, 45%)
CMYKcmyk(62.1%, 0%, 71.6%, 54.5%)
CIE-LABlab(42.97, -39.15, 37.62)
CIE-LCHlch(42.97, 54.30, 136.14°)
OKLaboklab(49.53% -0.107 0.0861)
OKLCHoklch(49.53% 0.137 141.2)
XYZxyz(7.5582, 13.1354, 3.5756)
Luminance0.1314 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C7421 #692174
analogous
#567421 #2C7421 #217440
triadic
#2C7421 #212C74 #74212C
tetradic
#2C7421 #215674 #692174 #744021
square
#2C7421 #215674 #692174 #744021
split-complementary
#2C7421 #402174 #742156
monochromatic
#091807 #1A4413 #2C7421 #3EA42F #57CA45

Accessibility & contrast

On white

5.79
#2C7421 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#2C7421 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C7421
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C7421#FFFFFF#000000##FFFFFF
##2C74211.005.793.635.79
#FFFFFF5.791.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776915
Deuteranopia (green-blind)
#6E6329
Tritanopia (blue-blind)
#217063
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #2c7421;
/* rgb */ color: rgb(44, 116, 33);
/* oklch */ color: oklch(49.5% 0.137 141.2);
Tailwind
colors: {
  custom: {
    50: '#6e9d61',
    500: '#2c7421',
    950: '#000000',
  },
}
SCSS
$custom: #2c7421;
$custom-light: #6e9d61;
$custom-dark: #000000;
JSON
{
  "hex": "#2c7421",
  "rgb": {
    "r": 44,
    "g": 116,
    "b": 33
  },
  "hsl": {
    "h": 112.048,
    "s": 55.705,
    "l": 29.216
  },
  "oklch": {
    "l": 0.49534,
    "c": 0.13736,
    "h": 141.2
  },
  "luminance": 0.13136
}

Semantic roles & 50–950 ramp

primary
#2C7421
secondary
#9B49A7
accent
#49DFCB
background
#F7F9F5
surface
#EDF2EA
border
#C8CCC6
text
#080E05
muted
#7B7E79

Preview Lab

Preview with #2C7421

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

Preview Lab → · Contrast checker → · Palette generator →

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