#2C541A#2C541A

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

Color values

HEX#2C541A
RGBrgb(44, 84, 26)
HSLhsl(101, 53%, 22%)
HSVhsv(101, 69%, 33%)
CMYKcmyk(47.6%, 0%, 69%, 67.1%)
CIE-LABlab(31.69, -26.11, 28.71)
CIE-LCHlch(31.69, 38.80, 132.29°)
OKLaboklab(40.24% -0.0721 0.0664)
OKLCHoklch(40.24% 0.098 137.4)
XYZxyz(4.3953, 6.9504, 2.0870)
Luminance0.0695 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C541A #421A54
analogous
#49541A #2C541A #1A5425
triadic
#2C541A #1A2C54 #541A2C
tetradic
#2C541A #1A4954 #421A54 #54251A
square
#2C541A #1A4954 #421A54 #54251A
split-complementary
#2C541A #251A54 #541A49
monochromatic
#0C1707 #14250C #2C541A #448328 #5DB137

Accessibility & contrast

On white

8.79
#2C541A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C541A
8.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C541A#FFFFFF#000000##FFFFFF
##2C541A1.008.792.398.79
#FFFFFF8.791.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#574D13
Deuteranopia (green-blind)
#51491F
Tritanopia (blue-blind)
#2A5148
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #2c541a;
/* rgb */ color: rgb(44, 84, 26);
/* oklch */ color: oklch(40.2% 0.098 137.4);
Tailwind
colors: {
  custom: {
    50: '#698459',
    500: '#2c541a',
    950: '#000000',
  },
}
SCSS
$custom: #2c541a;
$custom-light: #698459;
$custom-dark: #000000;
JSON
{
  "hex": "#2c541a",
  "rgb": {
    "r": 44,
    "g": 84,
    "b": 26
  },
  "hsl": {
    "h": 101.379,
    "s": 52.727,
    "l": 21.569
  },
  "oklch": {
    "l": 0.40237,
    "c": 0.09806,
    "h": 137.4
  },
  "luminance": 0.06951
}

Semantic roles & 50–950 ramp

primary
#2C541A
secondary
#73408A
accent
#4CDCAF
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#060B04
muted
#7A7C79

Preview Lab

Preview with #2C541A

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

Preview Lab → · Contrast checker → · Palette generator →

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