#2C702B#2C702B

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

Color values

HEX#2C702B
RGBrgb(44, 112, 43)
HSLhsl(119, 45%, 30%)
HSVhsv(119, 62%, 44%)
CMYKcmyk(60.7%, 0%, 61.6%, 56.1%)
CIE-LABlab(41.69, -36.41, 31.48)
CIE-LCHlch(41.69, 48.13, 139.16°)
OKLaboklab(48.51% -0.099 0.0742)
OKLCHoklch(48.51% 0.124 143.1)
XYZxyz(7.2685, 12.2976, 4.2757)
Luminance0.1230 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C702B #6F2B70
analogous
#4F702B #2C702B #2B704C
triadic
#2C702B #2B2C70 #702B2C
tetradic
#2C702B #2B4F70 #6F2B70 #704C2B
square
#2C702B #2B4F70 #6F2B70 #704C2B
split-complementary
#2C702B #4C2B70 #702B4F
monochromatic
#091809 #1B441A #2C702B #3D9C3C #58BE57

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2C702B#FFFFFF#000000##FFFFFF
##2C702B1.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)
#726624
Deuteranopia (green-blind)
#6A6030
Tritanopia (blue-blind)
#216D61
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #2c702b;
/* rgb */ color: rgb(44, 112, 43);
/* oklch */ color: oklch(48.5% 0.124 143.1);
Tailwind
colors: {
  custom: {
    50: '#6d9a67',
    500: '#2c702b',
    950: '#000000',
  },
}
SCSS
$custom: #2c702b;
$custom-light: #6d9a67;
$custom-dark: #000000;
JSON
{
  "hex": "#2c702b",
  "rgb": {
    "r": 44,
    "g": 112,
    "b": 43
  },
  "hsl": {
    "h": 119.13,
    "s": 44.516,
    "l": 30.392
  },
  "oklch": {
    "l": 0.48509,
    "c": 0.12372,
    "h": 143.1
  },
  "luminance": 0.12298
}

Semantic roles & 50–950 ramp

primary
#2C702B
secondary
#A155A2
accent
#54D4D2
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#070E06
muted
#7A7E7A

Preview Lab

Preview with #2C702B

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

Preview Lab → · Contrast checker → · Palette generator →

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