#2C7211#2C7211

#2C7211 is a mid, vivid green. Relative luminance 0.126; OKLCH L 48.8% C 0.144 H 139.1°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#2C7211
RGBrgb(44, 114, 17)
HSLhsl(103, 74%, 26%)
HSVhsv(103, 85%, 45%)
CMYKcmyk(61.4%, 0%, 85.1%, 55.3%)
CIE-LABlab(42.17, -39.59, 42.80)
CIE-LCHlch(42.17, 58.30, 132.77°)
OKLaboklab(48.84% -0.1091 0.0946)
OKLCHoklch(48.84% 0.144 139.1)
XYZxyz(7.1569, 12.6099, 2.5870)
Luminance0.1261 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C7211 #571172
analogous
#5C7211 #2C7211 #117226
triadic
#2C7211 #112C72 #72112C
tetradic
#2C7211 #115C72 #571172 #722611
square
#2C7211 #115C72 #571172 #722611
split-complementary
#2C7211 #261172 #72115C
monochromatic
#0A1B04 #173D09 #2C7211 #41A719 #55DD21

Accessibility & contrast

On white

5.96
#2C7211 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#2C7211 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C7211
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C7211#FFFFFF#000000##FFFFFF
##2C72111.005.963.525.96
#FFFFFF5.961.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766700
Deuteranopia (green-blind)
#6D611D
Tritanopia (blue-blind)
#246E60
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #2c7211;
/* rgb */ color: rgb(44, 114, 17);
/* oklch */ color: oklch(48.8% 0.144 139.1);
Tailwind
colors: {
  custom: {
    50: '#6f9b59',
    500: '#2c7211',
    950: '#000000',
  },
}
SCSS
$custom: #2c7211;
$custom-light: #6f9b59;
$custom-dark: #000000;
JSON
{
  "hex": "#2c7211",
  "rgb": {
    "r": 44,
    "g": 114,
    "b": 17
  },
  "hsl": {
    "h": 103.299,
    "s": 74.046,
    "l": 25.686
  },
  "oklch": {
    "l": 0.48842,
    "c": 0.14443,
    "h": 139.1
  },
  "luminance": 0.12611
}

Semantic roles & 50–950 ramp

primary
#2C7211
secondary
#8936A9
accent
#37F1BD
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #2C7211

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

Preview Lab → · Contrast checker → · Palette generator →

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