#2C7D15#2C7D15

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

Color values

HEX#2C7D15
RGBrgb(44, 125, 21)
HSLhsl(107, 71%, 29%)
HSVhsv(107, 83%, 49%)
CMYKcmyk(64.8%, 0%, 83.2%, 51%)
CIE-LABlab(45.98, -43.51, 45.11)
CIE-LCHlch(45.98, 62.67, 133.96°)
OKLaboklab(52% -0.1194 0.1001)
OKLCHoklch(52% 0.156 140.1)
XYZxyz(8.5073, 15.2560, 3.2057)
Luminance0.1526 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C7D15 #66157D
analogous
#607D15 #2C7D15 #157D32
triadic
#2C7D15 #152C7D #7D152C
tetradic
#2C7D15 #15607D #66157D #7D3215
square
#2C7D15 #15607D #66157D #7D3215
split-complementary
#2C7D15 #32157D #7D1560
monochromatic
#091A04 #1A490C #2C7D15 #3EB11E #56DC30

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #2c7d15;
/* rgb */ color: rgb(44, 125, 21);
/* oklch */ color: oklch(52.0% 0.156 140.1);
Tailwind
colors: {
  custom: {
    50: '#71a35c',
    500: '#2c7d15',
    950: '#000000',
  },
}
SCSS
$custom: #2c7d15;
$custom-light: #71a35c;
$custom-dark: #000000;
JSON
{
  "hex": "#2c7d15",
  "rgb": {
    "r": 44,
    "g": 125,
    "b": 21
  },
  "hsl": {
    "h": 106.731,
    "s": 71.233,
    "l": 28.627
  },
  "oklch": {
    "l": 0.52003,
    "c": 0.15581,
    "h": 140.1
  },
  "luminance": 0.15257
}

Semantic roles & 50–950 ramp

primary
#2C7D15
secondary
#983CB2
accent
#3AEEC6
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#080F04
muted
#7B7F79

Preview Lab

Preview with #2C7D15

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

Preview Lab → · Contrast checker → · Palette generator →

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