#2C7D26#2C7D26

#2C7D26 is a mid, vivid green. Relative luminance 0.153; OKLCH L 52.1% C 0.145 H 142.1°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#2C7D26
RGBrgb(44, 125, 38)
HSLhsl(116, 53%, 32%)
HSVhsv(116, 70%, 49%)
CMYKcmyk(64.8%, 0%, 69.6%, 51%)
CIE-LABlab(46.10, -42.14, 38.77)
CIE-LCHlch(46.10, 57.27, 137.38°)
OKLaboklab(52.14% -0.1148 0.0892)
OKLCHoklch(52.14% 0.145 142.1)
XYZxyz(8.7217, 15.3418, 4.3350)
Luminance0.1534 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C7D26 #77267D
analogous
#587D26 #2C7D26 #267D4C
triadic
#2C7D26 #262C7D #7D262C
tetradic
#2C7D26 #26587D #77267D #7D4C26
square
#2C7D26 #26587D #77267D #7D4C26
split-complementary
#2C7D26 #4C267D #7D2658
monochromatic
#0B1F09 #1B4E18 #2C7D26 #3DAC34 #5BCB53

Accessibility & contrast

On white

5.16
#2C7D26 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#2C7D26 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C7D26
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C7D26#FFFFFF#000000##FFFFFF
##2C7D261.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#80711A
Deuteranopia (green-blind)
#766B2E
Tritanopia (blue-blind)
#1D796B
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #2c7d26;
/* rgb */ color: rgb(44, 125, 38);
/* oklch */ color: oklch(52.1% 0.145 142.1);
Tailwind
colors: {
  custom: {
    50: '#70a365',
    500: '#2c7d26',
    950: '#000000',
  },
}
SCSS
$custom: #2c7d26;
$custom-light: #70a365;
$custom-dark: #000000;
JSON
{
  "hex": "#2c7d26",
  "rgb": {
    "r": 44,
    "g": 125,
    "b": 38
  },
  "hsl": {
    "h": 115.862,
    "s": 53.374,
    "l": 31.961
  },
  "oklch": {
    "l": 0.52136,
    "c": 0.14539,
    "h": 142.1
  },
  "luminance": 0.15343
}

Semantic roles & 50–950 ramp

primary
#2C7D26
secondary
#A850AF
accent
#4BDDD3
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F06
muted
#7B7F7A

Preview Lab

Preview with #2C7D26

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

Preview Lab → · Contrast checker → · Palette generator →

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