#2C7015#2C7015

#2C7015 is a mid, vivid green. Relative luminance 0.122; OKLCH L 48.3% C 0.140 H 139.3°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#2C7015
RGBrgb(44, 112, 21)
HSLhsl(105, 68%, 26%)
HSVhsv(105, 81%, 44%)
CMYKcmyk(60.7%, 0%, 81.2%, 56.1%)
CIE-LABlab(41.50, -38.57, 40.86)
CIE-LCHlch(41.50, 56.19, 133.34°)
OKLaboklab(48.29% -0.1062 0.0912)
OKLCHoklch(48.29% 0.14 139.3)
XYZxyz(6.9679, 12.1773, 2.6926)
Luminance0.1218 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C7015 #591570
analogous
#597015 #2C7015 #15702B
triadic
#2C7015 #152C70 #70152C
tetradic
#2C7015 #155970 #591570 #702B15
square
#2C7015 #155970 #591570 #702B15
split-complementary
#2C7015 #2B1570 #701559
monochromatic
#0A1A05 #183C0B #2C7015 #40A41F #55D729

Accessibility & contrast

On white

6.11
#2C7015 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#2C7015 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C7015
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C7015#FFFFFF#000000##FFFFFF
##2C70151.006.113.446.11
#FFFFFF6.111.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736500
Deuteranopia (green-blind)
#6B601F
Tritanopia (blue-blind)
#246C5F
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #2c7015;
/* rgb */ color: rgb(44, 112, 21);
/* oklch */ color: oklch(48.3% 0.140 139.3);
Tailwind
colors: {
  custom: {
    50: '#6e9a5a',
    500: '#2c7015',
    950: '#000000',
  },
}
SCSS
$custom: #2c7015;
$custom-light: #6e9a5a;
$custom-dark: #000000;
JSON
{
  "hex": "#2c7015",
  "rgb": {
    "r": 44,
    "g": 112,
    "b": 21
  },
  "hsl": {
    "h": 104.835,
    "s": 68.421,
    "l": 26.078
  },
  "oklch": {
    "l": 0.48293,
    "c": 0.13994,
    "h": 139.3
  },
  "luminance": 0.12178
}

Semantic roles & 50–950 ramp

primary
#2C7015
secondary
#8B3BA6
accent
#3DEBBF
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #2C7015

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

Preview Lab → · Contrast checker → · Palette generator →

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