#2C7C16#2C7C16

#2C7C16 is a mid, vivid green. Relative luminance 0.150; OKLCH L 51.7% C 0.154 H 140.1°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#2C7C16
RGBrgb(44, 124, 22)
HSLhsl(107, 70%, 29%)
HSVhsv(107, 82%, 49%)
CMYKcmyk(64.5%, 0%, 82.3%, 51.4%)
CIE-LABlab(45.65, -43.08, 44.48)
CIE-LCHlch(45.65, 61.92, 134.08°)
OKLaboklab(51.73% -0.1182 0.0989)
OKLCHoklch(51.73% 0.154 140.1)
XYZxyz(8.3908, 15.0079, 3.2135)
Luminance0.1501 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C7C16 #66167C
analogous
#5F7C16 #2C7C16 #167C33
triadic
#2C7C16 #162C7C #7C162C
tetradic
#2C7C16 #165F7C #66167C #7C3316
square
#2C7C16 #165F7C #66167C #7C3316
split-complementary
#2C7C16 #33167C #7C165F
monochromatic
#091A05 #1A480D #2C7C16 #3EB01F #56DB32

Accessibility & contrast

On white

5.25
#2C7C16 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#2C7C16 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C7C16
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C7C16#FFFFFF#000000##FFFFFF
##2C7C161.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807000
Deuteranopia (green-blind)
#766A22
Tritanopia (blue-blind)
#207869
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #2c7c16;
/* rgb */ color: rgb(44, 124, 22);
/* oklch */ color: oklch(51.7% 0.154 140.1);
Tailwind
colors: {
  custom: {
    50: '#71a35d',
    500: '#2c7c16',
    950: '#000000',
  },
}
SCSS
$custom: #2c7c16;
$custom-light: #71a35d;
$custom-dark: #000000;
JSON
{
  "hex": "#2c7c16",
  "rgb": {
    "r": 44,
    "g": 124,
    "b": 22
  },
  "hsl": {
    "h": 107.059,
    "s": 69.863,
    "l": 28.627
  },
  "oklch": {
    "l": 0.51725,
    "c": 0.15414,
    "h": 140.1
  },
  "luminance": 0.15009
}

Semantic roles & 50–950 ramp

primary
#2C7C16
secondary
#983DB1
accent
#3BEDC6
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#080F04
muted
#7B7F79

Preview Lab

Preview with #2C7C16

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

Preview Lab → · Contrast checker → · Palette generator →

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