#2C511F#2C511F

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

Color values

HEX#2C511F
RGBrgb(44, 81, 31)
HSLhsl(104, 45%, 22%)
HSVhsv(104, 62%, 32%)
CMYKcmyk(45.7%, 0%, 61.7%, 68.2%)
CIE-LABlab(30.69, -24.07, 24.95)
CIE-LCHlch(30.69, 34.67, 133.96°)
OKLaboklab(39.43% -0.0662 0.059)
OKLCHoklch(39.43% 0.089 138.3)
XYZxyz(4.2283, 6.5190, 2.3316)
Luminance0.0652 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C511F #441F51
analogous
#45511F #2C511F #1F512B
triadic
#2C511F #1F2C51 #511F2C
tetradic
#2C511F #1F4551 #441F51 #512B1F
square
#2C511F #1F4551 #441F51 #512B1F
split-complementary
#2C511F #2B1F51 #511F45
monochromatic
#0C1608 #14250E #2C511F #447D30 #5CAA41

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2C511F#FFFFFF#000000##FFFFFF
##2C511F1.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)
#544A1A
Deuteranopia (green-blind)
#4E4723
Tritanopia (blue-blind)
#2A4E46
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #2c511f;
/* rgb */ color: rgb(44, 81, 31);
/* oklch */ color: oklch(39.4% 0.089 138.3);
Tailwind
colors: {
  custom: {
    50: '#68825c',
    500: '#2c511f',
    950: '#000000',
  },
}
SCSS
$custom: #2c511f;
$custom-light: #68825c;
$custom-dark: #000000;
JSON
{
  "hex": "#2c511f",
  "rgb": {
    "r": 44,
    "g": 81,
    "b": 31
  },
  "hsl": {
    "h": 104.4,
    "s": 44.643,
    "l": 21.961
  },
  "oklch": {
    "l": 0.3943,
    "c": 0.08863,
    "h": 138.3
  },
  "luminance": 0.06519
}

Semantic roles & 50–950 ramp

primary
#2C511F
secondary
#754686
accent
#53D4B3
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#060A04
muted
#7A7C79

Preview Lab

Preview with #2C511F

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

Preview Lab → · Contrast checker → · Palette generator →

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