#2C542E#2C542E

#2C542E is a dark, moderate green. Relative luminance 0.071; OKLCH L 40.6% C 0.077 H 145.0°. Best body text is #FFFFFF at 8.70:1 contrast (WCAG AA passes).

Color values

HEX#2C542E
RGBrgb(44, 84, 46)
HSLhsl(123, 31%, 25%)
HSVhsv(123, 48%, 33%)
CMYKcmyk(47.6%, 0%, 45.2%, 67.1%)
CIE-LABlab(31.97, -23.23, 17.92)
CIE-LCHlch(31.97, 29.34, 142.35°)
OKLaboklab(40.56% -0.0632 0.0442)
OKLCHoklch(40.56% 0.077 145)
XYZxyz(4.7019, 7.0731, 3.7017)
Luminance0.0707 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C542E #542C52
analogous
#3E542C #2C542E #2C5442
triadic
#2C542E #2E2C54 #542E2C
tetradic
#2C542E #2C3E54 #542C52 #54422C
square
#2C542E #2C3E54 #542C52 #54422C
split-complementary
#2C542E #422C54 #542C3E
monochromatic
#0B140B #172C18 #2C542E #417C44 #56A45A

Accessibility & contrast

On white

8.70
#2C542E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#2C542E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C542E
8.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C542E#FFFFFF#000000##FFFFFF
##2C542E1.008.702.418.70
#FFFFFF8.701.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#554E2B
Deuteranopia (green-blind)
#504A30
Tritanopia (blue-blind)
#27524B
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #2c542e;
/* rgb */ color: rgb(44, 84, 46);
/* oklch */ color: oklch(40.6% 0.077 145.0);
Tailwind
colors: {
  custom: {
    50: '#688467',
    500: '#2c542e',
    950: '#000000',
  },
}
SCSS
$custom: #2c542e;
$custom-light: #688467;
$custom-dark: #000000;
JSON
{
  "hex": "#2c542e",
  "rgb": {
    "r": 44,
    "g": 84,
    "b": 46
  },
  "hsl": {
    "h": 123,
    "s": 31.25,
    "l": 25.098
  },
  "oklch": {
    "l": 0.40555,
    "c": 0.07712,
    "h": 145
  },
  "luminance": 0.07073
}

Semantic roles & 50–950 ramp

primary
#2C542E
secondary
#865684
accent
#60C2C7
background
#F6F8F6
surface
#EBEFEB
border
#C6CAC6
text
#060B06
muted
#7A7C7A

Preview Lab

Preview with #2C542E

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

Preview Lab → · Contrast checker → · Palette generator →

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