#2C4E26#2C4E26

#2C4E26 is a dark, moderate green. Relative luminance 0.061; OKLCH L 38.7% C 0.076 H 140.7°. Best body text is #FFFFFF at 9.44:1 contrast (WCAG AA passes).

Color values

HEX#2C4E26
RGBrgb(44, 78, 38)
HSLhsl(111, 34%, 23%)
HSVhsv(111, 51%, 31%)
CMYKcmyk(43.6%, 0%, 51.3%, 69.4%)
CIE-LABlab(29.72, -21.55, 19.81)
CIE-LCHlch(29.72, 29.27, 137.40°)
OKLaboklab(38.68% -0.0589 0.0481)
OKLCHoklch(38.68% 0.076 140.7)
XYZxyz(4.1128, 6.1240, 2.7987)
Luminance0.0612 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4E26 #48264E
analogous
#404E26 #2C4E26 #264E34
triadic
#2C4E26 #262C4E #4E262C
tetradic
#2C4E26 #26404E #48264E #4E3426
square
#2C4E26 #26404E #48264E #4E3426
split-complementary
#2C4E26 #34264E #4E2640
monochromatic
#0C150A #152512 #2C4E26 #43773A #5AA04E

Accessibility & contrast

On white

9.44
#2C4E26 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#2C4E26 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C4E26
9.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4E26#FFFFFF#000000##FFFFFF
##2C4E261.009.442.229.44
#FFFFFF9.441.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#504823
Deuteranopia (green-blind)
#4B4529
Tritanopia (blue-blind)
#294C45
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #2c4e26;
/* rgb */ color: rgb(44, 78, 38);
/* oklch */ color: oklch(38.7% 0.076 140.7);
Tailwind
colors: {
  custom: {
    50: '#678061',
    500: '#2c4e26',
    950: '#000000',
  },
}
SCSS
$custom: #2c4e26;
$custom-light: #678061;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4e26",
  "rgb": {
    "r": 44,
    "g": 78,
    "b": 38
  },
  "hsl": {
    "h": 111,
    "s": 34.483,
    "l": 22.745
  },
  "oklch": {
    "l": 0.38677,
    "c": 0.07604,
    "h": 140.7
  },
  "luminance": 0.06124
}

Semantic roles & 50–950 ramp

primary
#2C4E26
secondary
#794F81
accent
#5DCBBA
background
#F6F7F5
surface
#EBEEE9
border
#C6C9C5
text
#060A05
muted
#7A7C79

Preview Lab

Preview with #2C4E26

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

Preview Lab → · Contrast checker → · Palette generator →

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