#2C721F#2C721F

#2C721F is a mid, vivid green. Relative luminance 0.127; OKLCH L 48.9% C 0.136 H 140.8°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#2C721F
RGBrgb(44, 114, 31)
HSLhsl(111, 57%, 28%)
HSVhsv(111, 73%, 45%)
CMYKcmyk(61.4%, 0%, 72.8%, 55.3%)
CIE-LABlab(42.26, -38.55, 37.74)
CIE-LCHlch(42.26, 53.95, 135.61°)
OKLaboklab(48.95% -0.1055 0.0861)
OKLCHoklch(48.95% 0.136 140.8)
XYZxyz(7.3030, 12.6684, 3.3564)
Luminance0.1267 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C721F #651F72
analogous
#55721F #2C721F #1F723B
triadic
#2C721F #1F2C72 #721F2C
tetradic
#2C721F #1F5572 #651F72 #723B1F
square
#2C721F #1F5572 #651F72 #723B1F
split-complementary
#2C721F #3B1F72 #721F55
monochromatic
#091807 #194212 #2C721F #3FA22C #56CB40

Accessibility & contrast

On white

5.94
#2C721F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#2C721F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C721F
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C721F#FFFFFF#000000##FFFFFF
##2C721F1.005.943.535.94
#FFFFFF5.941.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756712
Deuteranopia (green-blind)
#6C6227
Tritanopia (blue-blind)
#226E61
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #2c721f;
/* rgb */ color: rgb(44, 114, 31);
/* oklch */ color: oklch(48.9% 0.136 140.8);
Tailwind
colors: {
  custom: {
    50: '#6e9b60',
    500: '#2c721f',
    950: '#000000',
  },
}
SCSS
$custom: #2c721f;
$custom-light: #6e9b60;
$custom-dark: #000000;
JSON
{
  "hex": "#2c721f",
  "rgb": {
    "r": 44,
    "g": 114,
    "b": 31
  },
  "hsl": {
    "h": 110.602,
    "s": 57.241,
    "l": 28.431
  },
  "oklch": {
    "l": 0.48945,
    "c": 0.13619,
    "h": 140.8
  },
  "luminance": 0.12669
}

Semantic roles & 50–950 ramp

primary
#2C721F
secondary
#9747A6
accent
#47E0C9
background
#F7F9F5
surface
#EDF2EA
border
#C8CCC6
text
#080E05
muted
#7B7E79

Preview Lab

Preview with #2C721F

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

Preview Lab → · Contrast checker → · Palette generator →

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