#2C7B14#2C7B14

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

Color values

HEX#2C7B14
RGBrgb(44, 123, 20)
HSLhsl(106, 72%, 28%)
HSVhsv(106, 84%, 48%)
CMYKcmyk(64.2%, 0%, 83.7%, 51.8%)
CIE-LABlab(45.29, -42.83, 44.77)
CIE-LCHlch(45.29, 61.96, 133.73°)
OKLaboklab(51.43% -0.1177 0.0992)
OKLCHoklch(51.43% 0.154 139.9)
XYZxyz(8.2476, 14.7511, 3.0743)
Luminance0.1475 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C7B14 #63147B
analogous
#5F7B14 #2C7B14 #147B2F
triadic
#2C7B14 #142C7B #7B142C
tetradic
#2C7B14 #145F7B #63147B #7B2F14
square
#2C7B14 #145F7B #63147B #7B2F14
split-complementary
#2C7B14 #2F147B #7B145F
monochromatic
#091A04 #19460B #2C7B14 #3FB01D #56DD2D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2C7B14#FFFFFF#000000##FFFFFF
##2C7B141.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)
#756921
Tritanopia (blue-blind)
#217768
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #2c7b14;
/* rgb */ color: rgb(44, 123, 20);
/* oklch */ color: oklch(51.4% 0.154 139.9);
Tailwind
colors: {
  custom: {
    50: '#70a25c',
    500: '#2c7b14',
    950: '#000000',
  },
}
SCSS
$custom: #2c7b14;
$custom-light: #70a25c;
$custom-dark: #000000;
JSON
{
  "hex": "#2c7b14",
  "rgb": {
    "r": 44,
    "g": 123,
    "b": 20
  },
  "hsl": {
    "h": 106.019,
    "s": 72.028,
    "l": 28.039
  },
  "oklch": {
    "l": 0.51429,
    "c": 0.15391,
    "h": 139.9
  },
  "luminance": 0.14752
}

Semantic roles & 50–950 ramp

primary
#2C7B14
secondary
#953AB1
accent
#39EFC4
background
#F7FAF5
surface
#EDF3E9
border
#C8CDC5
text
#080F04
muted
#7B7F79

Preview Lab

Preview with #2C7B14

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

Preview Lab → · Contrast checker → · Palette generator →

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