#2C7D14#2C7D14

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

Color values

HEX#2C7D14
RGBrgb(44, 125, 20)
HSLhsl(106, 72%, 28%)
HSVhsv(106, 84%, 49%)
CMYKcmyk(64.8%, 0%, 84%, 51%)
CIE-LABlab(45.98, -43.57, 45.41)
CIE-LCHlch(45.98, 62.93, 133.81°)
OKLaboklab(52% -0.1197 0.1005)
OKLCHoklch(52% 0.156 140)
XYZxyz(8.4982, 15.2524, 3.1578)
Luminance0.1525 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C7D14 #65147D
analogous
#607D14 #2C7D14 #147D30
triadic
#2C7D14 #142C7D #7D142C
tetradic
#2C7D14 #14607D #65147D #7D3014
square
#2C7D14 #14607D #65147D #7D3014
split-complementary
#2C7D14 #30147D #7D1460
monochromatic
#091A04 #19480C #2C7D14 #3FB21C #56DE2E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2C7D14#FFFFFF#000000##FFFFFF
##2C7D141.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)
#776A21
Tritanopia (blue-blind)
#20796A
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #2c7d14;
/* rgb */ color: rgb(44, 125, 20);
/* oklch */ color: oklch(52.0% 0.156 140.0);
Tailwind
colors: {
  custom: {
    50: '#71a35c',
    500: '#2c7d14',
    950: '#000000',
  },
}
SCSS
$custom: #2c7d14;
$custom-light: #71a35c;
$custom-dark: #000000;
JSON
{
  "hex": "#2c7d14",
  "rgb": {
    "r": 44,
    "g": 125,
    "b": 20
  },
  "hsl": {
    "h": 106.286,
    "s": 72.414,
    "l": 28.431
  },
  "oklch": {
    "l": 0.51997,
    "c": 0.15628,
    "h": 140
  },
  "luminance": 0.15253
}

Semantic roles & 50–950 ramp

primary
#2C7D14
secondary
#973AB2
accent
#39EFC5
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#090F04
muted
#7B7F79

Preview Lab

Preview with #2C7D14

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

Preview Lab → · Contrast checker → · Palette generator →

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