#2E4C2A#2E4C2A

#2E4C2A is a dark, moderate green. Relative luminance 0.059; OKLCH L 38.3% C 0.066 H 141.5°. Best body text is #FFFFFF at 9.62:1 contrast (WCAG AA passes).

Color values

HEX#2E4C2A
RGBrgb(46, 76, 42)
HSLhsl(113, 29%, 23%)
HSVhsv(113, 45%, 30%)
CMYKcmyk(39.5%, 0%, 44.7%, 70.2%)
CIE-LABlab(29.20, -19.07, 16.77)
CIE-LCHlch(29.20, 25.39, 138.67°)
OKLaboklab(38.31% -0.052 0.0414)
OKLCHoklch(38.31% 0.066 141.5)
XYZxyz(4.1289, 5.9167, 3.1145)
Luminance0.0592 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4C2A #482A4C
analogous
#3F4C2A #2E4C2A #2A4C37
triadic
#2E4C2A #2A2E4C #4C2A2E
tetradic
#2E4C2A #2A3F4C #482A4C #4C372A
square
#2E4C2A #2A3F4C #482A4C #4C372A
split-complementary
#2E4C2A #372A4C #4C2A3F
monochromatic
#0C140B #162514 #2E4C2A #467340 #5E9B56

Accessibility & contrast

On white

9.62
#2E4C2A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#2E4C2A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4C2A
9.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4C2A#FFFFFF#000000##FFFFFF
##2E4C2A1.009.622.189.62
#FFFFFF9.621.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E4728
Deuteranopia (green-blind)
#49442C
Tritanopia (blue-blind)
#2B4A44
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #2e4c2a;
/* rgb */ color: rgb(46, 76, 42);
/* oklch */ color: oklch(38.3% 0.066 141.5);
Tailwind
colors: {
  custom: {
    50: '#687e64',
    500: '#2e4c2a',
    950: '#000000',
  },
}
SCSS
$custom: #2e4c2a;
$custom-light: #687e64;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4c2a",
  "rgb": {
    "r": 46,
    "g": 76,
    "b": 42
  },
  "hsl": {
    "h": 112.941,
    "s": 28.814,
    "l": 23.137
  },
  "oklch": {
    "l": 0.38306,
    "c": 0.06646,
    "h": 141.5
  },
  "luminance": 0.05917
}

Semantic roles & 50–950 ramp

primary
#2E4C2A
secondary
#79547E
accent
#63C5BA
background
#F6F7F5
surface
#EBEEEA
border
#C6C9C6
text
#060A05
muted
#7A7C79

Preview Lab

Preview with #2E4C2A

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

Preview Lab → · Contrast checker → · Palette generator →

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