#182A18#182A18

#182A18 is a dark, muted green. Relative luminance 0.019; OKLCH L 26.3% C 0.041 H 144.3°. Best body text is #FFFFFF at 15.18:1 contrast (WCAG AA passes).

Color values

HEX#182A18
RGBrgb(24, 42, 24)
HSLhsl(120, 27%, 13%)
HSVhsv(120, 43%, 16%)
CMYKcmyk(42.9%, 0%, 42.9%, 83.5%)
CIE-LABlab(15.04, -12.13, 9.49)
CIE-LCHlch(15.04, 15.40, 141.95°)
OKLaboklab(26.33% -0.0331 0.0238)
OKLCHoklch(26.33% 0.041 144.3)
XYZxyz(1.3695, 1.9160, 1.1616)
Luminance0.0192 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182A18 #2A182A
analogous
#212A18 #182A18 #182A21
triadic
#182A18 #18182A #2A1818
tetradic
#182A18 #18212A #2A182A #2A2118
square
#182A18 #18212A #2A182A #2A2118
split-complementary
#182A18 #21182A #2A1821
monochromatic
#0B130B #0B130B #182A18 #2E512E #457845

Accessibility & contrast

On white

15.18
#182A18 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#182A18 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #182A18
15.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182A18#FFFFFF#000000##FFFFFF
##182A181.0015.181.3815.18
#FFFFFF15.181.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B2717
Deuteranopia (green-blind)
#282519
Tritanopia (blue-blind)
#162925
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #182a18;
/* rgb */ color: rgb(24, 42, 24);
/* oklch */ color: oklch(26.3% 0.041 144.3);
Tailwind
colors: {
  custom: {
    50: '#556354',
    500: '#182a18',
    950: '#000000',
  },
}
SCSS
$custom: #182a18;
$custom-light: #556354;
$custom-dark: #000000;
JSON
{
  "hex": "#182a18",
  "rgb": {
    "r": 24,
    "g": 42,
    "b": 24
  },
  "hsl": {
    "h": 120,
    "s": 27.273,
    "l": 12.941
  },
  "oklch": {
    "l": 0.26335,
    "c": 0.04071,
    "h": 144.3
  },
  "luminance": 0.01916
}

Semantic roles & 50–950 ramp

primary
#182A18
secondary
#5E405E
accent
#64C4C4
background
#F5F5F4
surface
#E9EAE7
border
#C5C6C3
text
#030502
muted
#787978

Preview Lab

Preview with #182A18

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

Preview Lab → · Contrast checker → · Palette generator →

#182A18 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva