#2C7D16#2C7D16

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

Color values

HEX#2C7D16
RGBrgb(44, 125, 22)
HSLhsl(107, 70%, 29%)
HSVhsv(107, 82%, 49%)
CMYKcmyk(64.8%, 0%, 82.4%, 51%)
CIE-LABlab(45.99, -43.45, 44.80)
CIE-LCHlch(45.99, 62.41, 134.12°)
OKLaboklab(52.01% -0.1192 0.0996)
OKLCHoklch(52.01% 0.155 140.1)
XYZxyz(8.5167, 15.2598, 3.2555)
Luminance0.1526 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C7D16 #67167D
analogous
#607D16 #2C7D16 #167D34
triadic
#2C7D16 #162C7D #7D162C
tetradic
#2C7D16 #16607D #67167D #7D3416
square
#2C7D16 #16607D #67167D #7D3416
split-complementary
#2C7D16 #34167D #7D1660
monochromatic
#091A05 #1A490D #2C7D16 #3EB11F #56DB32

Accessibility & contrast

On white

5.18
#2C7D16 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#2C7D16 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C7D16
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C7D16#FFFFFF#000000##FFFFFF
##2C7D161.005.184.055.18
#FFFFFF5.181.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817100
Deuteranopia (green-blind)
#776A22
Tritanopia (blue-blind)
#20796A
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #2c7d16;
/* rgb */ color: rgb(44, 125, 22);
/* oklch */ color: oklch(52.0% 0.155 140.1);
Tailwind
colors: {
  custom: {
    50: '#71a35d',
    500: '#2c7d16',
    950: '#000000',
  },
}
SCSS
$custom: #2c7d16;
$custom-light: #71a35d;
$custom-dark: #000000;
JSON
{
  "hex": "#2c7d16",
  "rgb": {
    "r": 44,
    "g": 125,
    "b": 22
  },
  "hsl": {
    "h": 107.184,
    "s": 70.068,
    "l": 28.824
  },
  "oklch": {
    "l": 0.52009,
    "c": 0.15533,
    "h": 140.1
  },
  "luminance": 0.15261
}

Semantic roles & 50–950 ramp

primary
#2C7D16
secondary
#993DB2
accent
#3BEDC7
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#080F05
muted
#7B7F79

Preview Lab

Preview with #2C7D16

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

Preview Lab → · Contrast checker → · Palette generator →

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