#1E2E22#1E2E22

#1E2E22 is a dark, muted green. Relative luminance 0.023; OKLCH L 28.3% C 0.031 H 151.8°. Best body text is #FFFFFF at 14.29:1 contrast (WCAG AA passes).

Color values

HEX#1E2E22
RGBrgb(30, 46, 34)
HSLhsl(135, 21%, 15%)
HSVhsv(135, 35%, 18%)
CMYKcmyk(34.8%, 0%, 26.1%, 82%)
CIE-LABlab(17.20, -9.82, 5.64)
CIE-LCHlch(17.20, 11.33, 150.13°)
OKLaboklab(28.27% -0.027 0.0145)
OKLCHoklch(28.27% 0.031 151.8)
XYZxyz(1.8011, 2.3454, 1.8709)
Luminance0.0235 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2E22 #2E1E2A
analogous
#222E1E #1E2E22 #1E2E2A
triadic
#1E2E22 #221E2E #2E221E
tetradic
#1E2E22 #1E222E #2E1E2A #2E2A1E
square
#1E2E22 #1E222E #2E1E2A #2E2A1E
split-complementary
#1E2E22 #2A1E2E #2E1E22
monochromatic
#0C130E #0C130E #1E2E22 #36533D #4E7859

Accessibility & contrast

On white

14.29
#1E2E22 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#1E2E22 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E2E22
14.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2E22#FFFFFF#000000##FFFFFF
##1E2E221.0014.291.4714.29
#FFFFFF14.291.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E2B21
Deuteranopia (green-blind)
#2B2A23
Tritanopia (blue-blind)
#1C2D2B
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #1e2e22;
/* rgb */ color: rgb(30, 46, 34);
/* oklch */ color: oklch(28.3% 0.031 151.8);
Tailwind
colors: {
  custom: {
    50: '#5a665d',
    500: '#1e2e22',
    950: '#000000',
  },
}
SCSS
$custom: #1e2e22;
$custom-light: #5a665d;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2e22",
  "rgb": {
    "r": 30,
    "g": 46,
    "b": 34
  },
  "hsl": {
    "h": 135,
    "s": 21.053,
    "l": 14.902
  },
  "oklch": {
    "l": 0.28273,
    "c": 0.03066,
    "h": 151.8
  },
  "luminance": 0.02346
}

Semantic roles & 50–950 ramp

primary
#1E2E22
secondary
#60485A
accent
#6AA9BE
background
#F5F6F5
surface
#E9EBE9
border
#C5C6C5
text
#030604
muted
#787A79

Preview Lab

Preview with #1E2E22

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

Preview Lab → · Contrast checker → · Palette generator →

#1E2E22 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva