#2C541B#2C541B

#2C541B is a dark, moderate green. Relative luminance 0.070; OKLCH L 40.2% C 0.097 H 137.6°. Best body text is #FFFFFF at 8.78:1 contrast (WCAG AA passes).

Color values

HEX#2C541B
RGBrgb(44, 84, 27)
HSLhsl(102, 51%, 22%)
HSVhsv(102, 68%, 33%)
CMYKcmyk(47.6%, 0%, 67.9%, 67.1%)
CIE-LABlab(31.70, -26.00, 28.22)
CIE-LCHlch(31.70, 38.37, 132.66°)
OKLaboklab(40.25% -0.0717 0.0655)
OKLCHoklch(40.25% 0.097 137.6)
XYZxyz(4.4067, 6.9550, 2.1469)
Luminance0.0696 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C541B #431B54
analogous
#49541B #2C541B #1B5427
triadic
#2C541B #1B2C54 #541B2C
tetradic
#2C541B #1B4954 #431B54 #54271B
square
#2C541B #1B4954 #431B54 #54271B
split-complementary
#2C541B #271B54 #541B49
monochromatic
#0C1707 #14260C #2C541B #44822A #5DB139

Accessibility & contrast

On white

8.78
#2C541B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#2C541B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C541B
8.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C541B#FFFFFF#000000##FFFFFF
##2C541B1.008.782.398.78
#FFFFFF8.781.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#574D14
Deuteranopia (green-blind)
#514920
Tritanopia (blue-blind)
#2A5148
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #2c541b;
/* rgb */ color: rgb(44, 84, 27);
/* oklch */ color: oklch(40.2% 0.097 137.6);
Tailwind
colors: {
  custom: {
    50: '#69845a',
    500: '#2c541b',
    950: '#000000',
  },
}
SCSS
$custom: #2c541b;
$custom-light: #69845a;
$custom-dark: #000000;
JSON
{
  "hex": "#2c541b",
  "rgb": {
    "r": 44,
    "g": 84,
    "b": 27
  },
  "hsl": {
    "h": 102.105,
    "s": 51.351,
    "l": 21.765
  },
  "oklch": {
    "l": 0.40249,
    "c": 0.09716,
    "h": 137.6
  },
  "luminance": 0.06955
}

Semantic roles & 50–950 ramp

primary
#2C541B
secondary
#74418A
accent
#4DDBB1
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#060B04
muted
#7A7C79

Preview Lab

Preview with #2C541B

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

Preview Lab → · Contrast checker → · Palette generator →

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