#2C7415#2C7415

#2C7415 is a mid, vivid green. Relative luminance 0.131; OKLCH L 49.4% C 0.145 H 139.6°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#2C7415
RGBrgb(44, 116, 21)
HSLhsl(105, 69%, 27%)
HSVhsv(105, 82%, 45%)
CMYKcmyk(62.1%, 0%, 81.9%, 54.5%)
CIE-LABlab(42.88, -40.12, 42.19)
CIE-LCHlch(42.88, 58.22, 133.56°)
OKLaboklab(49.44% -0.1103 0.094)
OKLCHoklch(49.44% 0.145 139.6)
XYZxyz(7.4191, 13.0797, 2.8430)
Luminance0.1308 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C7415 #5D1574
analogous
#5C7415 #2C7415 #15742E
triadic
#2C7415 #152C74 #74152C
tetradic
#2C7415 #155C74 #5D1574 #742E15
square
#2C7415 #155C74 #5D1574 #742E15
split-complementary
#2C7415 #2E1574 #74155C
monochromatic
#0A1A05 #18400C #2C7415 #40A81E #55D92B

Accessibility & contrast

On white

5.81
#2C7415 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#2C7415 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C7415
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C7415#FFFFFF#000000##FFFFFF
##2C74151.005.813.625.81
#FFFFFF5.811.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776900
Deuteranopia (green-blind)
#6F6320
Tritanopia (blue-blind)
#237062
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #2c7415;
/* rgb */ color: rgb(44, 116, 21);
/* oklch */ color: oklch(49.4% 0.145 139.6);
Tailwind
colors: {
  custom: {
    50: '#6f9d5b',
    500: '#2c7415',
    950: '#000000',
  },
}
SCSS
$custom: #2c7415;
$custom-light: #6f9d5b;
$custom-dark: #000000;
JSON
{
  "hex": "#2c7415",
  "rgb": {
    "r": 44,
    "g": 116,
    "b": 21
  },
  "hsl": {
    "h": 105.474,
    "s": 69.343,
    "l": 26.863
  },
  "oklch": {
    "l": 0.49438,
    "c": 0.14492,
    "h": 139.6
  },
  "luminance": 0.1308
}

Semantic roles & 50–950 ramp

primary
#2C7415
secondary
#8F3BAA
accent
#3CECC1
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #2C7415

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

Preview Lab → · Contrast checker → · Palette generator →

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