#2C511D#2C511D

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

Color values

HEX#2C511D
RGBrgb(44, 81, 29)
HSLhsl(103, 47%, 22%)
HSVhsv(103, 64%, 32%)
CMYKcmyk(45.7%, 0%, 64.2%, 68.2%)
CIE-LABlab(30.66, -24.32, 26.00)
CIE-LCHlch(30.66, 35.60, 133.08°)
OKLaboklab(39.4% -0.067 0.061)
OKLCHoklch(39.4% 0.091 137.7)
XYZxyz(4.2028, 6.5088, 2.1970)
Luminance0.0651 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C511D #421D51
analogous
#46511D #2C511D #1D5128
triadic
#2C511D #1D2C51 #511D2C
tetradic
#2C511D #1D4651 #421D51 #51281D
square
#2C511D #1D4651 #421D51 #51281D
split-complementary
#2C511D #281D51 #511D46
monochromatic
#0C1708 #14240D #2C511D #447E2D #5DAB3D

Accessibility & contrast

On white

9.12
#2C511D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C511D
9.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C511D#FFFFFF#000000##FFFFFF
##2C511D1.009.122.309.12
#FFFFFF9.121.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#544A18
Deuteranopia (green-blind)
#4F4721
Tritanopia (blue-blind)
#2A4E46
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #2c511d;
/* rgb */ color: rgb(44, 81, 29);
/* oklch */ color: oklch(39.4% 0.091 137.7);
Tailwind
colors: {
  custom: {
    50: '#68825b',
    500: '#2c511d',
    950: '#000000',
  },
}
SCSS
$custom: #2c511d;
$custom-light: #68825b;
$custom-dark: #000000;
JSON
{
  "hex": "#2c511d",
  "rgb": {
    "r": 44,
    "g": 81,
    "b": 29
  },
  "hsl": {
    "h": 102.692,
    "s": 47.273,
    "l": 21.569
  },
  "oklch": {
    "l": 0.39402,
    "c": 0.09063,
    "h": 137.7
  },
  "luminance": 0.06509
}

Semantic roles & 50–950 ramp

primary
#2C511D
secondary
#734486
accent
#51D7B0
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#060A04
muted
#7A7C79

Preview Lab

Preview with #2C511D

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

Preview Lab → · Contrast checker → · Palette generator →

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