#2C7B16#2C7B16

#2C7B16 is a mid, vivid green. Relative luminance 0.148; OKLCH L 51.4% C 0.153 H 140.1°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#2C7B16
RGBrgb(44, 123, 22)
HSLhsl(107, 70%, 28%)
HSVhsv(107, 82%, 48%)
CMYKcmyk(64.2%, 0%, 82.1%, 51.8%)
CIE-LABlab(45.30, -42.71, 44.15)
CIE-LCHlch(45.30, 61.43, 134.05°)
OKLaboklab(51.44% -0.1172 0.0982)
OKLCHoklch(51.44% 0.153 140.1)
XYZxyz(8.2661, 14.7585, 3.1720)
Luminance0.1476 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C7B16 #65167B
analogous
#5E7B16 #2C7B16 #167B32
triadic
#2C7B16 #162C7B #7B162C
tetradic
#2C7B16 #165E7B #65167B #7B3216
square
#2C7B16 #165E7B #65167B #7B3216
split-complementary
#2C7B16 #32167B #7B165E
monochromatic
#091A05 #19470D #2C7B16 #3FAF1F #56DA31

Accessibility & contrast

On white

5.31
#2C7B16 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#2C7B16 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C7B16
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C7B16#FFFFFF#000000##FFFFFF
##2C7B161.005.313.955.31
#FFFFFF5.311.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F6F00
Deuteranopia (green-blind)
#756922
Tritanopia (blue-blind)
#217768
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #2c7b16;
/* rgb */ color: rgb(44, 123, 22);
/* oklch */ color: oklch(51.4% 0.153 140.1);
Tailwind
colors: {
  custom: {
    50: '#70a25d',
    500: '#2c7b16',
    950: '#000000',
  },
}
SCSS
$custom: #2c7b16;
$custom-light: #70a25d;
$custom-dark: #000000;
JSON
{
  "hex": "#2c7b16",
  "rgb": {
    "r": 44,
    "g": 123,
    "b": 22
  },
  "hsl": {
    "h": 106.931,
    "s": 69.655,
    "l": 28.431
  },
  "oklch": {
    "l": 0.51441,
    "c": 0.15293,
    "h": 140.1
  },
  "luminance": 0.14759
}

Semantic roles & 50–950 ramp

primary
#2C7B16
secondary
#973DB0
accent
#3BECC6
background
#F7FAF5
surface
#EDF3E9
border
#C8CDC5
text
#080F04
muted
#7B7F79

Preview Lab

Preview with #2C7B16

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

Preview Lab → · Contrast checker → · Palette generator →

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