#2C702A#2C702A

#2C702A is a mid, vivid green. Relative luminance 0.123; OKLCH L 48.5% C 0.125 H 142.9°. Best body text is #FFFFFF at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#2C702A
RGBrgb(44, 112, 42)
HSLhsl(118, 45%, 30%)
HSVhsv(118, 63%, 44%)
CMYKcmyk(60.7%, 0%, 62.5%, 56.1%)
CIE-LABlab(41.67, -36.54, 31.97)
CIE-LCHlch(41.67, 48.55, 138.82°)
OKLaboklab(48.5% -0.0994 0.0752)
OKLCHoklch(48.5% 0.125 142.9)
XYZxyz(7.2504, 12.2903, 4.1802)
Luminance0.1229 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C702A #6E2A70
analogous
#4F702A #2C702A #2A704B
triadic
#2C702A #2A2C70 #702A2C
tetradic
#2C702A #2A4F70 #6E2A70 #704B2A
square
#2C702A #2A4F70 #6E2A70 #704B2A
split-complementary
#2C702A #4B2A70 #702A4F
monochromatic
#091709 #1B4319 #2C702A #3D9D3B #58BF55

Accessibility & contrast

On white

6.07
#2C702A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#2C702A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C702A
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C702A#FFFFFF#000000##FFFFFF
##2C702A1.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#726623
Deuteranopia (green-blind)
#6A6030
Tritanopia (blue-blind)
#216D61
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #2c702a;
/* rgb */ color: rgb(44, 112, 42);
/* oklch */ color: oklch(48.5% 0.125 142.9);
Tailwind
colors: {
  custom: {
    50: '#6d9a66',
    500: '#2c702a',
    950: '#000000',
  },
}
SCSS
$custom: #2c702a;
$custom-light: #6d9a66;
$custom-dark: #000000;
JSON
{
  "hex": "#2c702a",
  "rgb": {
    "r": 44,
    "g": 112,
    "b": 42
  },
  "hsl": {
    "h": 118.286,
    "s": 45.455,
    "l": 30.196
  },
  "oklch": {
    "l": 0.48496,
    "c": 0.12462,
    "h": 142.9
  },
  "luminance": 0.12291
}

Semantic roles & 50–950 ramp

primary
#2C702A
secondary
#A054A2
accent
#53D5D1
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#070E06
muted
#7A7E7A

Preview Lab

Preview with #2C702A

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

Preview Lab → · Contrast checker → · Palette generator →

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