#2C511C#2C511C

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

Color values

HEX#2C511C
RGBrgb(44, 81, 28)
HSLhsl(102, 49%, 21%)
HSVhsv(102, 65%, 32%)
CMYKcmyk(45.7%, 0%, 65.4%, 68.2%)
CIE-LABlab(30.65, -24.44, 26.52)
CIE-LCHlch(30.65, 36.06, 132.67°)
OKLaboklab(39.39% -0.0674 0.062)
OKLCHoklch(39.39% 0.092 137.4)
XYZxyz(4.1906, 6.5039, 2.1330)
Luminance0.0650 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C511C #411C51
analogous
#47511C #2C511C #1C5127
triadic
#2C511C #1C2C51 #511C2C
tetradic
#2C511C #1C4751 #411C51 #51271C
square
#2C511C #1C4751 #411C51 #51271C
split-complementary
#2C511C #271C51 #511C47
monochromatic
#0C1708 #13240C #2C511C #457E2C #5DAC3B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2C511C#FFFFFF#000000##FFFFFF
##2C511C1.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)
#544A16
Deuteranopia (green-blind)
#4F4720
Tritanopia (blue-blind)
#2A4E46
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #2c511c;
/* rgb */ color: rgb(44, 81, 28);
/* oklch */ color: oklch(39.4% 0.092 137.4);
Tailwind
colors: {
  custom: {
    50: '#68825a',
    500: '#2c511c',
    950: '#000000',
  },
}
SCSS
$custom: #2c511c;
$custom-light: #68825a;
$custom-dark: #000000;
JSON
{
  "hex": "#2c511c",
  "rgb": {
    "r": 44,
    "g": 81,
    "b": 28
  },
  "hsl": {
    "h": 101.887,
    "s": 48.624,
    "l": 21.373
  },
  "oklch": {
    "l": 0.39389,
    "c": 0.0916,
    "h": 137.4
  },
  "luminance": 0.06504
}

Semantic roles & 50–950 ramp

primary
#2C511C
secondary
#724287
accent
#50D8AF
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#060A04
muted
#7A7C79

Preview Lab

Preview with #2C511C

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

Preview Lab → · Contrast checker → · Palette generator →

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