#2E4E2A#2E4E2A

#2E4E2A is a dark, moderate green. Relative luminance 0.062; OKLCH L 38.9% C 0.070 H 141.7°. Best body text is #FFFFFF at 9.38:1 contrast (WCAG AA passes).

Color values

HEX#2E4E2A
RGBrgb(46, 78, 42)
HSLhsl(113, 30%, 24%)
HSVhsv(113, 46%, 31%)
CMYKcmyk(41%, 0%, 46.2%, 69.4%)
CIE-LABlab(29.90, -20.13, 17.67)
CIE-LCHlch(29.90, 26.79, 138.72°)
OKLaboklab(38.88% -0.0549 0.0435)
OKLCHoklch(38.88% 0.07 141.7)
XYZxyz(4.2688, 6.1966, 3.1612)
Luminance0.0620 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4E2A #4A2A4E
analogous
#404E2A #2E4E2A #2A4E38
triadic
#2E4E2A #2A2E4E #4E2A2E
tetradic
#2E4E2A #2A404E #4A2A4E #4E382A
square
#2E4E2A #2A404E #4A2A4E #4E382A
split-complementary
#2E4E2A #382A4E #4E2A40
monochromatic
#0C140B #172615 #2E4E2A #45763F #5D9E55

Accessibility & contrast

On white

9.38
#2E4E2A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#2E4E2A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4E2A
9.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4E2A#FFFFFF#000000##FFFFFF
##2E4E2A1.009.382.249.38
#FFFFFF9.381.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#504827
Deuteranopia (green-blind)
#4B452C
Tritanopia (blue-blind)
#2B4C45
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #2e4e2a;
/* rgb */ color: rgb(46, 78, 42);
/* oklch */ color: oklch(38.9% 0.070 141.7);
Tailwind
colors: {
  custom: {
    50: '#688064',
    500: '#2e4e2a',
    950: '#000000',
  },
}
SCSS
$custom: #2e4e2a;
$custom-light: #688064;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4e2a",
  "rgb": {
    "r": 46,
    "g": 78,
    "b": 42
  },
  "hsl": {
    "h": 113.333,
    "s": 30,
    "l": 23.529
  },
  "oklch": {
    "l": 0.38876,
    "c": 0.07003,
    "h": 141.7
  },
  "luminance": 0.06197
}

Semantic roles & 50–950 ramp

primary
#2E4E2A
secondary
#7B5480
accent
#62C6BB
background
#F6F7F6
surface
#EBEEEB
border
#C6C9C6
text
#060A05
muted
#7A7C7A

Preview Lab

Preview with #2E4E2A

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

Preview Lab → · Contrast checker → · Palette generator →

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