#2C7B13#2C7B13

#2C7B13 is a mid, vivid green. Relative luminance 0.147; OKLCH L 51.4% C 0.154 H 139.8°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#2C7B13
RGBrgb(44, 123, 19)
HSLhsl(106, 73%, 28%)
HSVhsv(106, 85%, 48%)
CMYKcmyk(64.2%, 0%, 84.6%, 51.8%)
CIE-LABlab(45.29, -42.88, 45.07)
CIE-LCHlch(45.29, 62.21, 133.58°)
OKLaboklab(51.42% -0.1179 0.0997)
OKLCHoklch(51.42% 0.154 139.8)
XYZxyz(8.2388, 14.7476, 3.0284)
Luminance0.1475 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C7B13 #62137B
analogous
#607B13 #2C7B13 #137B2E
triadic
#2C7B13 #132C7B #7B132C
tetradic
#2C7B13 #13607B #62137B #7B2E13
square
#2C7B13 #13607B #62137B #7B2E13
split-complementary
#2C7B13 #2E137B #7B1360
monochromatic
#091B04 #19460B #2C7B13 #3FB01B #56DE2A

Accessibility & contrast

On white

5.32
#2C7B13 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2C7B13
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C7B13#FFFFFF#000000##FFFFFF
##2C7B131.005.323.955.32
#FFFFFF5.321.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F6F00
Deuteranopia (green-blind)
#756920
Tritanopia (blue-blind)
#217768
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #2c7b13;
/* rgb */ color: rgb(44, 123, 19);
/* oklch */ color: oklch(51.4% 0.154 139.8);
Tailwind
colors: {
  custom: {
    50: '#70a25b',
    500: '#2c7b13',
    950: '#000000',
  },
}
SCSS
$custom: #2c7b13;
$custom-light: #70a25b;
$custom-dark: #000000;
JSON
{
  "hex": "#2c7b13",
  "rgb": {
    "r": 44,
    "g": 123,
    "b": 19
  },
  "hsl": {
    "h": 105.577,
    "s": 73.239,
    "l": 27.843
  },
  "oklch": {
    "l": 0.51423,
    "c": 0.15437,
    "h": 139.8
  },
  "luminance": 0.14748
}

Semantic roles & 50–950 ramp

primary
#2C7B13
secondary
#9439B1
accent
#38F0C4
background
#F7FAF5
surface
#EDF3E9
border
#C8CDC5
text
#080F04
muted
#7B7F79

Preview Lab

Preview with #2C7B13

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

Preview Lab → · Contrast checker → · Palette generator →

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