#2C7C15#2C7C15

#2C7C15 is a mid, vivid green. Relative luminance 0.150; OKLCH L 51.7% C 0.155 H 140.0°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#2C7C15
RGBrgb(44, 124, 21)
HSLhsl(107, 71%, 28%)
HSVhsv(107, 83%, 49%)
CMYKcmyk(64.5%, 0%, 83.1%, 51.4%)
CIE-LABlab(45.64, -43.14, 44.79)
CIE-LCHlch(45.64, 62.19, 133.92°)
OKLaboklab(51.72% -0.1185 0.0994)
OKLCHoklch(51.72% 0.155 140)
XYZxyz(8.3813, 15.0041, 3.1637)
Luminance0.1500 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C7C15 #65157C
analogous
#5F7C15 #2C7C15 #157C31
triadic
#2C7C15 #152C7C #7C152C
tetradic
#2C7C15 #155F7C #65157C #7C3115
square
#2C7C15 #155F7C #65157C #7C3115
split-complementary
#2C7C15 #31157C #7C155F
monochromatic
#091A04 #19480C #2C7C15 #3FB01E #56DC30

Accessibility & contrast

On white

5.25
#2C7C15 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#2C7C15 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C7C15
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C7C15#FFFFFF#000000##FFFFFF
##2C7C151.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807000
Deuteranopia (green-blind)
#766A22
Tritanopia (blue-blind)
#207869
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #2c7c15;
/* rgb */ color: rgb(44, 124, 21);
/* oklch */ color: oklch(51.7% 0.155 140.0);
Tailwind
colors: {
  custom: {
    50: '#71a35c',
    500: '#2c7c15',
    950: '#000000',
  },
}
SCSS
$custom: #2c7c15;
$custom-light: #71a35c;
$custom-dark: #000000;
JSON
{
  "hex": "#2c7c15",
  "rgb": {
    "r": 44,
    "g": 124,
    "b": 21
  },
  "hsl": {
    "h": 106.602,
    "s": 71.034,
    "l": 28.431
  },
  "oklch": {
    "l": 0.51719,
    "c": 0.15463,
    "h": 140
  },
  "luminance": 0.15005
}

Semantic roles & 50–950 ramp

primary
#2C7C15
secondary
#973CB1
accent
#3AEEC6
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#080F04
muted
#7B7F79

Preview Lab

Preview with #2C7C15

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

Preview Lab → · Contrast checker → · Palette generator →

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