#1E2A18#1E2A18

#1E2A18 is a dark, muted green. Relative luminance 0.020; OKLCH L 26.8% C 0.036 H 135.6°. Best body text is #FFFFFF at 15.00:1 contrast (WCAG AA passes).

Color values

HEX#1E2A18
RGBrgb(30, 42, 24)
HSLhsl(100, 27%, 13%)
HSVhsv(100, 43%, 16%)
CMYKcmyk(28.6%, 0%, 42.9%, 83.5%)
CIE-LABlab(15.48, -9.48, 10.15)
CIE-LCHlch(15.48, 13.88, 133.04°)
OKLaboklab(26.8% -0.0258 0.0253)
OKLCHoklch(26.8% 0.036 135.6)
XYZxyz(1.5282, 1.9979, 1.1691)
Luminance0.0200 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2A18 #24182A
analogous
#272A18 #1E2A18 #182A1B
triadic
#1E2A18 #181E2A #2A181E
tetradic
#1E2A18 #18272A #24182A #2A1B18
square
#1E2A18 #18272A #24182A #2A1B18
split-complementary
#1E2A18 #1B182A #2A1827
monochromatic
#0E130B #0E130B #1E2A18 #3A512E #567845

Accessibility & contrast

On white

15.00
#1E2A18 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#1E2A18 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E2A18
15.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2A18#FFFFFF#000000##FFFFFF
##1E2A181.0015.001.4015.00
#FFFFFF15.001.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B2717
Deuteranopia (green-blind)
#292619
Tritanopia (blue-blind)
#1E2925
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #1e2a18;
/* rgb */ color: rgb(30, 42, 24);
/* oklch */ color: oklch(26.8% 0.036 135.6);
Tailwind
colors: {
  custom: {
    50: '#5a6355',
    500: '#1e2a18',
    950: '#000000',
  },
}
SCSS
$custom: #1e2a18;
$custom-light: #5a6355;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2a18",
  "rgb": {
    "r": 30,
    "g": 42,
    "b": 24
  },
  "hsl": {
    "h": 100,
    "s": 27.273,
    "l": 12.941
  },
  "oklch": {
    "l": 0.26801,
    "c": 0.03616,
    "h": 135.6
  },
  "luminance": 0.01998
}

Semantic roles & 50–950 ramp

primary
#1E2A18
secondary
#54405E
accent
#64C4A4
background
#F5F5F4
surface
#E9EAE7
border
#C5C6C3
text
#030503
muted
#787978

Preview Lab

Preview with #1E2A18

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

Preview Lab → · Contrast checker → · Palette generator →

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