#2C7E18#2C7E18

#2C7E18 is a mid, vivid green. Relative luminance 0.155; OKLCH L 52.3% C 0.156 H 140.4°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#2C7E18
RGBrgb(44, 126, 24)
HSLhsl(108, 68%, 29%)
HSVhsv(108, 81%, 49%)
CMYKcmyk(65.1%, 0%, 81%, 50.6%)
CIE-LABlab(46.34, -43.69, 44.48)
CIE-LCHlch(46.34, 62.35, 134.48°)
OKLaboklab(52.31% -0.1198 0.0992)
OKLCHoklch(52.31% 0.156 140.4)
XYZxyz(8.6640, 15.5223, 3.4035)
Luminance0.1552 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C7E18 #6A187E
analogous
#5F7E18 #2C7E18 #187E37
triadic
#2C7E18 #182C7E #7E182C
tetradic
#2C7E18 #185F7E #6A187E #7E3718
square
#2C7E18 #185F7E #6A187E #7E3718
split-complementary
#2C7E18 #37187E #7E185F
monochromatic
#091A05 #1A4B0E #2C7E18 #3EB122 #57D937

Accessibility & contrast

On white

5.12
#2C7E18 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#2C7E18 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C7E18
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C7E18#FFFFFF#000000##FFFFFF
##2C7E181.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827200
Deuteranopia (green-blind)
#786B24
Tritanopia (blue-blind)
#1F7A6B
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #2c7e18;
/* rgb */ color: rgb(44, 126, 24);
/* oklch */ color: oklch(52.3% 0.156 140.4);
Tailwind
colors: {
  custom: {
    50: '#71a45e',
    500: '#2c7e18',
    950: '#000000',
  },
}
SCSS
$custom: #2c7e18;
$custom-light: #71a45e;
$custom-dark: #000000;
JSON
{
  "hex": "#2c7e18",
  "rgb": {
    "r": 44,
    "g": 126,
    "b": 24
  },
  "hsl": {
    "h": 108.235,
    "s": 68,
    "l": 29.412
  },
  "oklch": {
    "l": 0.52305,
    "c": 0.15552,
    "h": 140.4
  },
  "luminance": 0.15523
}

Semantic roles & 50–950 ramp

primary
#2C7E18
secondary
#9C3FB2
accent
#3DEBC9
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #2C7E18

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

Preview Lab → · Contrast checker → · Palette generator →

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