#2C7922#2C7922

#2C7922 is a mid, vivid green. Relative luminance 0.143; OKLCH L 51.0% C 0.143 H 141.5°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#2C7922
RGBrgb(44, 121, 34)
HSLhsl(113, 56%, 30%)
HSVhsv(113, 72%, 47%)
CMYKcmyk(63.6%, 0%, 71.9%, 52.5%)
CIE-LABlab(44.70, -41.00, 39.02)
CIE-LCHlch(44.70, 56.60, 136.42°)
OKLaboklab(50.97% -0.1119 0.0892)
OKLCHoklch(50.97% 0.143 141.5)
XYZxyz(8.1644, 14.3249, 3.8478)
Luminance0.1433 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C7922 #6F2279
analogous
#587922 #2C7922 #227943
triadic
#2C7922 #222C79 #79222C
tetradic
#2C7922 #225879 #6F2279 #794322
square
#2C7922 #225879 #6F2279 #794322
split-complementary
#2C7922 #432279 #792258
monochromatic
#091907 #1B4915 #2C7922 #3DA92F #58CC49

Accessibility & contrast

On white

5.43
#2C7922 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#2C7922 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C7922
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C7922#FFFFFF#000000##FFFFFF
##2C79221.005.433.875.43
#FFFFFF5.431.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6E15
Deuteranopia (green-blind)
#73672A
Tritanopia (blue-blind)
#207568
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #2c7922;
/* rgb */ color: rgb(44, 121, 34);
/* oklch */ color: oklch(51.0% 0.143 141.5);
Tailwind
colors: {
  custom: {
    50: '#6fa062',
    500: '#2c7922',
    950: '#000000',
  },
}
SCSS
$custom: #2c7922;
$custom-light: #6fa062;
$custom-dark: #000000;
JSON
{
  "hex": "#2c7922",
  "rgb": {
    "r": 44,
    "g": 121,
    "b": 34
  },
  "hsl": {
    "h": 113.103,
    "s": 56.129,
    "l": 30.392
  },
  "oklch": {
    "l": 0.50965,
    "c": 0.14314,
    "h": 141.5
  },
  "luminance": 0.14326
}

Semantic roles & 50–950 ramp

primary
#2C7922
secondary
#A14BAC
accent
#48DFCE
background
#F7F9F6
surface
#EDF2EB
border
#C8CCC6
text
#080F05
muted
#7B7E7A

Preview Lab

Preview with #2C7922

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

Preview Lab → · Contrast checker → · Palette generator →

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