#2C7412#2C7412

#2C7412 is a mid, vivid green. Relative luminance 0.131; OKLCH L 49.4% C 0.146 H 139.3°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#2C7412
RGBrgb(44, 116, 18)
HSLhsl(104, 73%, 26%)
HSVhsv(104, 84%, 45%)
CMYKcmyk(62.1%, 0%, 84.5%, 54.5%)
CIE-LABlab(42.87, -40.30, 43.14)
CIE-LCHlch(42.87, 59.04, 133.06°)
OKLaboklab(49.42% -0.111 0.0955)
OKLCHoklch(49.42% 0.146 139.3)
XYZxyz(7.3930, 13.0693, 2.7052)
Luminance0.1307 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C7412 #5A1274
analogous
#5D7412 #2C7412 #127429
triadic
#2C7412 #122C74 #74122C
tetradic
#2C7412 #125D74 #5A1274 #742912
square
#2C7412 #125D74 #5A1274 #742912
split-complementary
#2C7412 #291274 #74125D
monochromatic
#0A1A04 #183F0A #2C7412 #40A91A #55DD23

Accessibility & contrast

On white

5.81
#2C7412 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#2C7412 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C7412
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C7412#FFFFFF#000000##FFFFFF
##2C74121.005.813.615.81
#FFFFFF5.811.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786900
Deuteranopia (green-blind)
#6F631E
Tritanopia (blue-blind)
#237062
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #2c7412;
/* rgb */ color: rgb(44, 116, 18);
/* oklch */ color: oklch(49.4% 0.146 139.3);
Tailwind
colors: {
  custom: {
    50: '#6f9d5a',
    500: '#2c7412',
    950: '#000000',
  },
}
SCSS
$custom: #2c7412;
$custom-light: #6f9d5a;
$custom-dark: #000000;
JSON
{
  "hex": "#2c7412",
  "rgb": {
    "r": 44,
    "g": 116,
    "b": 18
  },
  "hsl": {
    "h": 104.082,
    "s": 73.134,
    "l": 26.275
  },
  "oklch": {
    "l": 0.4942,
    "c": 0.14641,
    "h": 139.3
  },
  "luminance": 0.1307
}

Semantic roles & 50–950 ramp

primary
#2C7412
secondary
#8C37AB
accent
#38F0BF
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #2C7412

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

Preview Lab → · Contrast checker → · Palette generator →

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