#2C7C18#2C7C18

#2C7C18 is a mid, vivid green. Relative luminance 0.150; OKLCH L 51.7% C 0.153 H 140.3°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#2C7C18
RGBrgb(44, 124, 24)
HSLhsl(108, 68%, 29%)
HSVhsv(108, 81%, 49%)
CMYKcmyk(64.5%, 0%, 80.6%, 51.4%)
CIE-LABlab(45.66, -42.95, 43.83)
CIE-LCHlch(45.66, 61.36, 134.42°)
OKLaboklab(51.74% -0.1178 0.0978)
OKLCHoklch(51.74% 0.153 140.3)
XYZxyz(8.4108, 15.0159, 3.3191)
Luminance0.1502 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C7C18 #68187C
analogous
#5E7C18 #2C7C18 #187C36
triadic
#2C7C18 #182C7C #7C182C
tetradic
#2C7C18 #185E7C #68187C #7C3618
square
#2C7C18 #185E7C #68187C #7C3618
split-complementary
#2C7C18 #36187C #7C185E
monochromatic
#091A05 #1A490E #2C7C18 #3EAF22 #57D836

Accessibility & contrast

On white

5.25
#2C7C18 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#2C7C18 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C7C18
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C7C18#FFFFFF#000000##FFFFFF
##2C7C181.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807000
Deuteranopia (green-blind)
#766A23
Tritanopia (blue-blind)
#207869
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #2c7c18;
/* rgb */ color: rgb(44, 124, 24);
/* oklch */ color: oklch(51.7% 0.153 140.3);
Tailwind
colors: {
  custom: {
    50: '#70a35e',
    500: '#2c7c18',
    950: '#000000',
  },
}
SCSS
$custom: #2c7c18;
$custom-light: #70a35e;
$custom-dark: #000000;
JSON
{
  "hex": "#2c7c18",
  "rgb": {
    "r": 44,
    "g": 124,
    "b": 24
  },
  "hsl": {
    "h": 108,
    "s": 67.568,
    "l": 29.02
  },
  "oklch": {
    "l": 0.51738,
    "c": 0.1531,
    "h": 140.3
  },
  "luminance": 0.15017
}

Semantic roles & 50–950 ramp

primary
#2C7C18
secondary
#9A3FB1
accent
#3DEAC8
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#080F05
muted
#7B7F79

Preview Lab

Preview with #2C7C18

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

Preview Lab → · Contrast checker → · Palette generator →

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