#2C511B#2C511B

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

Color values

HEX#2C511B
RGBrgb(44, 81, 27)
HSLhsl(101, 50%, 21%)
HSVhsv(101, 67%, 32%)
CMYKcmyk(45.7%, 0%, 66.7%, 68.2%)
CIE-LABlab(30.64, -24.56, 27.02)
CIE-LCHlch(30.64, 36.51, 132.26°)
OKLaboklab(39.38% -0.0678 0.063)
OKLCHoklch(39.38% 0.093 137.1)
XYZxyz(4.1788, 6.4992, 2.0710)
Luminance0.0650 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C511B #401B51
analogous
#47511B #2C511B #1B5125
triadic
#2C511B #1B2C51 #511B2C
tetradic
#2C511B #1B4751 #401B51 #51251B
square
#2C511B #1B4751 #401B51 #51251B
split-complementary
#2C511B #251B51 #511B47
monochromatic
#0C1708 #13230C #2C511B #457F2A #5EAD3A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2C511B#FFFFFF#000000##FFFFFF
##2C511B1.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)
#544A15
Deuteranopia (green-blind)
#4F471F
Tritanopia (blue-blind)
#2A4E45
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #2c511b;
/* rgb */ color: rgb(44, 81, 27);
/* oklch */ color: oklch(39.4% 0.093 137.1);
Tailwind
colors: {
  custom: {
    50: '#68825a',
    500: '#2c511b',
    950: '#000000',
  },
}
SCSS
$custom: #2c511b;
$custom-light: #68825a;
$custom-dark: #000000;
JSON
{
  "hex": "#2c511b",
  "rgb": {
    "r": 44,
    "g": 81,
    "b": 27
  },
  "hsl": {
    "h": 101.111,
    "s": 50,
    "l": 21.176
  },
  "oklch": {
    "l": 0.39376,
    "c": 0.09255,
    "h": 137.1
  },
  "luminance": 0.06499
}

Semantic roles & 50–950 ramp

primary
#2C511B
secondary
#714187
accent
#4EDAAE
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#060A04
muted
#7A7C79

Preview Lab

Preview with #2C511B

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

Preview Lab → · Contrast checker → · Palette generator →

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