#2C7E15#2C7E15

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

Color values

HEX#2C7E15
RGBrgb(44, 126, 21)
HSLhsl(107, 71%, 29%)
HSVhsv(107, 83%, 49%)
CMYKcmyk(65.1%, 0%, 83.3%, 50.6%)
CIE-LABlab(46.33, -43.88, 45.43)
CIE-LCHlch(46.33, 63.16, 134.00°)
OKLaboklab(52.29% -0.1204 0.1007)
OKLCHoklch(52.29% 0.157 140.1)
XYZxyz(8.6345, 15.5105, 3.2481)
Luminance0.1551 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C7E15 #67157E
analogous
#617E15 #2C7E15 #157E33
triadic
#2C7E15 #152C7E #7E152C
tetradic
#2C7E15 #15617E #67157E #7E3315
square
#2C7E15 #15617E #67157E #7E3315
split-complementary
#2C7E15 #33157E #7E1561
monochromatic
#091A04 #1A4A0C #2C7E15 #3EB21E #56DD31

Accessibility & contrast

On white

5.12
#2C7E15 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#2C7E15 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C7E15
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C7E15#FFFFFF#000000##FFFFFF
##2C7E151.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827200
Deuteranopia (green-blind)
#786B22
Tritanopia (blue-blind)
#207A6B
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #2c7e15;
/* rgb */ color: rgb(44, 126, 21);
/* oklch */ color: oklch(52.3% 0.157 140.1);
Tailwind
colors: {
  custom: {
    50: '#71a45d',
    500: '#2c7e15',
    950: '#000000',
  },
}
SCSS
$custom: #2c7e15;
$custom-light: #71a45d;
$custom-dark: #000000;
JSON
{
  "hex": "#2c7e15",
  "rgb": {
    "r": 44,
    "g": 126,
    "b": 21
  },
  "hsl": {
    "h": 106.857,
    "s": 71.429,
    "l": 28.824
  },
  "oklch": {
    "l": 0.52287,
    "c": 0.157,
    "h": 140.1
  },
  "luminance": 0.15511
}

Semantic roles & 50–950 ramp

primary
#2C7E15
secondary
#993CB3
accent
#3AEEC7
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #2C7E15

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

Preview Lab → · Contrast checker → · Palette generator →

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