#2C7B19#2C7B19

#2C7B19 is a mid, vivid green. Relative luminance 0.148; OKLCH L 51.5% C 0.151 H 140.4°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#2C7B19
RGBrgb(44, 123, 25)
HSLhsl(108, 66%, 29%)
HSVhsv(108, 80%, 48%)
CMYKcmyk(64.2%, 0%, 79.7%, 51.8%)
CIE-LABlab(45.32, -42.51, 43.16)
CIE-LCHlch(45.32, 60.57, 134.56°)
OKLaboklab(51.46% -0.1165 0.0966)
OKLCHoklch(51.46% 0.151 140.4)
XYZxyz(8.2967, 14.7708, 3.3333)
Luminance0.1477 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C7B19 #68197B
analogous
#5D7B19 #2C7B19 #197B37
triadic
#2C7B19 #192C7B #7B192C
tetradic
#2C7B19 #195D7B #68197B #7B3719
square
#2C7B19 #195D7B #68197B #7B3719
split-complementary
#2C7B19 #37197B #7B195D
monochromatic
#091905 #1A480F #2C7B19 #3EAE23 #57D738

Accessibility & contrast

On white

5.31
#2C7B19 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#2C7B19 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C7B19
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C7B19#FFFFFF#000000##FFFFFF
##2C7B191.005.313.955.31
#FFFFFF5.311.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E6F02
Deuteranopia (green-blind)
#756924
Tritanopia (blue-blind)
#207769
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #2c7b19;
/* rgb */ color: rgb(44, 123, 25);
/* oklch */ color: oklch(51.5% 0.151 140.4);
Tailwind
colors: {
  custom: {
    50: '#70a25e',
    500: '#2c7b19',
    950: '#000000',
  },
}
SCSS
$custom: #2c7b19;
$custom-light: #70a25e;
$custom-dark: #000000;
JSON
{
  "hex": "#2c7b19",
  "rgb": {
    "r": 44,
    "g": 123,
    "b": 25
  },
  "hsl": {
    "h": 108.367,
    "s": 66.216,
    "l": 29.02
  },
  "oklch": {
    "l": 0.5146,
    "c": 0.15134,
    "h": 140.4
  },
  "luminance": 0.14772
}

Semantic roles & 50–950 ramp

primary
#2C7B19
secondary
#9A40AF
accent
#3FE9C8
background
#F7FAF5
surface
#EDF3E9
border
#C8CDC5
text
#080F05
muted
#7B7F79

Preview Lab

Preview with #2C7B19

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

Preview Lab → · Contrast checker → · Palette generator →

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