#2C7B22#2C7B22

#2C7B22 is a mid, vivid green. Relative luminance 0.148; OKLCH L 51.5% C 0.146 H 141.5°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#2C7B22
RGBrgb(44, 123, 34)
HSLhsl(113, 57%, 31%)
HSVhsv(113, 72%, 48%)
CMYKcmyk(64.2%, 0%, 72.4%, 51.8%)
CIE-LABlab(45.38, -41.77, 39.74)
CIE-LCHlch(45.38, 57.65, 136.43°)
OKLaboklab(51.53% -0.114 0.0907)
OKLCHoklch(51.53% 0.146 141.5)
XYZxyz(8.4100, 14.8161, 3.9297)
Luminance0.1482 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C7B22 #71227B
analogous
#587B22 #2C7B22 #227B44
triadic
#2C7B22 #222C7B #7B222C
tetradic
#2C7B22 #22587B #71227B #7B4422
square
#2C7B22 #22587B #71227B #7B4422
split-complementary
#2C7B22 #44227B #7B2258
monochromatic
#0A1B07 #1B4B15 #2C7B22 #3DAB2F #59CD4A

Accessibility & contrast

On white

5.30
#2C7B22 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#2C7B22 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C7B22
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C7B22#FFFFFF#000000##FFFFFF
##2C7B221.005.303.965.30
#FFFFFF5.301.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E6F14
Deuteranopia (green-blind)
#74692B
Tritanopia (blue-blind)
#1F7769
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #2c7b22;
/* rgb */ color: rgb(44, 123, 34);
/* oklch */ color: oklch(51.5% 0.146 141.5);
Tailwind
colors: {
  custom: {
    50: '#70a262',
    500: '#2c7b22',
    950: '#000000',
  },
}
SCSS
$custom: #2c7b22;
$custom-light: #70a262;
$custom-dark: #000000;
JSON
{
  "hex": "#2c7b22",
  "rgb": {
    "r": 44,
    "g": 123,
    "b": 34
  },
  "hsl": {
    "h": 113.258,
    "s": 56.688,
    "l": 30.784
  },
  "oklch": {
    "l": 0.51532,
    "c": 0.1457,
    "h": 141.5
  },
  "luminance": 0.14817
}

Semantic roles & 50–950 ramp

primary
#2C7B22
secondary
#A34BAE
accent
#48E0CF
background
#F7FAF6
surface
#EDF3EB
border
#C8CDC6
text
#080F05
muted
#7B7F7A

Preview Lab

Preview with #2C7B22

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

Preview Lab → · Contrast checker → · Palette generator →

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