#2C7626#2C7626

#2C7626 is a mid, vivid green. Relative luminance 0.136; OKLCH L 50.2% C 0.136 H 142.1°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#2C7626
RGBrgb(44, 118, 38)
HSLhsl(116, 51%, 31%)
HSVhsv(116, 68%, 46%)
CMYKcmyk(62.7%, 0%, 67.8%, 53.7%)
CIE-LABlab(43.70, -39.43, 36.17)
CIE-LCHlch(43.70, 53.51, 137.47°)
OKLaboklab(50.15% -0.1074 0.0837)
OKLCHoklch(50.15% 0.136 142.1)
XYZxyz(7.8666, 13.6315, 4.0499)
Luminance0.1363 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C7626 #702676
analogous
#547626 #2C7626 #267648
triadic
#2C7626 #262C76 #76262C
tetradic
#2C7626 #265476 #702676 #764826
square
#2C7626 #265476 #702676 #764826
split-complementary
#2C7626 #482676 #762654
monochromatic
#091908 #1B4817 #2C7626 #3DA435 #59C750

Accessibility & contrast

On white

5.64
#2C7626 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#2C7626 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C7626
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C7626#FFFFFF#000000##FFFFFF
##2C76261.005.643.735.64
#FFFFFF5.641.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796B1C
Deuteranopia (green-blind)
#70652D
Tritanopia (blue-blind)
#207265
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #2c7626;
/* rgb */ color: rgb(44, 118, 38);
/* oklch */ color: oklch(50.2% 0.136 142.1);
Tailwind
colors: {
  custom: {
    50: '#6e9e64',
    500: '#2c7626',
    950: '#000000',
  },
}
SCSS
$custom: #2c7626;
$custom-light: #6e9e64;
$custom-dark: #000000;
JSON
{
  "hex": "#2c7626",
  "rgb": {
    "r": 44,
    "g": 118,
    "b": 38
  },
  "hsl": {
    "h": 115.5,
    "s": 51.282,
    "l": 30.588
  },
  "oklch": {
    "l": 0.50154,
    "c": 0.13621,
    "h": 142.1
  },
  "luminance": 0.13632
}

Semantic roles & 50–950 ramp

primary
#2C7626
secondary
#A24FA8
accent
#4DDBD0
background
#F7F9F6
surface
#EDF2EB
border
#C8CCC6
text
#080E06
muted
#7B7E7A

Preview Lab

Preview with #2C7626

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

Preview Lab → · Contrast checker → · Palette generator →

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