#2C7718#2C7718

#2C7718 is a mid, vivid green. Relative luminance 0.138; OKLCH L 50.3% C 0.147 H 140.1°. Best body text is #FFFFFF at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#2C7718
RGBrgb(44, 119, 24)
HSLhsl(107, 66%, 28%)
HSVhsv(107, 80%, 47%)
CMYKcmyk(63%, 0%, 79.8%, 53.3%)
CIE-LABlab(43.94, -41.07, 42.17)
CIE-LCHlch(43.94, 58.86, 134.24°)
OKLaboklab(50.32% -0.1127 0.0944)
OKLCHoklch(50.32% 0.147 140.1)
XYZxyz(7.8000, 13.7944, 3.1155)
Luminance0.1379 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C7718 #631877
analogous
#5C7718 #2C7718 #187733
triadic
#2C7718 #182C77 #77182C
tetradic
#2C7718 #185C77 #631877 #773318
square
#2C7718 #185C77 #631877 #773318
split-complementary
#2C7718 #331877 #77185C
monochromatic
#091905 #19440E #2C7718 #3FAA22 #56D633

Accessibility & contrast

On white

5.59
#2C7718 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#2C7718 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C7718
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C7718#FFFFFF#000000##FFFFFF
##2C77181.005.593.765.59
#FFFFFF5.591.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6C02
Deuteranopia (green-blind)
#716623
Tritanopia (blue-blind)
#227365
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #2c7718;
/* rgb */ color: rgb(44, 119, 24);
/* oklch */ color: oklch(50.3% 0.147 140.1);
Tailwind
colors: {
  custom: {
    50: '#6f9f5d',
    500: '#2c7718',
    950: '#000000',
  },
}
SCSS
$custom: #2c7718;
$custom-light: #6f9f5d;
$custom-dark: #000000;
JSON
{
  "hex": "#2c7718",
  "rgb": {
    "r": 44,
    "g": 119,
    "b": 24
  },
  "hsl": {
    "h": 107.368,
    "s": 66.434,
    "l": 28.039
  },
  "oklch": {
    "l": 0.50315,
    "c": 0.14699,
    "h": 140.1
  },
  "luminance": 0.13795
}

Semantic roles & 50–950 ramp

primary
#2C7718
secondary
#953FAC
accent
#3EE9C5
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #2C7718

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

Preview Lab → · Contrast checker → · Palette generator →

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