#2C7F15#2C7F15

#2C7F15 is a mid, vivid green. Relative luminance 0.158; OKLCH L 52.6% C 0.158 H 140.1°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#2C7F15
RGBrgb(44, 127, 21)
HSLhsl(107, 72%, 29%)
HSVhsv(107, 83%, 50%)
CMYKcmyk(65.4%, 0%, 83.5%, 50.2%)
CIE-LABlab(46.67, -44.24, 45.75)
CIE-LCHlch(46.67, 63.64, 134.04°)
OKLaboklab(52.57% -0.1214 0.1014)
OKLCHoklch(52.57% 0.158 140.1)
XYZxyz(8.7630, 15.7675, 3.2910)
Luminance0.1577 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C7F15 #68157F
analogous
#617F15 #2C7F15 #157F33
triadic
#2C7F15 #152C7F #7F152C
tetradic
#2C7F15 #15617F #68157F #7F3315
square
#2C7F15 #15617F #68157F #7F3315
split-complementary
#2C7F15 #33157F #7F1561
monochromatic
#091A04 #1A4A0C #2C7F15 #3EB41E #57DD31

Accessibility & contrast

On white

5.06
#2C7F15 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#2C7F15 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C7F15
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C7F15#FFFFFF#000000##FFFFFF
##2C7F151.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837300
Deuteranopia (green-blind)
#796C22
Tritanopia (blue-blind)
#1F7B6C
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #2c7f15;
/* rgb */ color: rgb(44, 127, 21);
/* oklch */ color: oklch(52.6% 0.158 140.1);
Tailwind
colors: {
  custom: {
    50: '#71a55d',
    500: '#2c7f15',
    950: '#000000',
  },
}
SCSS
$custom: #2c7f15;
$custom-light: #71a55d;
$custom-dark: #000000;
JSON
{
  "hex": "#2c7f15",
  "rgb": {
    "r": 44,
    "g": 127,
    "b": 21
  },
  "hsl": {
    "h": 106.981,
    "s": 71.622,
    "l": 29.02
  },
  "oklch": {
    "l": 0.5257,
    "c": 0.15819,
    "h": 140.1
  },
  "luminance": 0.15768
}

Semantic roles & 50–950 ramp

primary
#2C7F15
secondary
#9A3CB4
accent
#39EEC7
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #2C7F15

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

Preview Lab → · Contrast checker → · Palette generator →

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