#2C7815#2C7815

#2C7815 is a mid, vivid green. Relative luminance 0.140; OKLCH L 50.6% C 0.150 H 139.8°. Best body text is #FFFFFF at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#2C7815
RGBrgb(44, 120, 21)
HSLhsl(106, 70%, 28%)
HSVhsv(106, 83%, 47%)
CMYKcmyk(63.3%, 0%, 82.5%, 52.9%)
CIE-LABlab(44.26, -41.64, 43.50)
CIE-LCHlch(44.26, 60.22, 133.75°)
OKLaboklab(50.58% -0.1144 0.0967)
OKLCHoklch(50.58% 0.15 139.8)
XYZxyz(7.8902, 14.0218, 3.0000)
Luminance0.1402 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C7815 #611578
analogous
#5D7815 #2C7815 #157830
triadic
#2C7815 #152C78 #78152C
tetradic
#2C7815 #155D78 #611578 #783015
square
#2C7815 #155D78 #611578 #783015
split-complementary
#2C7815 #301578 #78155D
monochromatic
#0A1A05 #19440C #2C7815 #3FAC1E #55DA2D

Accessibility & contrast

On white

5.52
#2C7815 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#2C7815 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C7815
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C7815#FFFFFF#000000##FFFFFF
##2C78151.005.523.805.52
#FFFFFF5.521.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6C00
Deuteranopia (green-blind)
#726621
Tritanopia (blue-blind)
#227466
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #2c7815;
/* rgb */ color: rgb(44, 120, 21);
/* oklch */ color: oklch(50.6% 0.150 139.8);
Tailwind
colors: {
  custom: {
    50: '#70a05c',
    500: '#2c7815',
    950: '#000000',
  },
}
SCSS
$custom: #2c7815;
$custom-light: #70a05c;
$custom-dark: #000000;
JSON
{
  "hex": "#2c7815",
  "rgb": {
    "r": 44,
    "g": 120,
    "b": 21
  },
  "hsl": {
    "h": 106.061,
    "s": 70.213,
    "l": 27.647
  },
  "oklch": {
    "l": 0.50581,
    "c": 0.14981,
    "h": 139.8
  },
  "luminance": 0.14023
}

Semantic roles & 50–950 ramp

primary
#2C7815
secondary
#933BAE
accent
#3BEDC4
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080F04
muted
#7B7E79

Preview Lab

Preview with #2C7815

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

Preview Lab → · Contrast checker → · Palette generator →

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