#2C511A#2C511A

#2C511A is a dark, moderate green. Relative luminance 0.065; OKLCH L 39.4% C 0.093 H 136.9°. Best body text is #FFFFFF at 9.13:1 contrast (WCAG AA passes).

Color values

HEX#2C511A
RGBrgb(44, 81, 26)
HSLhsl(100, 51%, 21%)
HSVhsv(100, 68%, 32%)
CMYKcmyk(45.7%, 0%, 67.9%, 68.2%)
CIE-LABlab(30.63, -24.67, 27.53)
CIE-LCHlch(30.63, 36.96, 131.87°)
OKLaboklab(39.36% -0.0682 0.0639)
OKLCHoklch(39.36% 0.093 136.9)
XYZxyz(4.1675, 6.4947, 2.0111)
Luminance0.0649 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C511A #3F1A51
analogous
#47511A #2C511A #1A5123
triadic
#2C511A #1A2C51 #511A2C
tetradic
#2C511A #1A4751 #3F1A51 #51231A
square
#2C511A #1A4751 #3F1A51 #51231A
split-complementary
#2C511A #231A51 #511A47
monochromatic
#0D1707 #13230B #2C511A #457F29 #5EAE38

Accessibility & contrast

On white

9.13
#2C511A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#2C511A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C511A
9.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C511A#FFFFFF#000000##FFFFFF
##2C511A1.009.132.309.13
#FFFFFF9.131.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#544A14
Deuteranopia (green-blind)
#4F471E
Tritanopia (blue-blind)
#2A4E45
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #2c511a;
/* rgb */ color: rgb(44, 81, 26);
/* oklch */ color: oklch(39.4% 0.093 136.9);
Tailwind
colors: {
  custom: {
    50: '#688259',
    500: '#2c511a',
    950: '#000000',
  },
}
SCSS
$custom: #2c511a;
$custom-light: #688259;
$custom-dark: #000000;
JSON
{
  "hex": "#2c511a",
  "rgb": {
    "r": 44,
    "g": 81,
    "b": 26
  },
  "hsl": {
    "h": 100.364,
    "s": 51.402,
    "l": 20.98
  },
  "oklch": {
    "l": 0.39364,
    "c": 0.09348,
    "h": 136.9
  },
  "luminance": 0.06495
}

Semantic roles & 50–950 ramp

primary
#2C511A
secondary
#704087
accent
#4DDBAC
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#060A03
muted
#7A7C78

Preview Lab

Preview with #2C511A

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

Preview Lab → · Contrast checker → · Palette generator →

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