#2C701A#2C701A

#2C701A is a mid, vivid green. Relative luminance 0.122; OKLCH L 48.3% C 0.137 H 140.0°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#2C701A
RGBrgb(44, 112, 26)
HSLhsl(107, 62%, 27%)
HSVhsv(107, 77%, 44%)
CMYKcmyk(60.7%, 0%, 76.8%, 56.1%)
CIE-LABlab(41.53, -38.20, 39.04)
CIE-LCHlch(41.53, 54.62, 134.37°)
OKLaboklab(48.33% -0.1049 0.0881)
OKLCHoklch(48.33% 0.137 140)
XYZxyz(7.0190, 12.1978, 2.9616)
Luminance0.1220 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C701A #5E1A70
analogous
#57701A #2C701A #1A7033
triadic
#2C701A #1A2C70 #701A2C
tetradic
#2C701A #1A5770 #5E1A70 #70331A
square
#2C701A #1A5770 #5E1A70 #70331A
split-complementary
#2C701A #331A70 #701A57
monochromatic
#0A1906 #183E0E #2C701A #40A226 #55D034

Accessibility & contrast

On white

6.11
#2C701A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#2C701A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C701A
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C701A#FFFFFF#000000##FFFFFF
##2C701A1.006.113.446.11
#FFFFFF6.111.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#73650A
Deuteranopia (green-blind)
#6B6023
Tritanopia (blue-blind)
#246C5F
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #2c701a;
/* rgb */ color: rgb(44, 112, 26);
/* oklch */ color: oklch(48.3% 0.137 140.0);
Tailwind
colors: {
  custom: {
    50: '#6e9a5d',
    500: '#2c701a',
    950: '#000000',
  },
}
SCSS
$custom: #2c701a;
$custom-light: #6e9a5d;
$custom-dark: #000000;
JSON
{
  "hex": "#2c701a",
  "rgb": {
    "r": 44,
    "g": 112,
    "b": 26
  },
  "hsl": {
    "h": 107.442,
    "s": 62.319,
    "l": 27.059
  },
  "oklch": {
    "l": 0.48329,
    "c": 0.13698,
    "h": 140
  },
  "luminance": 0.12198
}

Semantic roles & 50–950 ramp

primary
#2C701A
secondary
#9041A5
accent
#42E5C3
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#080E04
muted
#7A7E79

Preview Lab

Preview with #2C701A

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

Preview Lab → · Contrast checker → · Palette generator →

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