#2C7214#2C7214

#2C7214 is a mid, vivid green. Relative luminance 0.126; OKLCH L 48.9% C 0.143 H 139.4°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#2C7214
RGBrgb(44, 114, 20)
HSLhsl(105, 70%, 26%)
HSVhsv(105, 82%, 45%)
CMYKcmyk(61.4%, 0%, 82.5%, 55.3%)
CIE-LABlab(42.19, -39.41, 41.86)
CIE-LCHlch(42.19, 57.49, 133.28°)
OKLaboklab(48.86% -0.1085 0.0931)
OKLCHoklch(48.86% 0.143 139.4)
XYZxyz(7.1820, 12.6200, 2.7191)
Luminance0.1262 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C7214 #5A1472
analogous
#5B7214 #2C7214 #14722B
triadic
#2C7214 #142C72 #72142C
tetradic
#2C7214 #145B72 #5A1472 #722B14
square
#2C7214 #145B72 #5A1472 #722B14
split-complementary
#2C7214 #2B1472 #72145B
monochromatic
#0A1A05 #183E0B #2C7214 #40A61D #55D927

Accessibility & contrast

On white

5.96
#2C7214 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#2C7214 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C7214
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C7214#FFFFFF#000000##FFFFFF
##2C72141.005.963.525.96
#FFFFFF5.961.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756700
Deuteranopia (green-blind)
#6D611F
Tritanopia (blue-blind)
#246E61
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #2c7214;
/* rgb */ color: rgb(44, 114, 20);
/* oklch */ color: oklch(48.9% 0.143 139.4);
Tailwind
colors: {
  custom: {
    50: '#6f9b5a',
    500: '#2c7214',
    950: '#000000',
  },
}
SCSS
$custom: #2c7214;
$custom-light: #6f9b5a;
$custom-dark: #000000;
JSON
{
  "hex": "#2c7214",
  "rgb": {
    "r": 44,
    "g": 114,
    "b": 20
  },
  "hsl": {
    "h": 104.681,
    "s": 70.149,
    "l": 26.275
  },
  "oklch": {
    "l": 0.4886,
    "c": 0.14297,
    "h": 139.4
  },
  "luminance": 0.12621
}

Semantic roles & 50–950 ramp

primary
#2C7214
secondary
#8C39A8
accent
#3BEDBF
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #2C7214

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

Preview Lab → · Contrast checker → · Palette generator →

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