#2C7316#2C7316

#2C7316 is a mid, vivid green. Relative luminance 0.129; OKLCH L 49.2% C 0.143 H 139.6°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#2C7316
RGBrgb(44, 115, 22)
HSLhsl(106, 68%, 27%)
HSVhsv(106, 81%, 45%)
CMYKcmyk(61.7%, 0%, 80.9%, 54.9%)
CIE-LABlab(42.54, -39.67, 41.52)
CIE-LCHlch(42.54, 57.43, 133.69°)
OKLaboklab(49.16% -0.1091 0.0927)
OKLCHoklch(49.16% 0.143 139.6)
XYZxyz(7.3139, 12.8542, 2.8546)
Luminance0.1285 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C7316 #5D1673
analogous
#5B7316 #2C7316 #16732E
triadic
#2C7316 #162C73 #73162C
tetradic
#2C7316 #165B73 #5D1673 #732E16
square
#2C7316 #165B73 #5D1673 #732E16
split-complementary
#2C7316 #2E1673 #73165B
monochromatic
#0A1A05 #18400C #2C7316 #40A620 #55D72D

Accessibility & contrast

On white

5.88
#2C7316 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#2C7316 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C7316
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C7316#FFFFFF#000000##FFFFFF
##2C73161.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766800
Deuteranopia (green-blind)
#6E6221
Tritanopia (blue-blind)
#236F62
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #2c7316;
/* rgb */ color: rgb(44, 115, 22);
/* oklch */ color: oklch(49.2% 0.143 139.6);
Tailwind
colors: {
  custom: {
    50: '#6f9c5b',
    500: '#2c7316',
    950: '#000000',
  },
}
SCSS
$custom: #2c7316;
$custom-light: #6f9c5b;
$custom-dark: #000000;
JSON
{
  "hex": "#2c7316",
  "rgb": {
    "r": 44,
    "g": 115,
    "b": 22
  },
  "hsl": {
    "h": 105.806,
    "s": 67.883,
    "l": 26.863
  },
  "oklch": {
    "l": 0.49159,
    "c": 0.14315,
    "h": 139.6
  },
  "luminance": 0.12855
}

Semantic roles & 50–950 ramp

primary
#2C7316
secondary
#8F3CA9
accent
#3DEBC2
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #2C7316

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

Preview Lab → · Contrast checker → · Palette generator →

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