#2C702C#2C702C

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

Color values

HEX#2C702C
RGBrgb(44, 112, 44)
HSLhsl(120, 44%, 31%)
HSVhsv(120, 61%, 44%)
CMYKcmyk(60.7%, 0%, 60.7%, 56.1%)
CIE-LABlab(41.70, -36.28, 30.98)
CIE-LCHlch(41.70, 47.71, 139.50°)
OKLaboklab(48.52% -0.0986 0.0732)
OKLCHoklch(48.52% 0.123 143.4)
XYZxyz(7.2871, 12.3050, 4.3735)
Luminance0.1231 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C702C #702C70
analogous
#4E702C #2C702C #2C704E
triadic
#2C702C #2C2C70 #702C2C
tetradic
#2C702C #2C4E70 #702C70 #704E2C
square
#2C702C #2C4E70 #702C70 #704E2C
split-complementary
#2C702C #4E2C70 #702C4E
monochromatic
#091809 #1B441B #2C702C #3D9C3D #59BE59

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2C702C#FFFFFF#000000##FFFFFF
##2C702C1.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)
#726625
Deuteranopia (green-blind)
#6A6031
Tritanopia (blue-blind)
#206D61
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #2c702c;
/* rgb */ color: rgb(44, 112, 44);
/* oklch */ color: oklch(48.5% 0.123 143.4);
Tailwind
colors: {
  custom: {
    50: '#6d9a67',
    500: '#2c702c',
    950: '#000000',
  },
}
SCSS
$custom: #2c702c;
$custom-light: #6d9a67;
$custom-dark: #000000;
JSON
{
  "hex": "#2c702c",
  "rgb": {
    "r": 44,
    "g": 112,
    "b": 44
  },
  "hsl": {
    "h": 120,
    "s": 43.59,
    "l": 30.588
  },
  "oklch": {
    "l": 0.48522,
    "c": 0.12282,
    "h": 143.4
  },
  "luminance": 0.12306
}

Semantic roles & 50–950 ramp

primary
#2C702C
secondary
#A256A2
accent
#54D3D3
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#070E06
muted
#7A7E7A

Preview Lab

Preview with #2C702C

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

Preview Lab → · Contrast checker → · Palette generator →

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