#182818#182818

#182818 is a dark, muted green. Relative luminance 0.018; OKLCH L 25.7% C 0.037 H 144.4°. Best body text is #FFFFFF at 15.49:1 contrast (WCAG AA passes).

Color values

HEX#182818
RGBrgb(24, 40, 24)
HSLhsl(120, 25%, 13%)
HSVhsv(120, 40%, 16%)
CMYKcmyk(40%, 0%, 40%, 84.3%)
CIE-LABlab(14.27, -10.91, 8.46)
CIE-LCHlch(14.27, 13.81, 142.20°)
OKLaboklab(25.72% -0.0298 0.0213)
OKLCHoklch(25.72% 0.037 144.4)
XYZxyz(1.3003, 1.7777, 1.1386)
Luminance0.0178 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182818 #281828
analogous
#202818 #182818 #182820
triadic
#182818 #181828 #281818
tetradic
#182818 #182028 #281828 #282018
square
#182818 #182028 #281828 #282018
split-complementary
#182818 #201828 #281820
monochromatic
#0B130B #0B130B #182818 #2F4E2F #467446

Accessibility & contrast

On white

15.49
#182818 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#182818 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #182818
15.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182818#FFFFFF#000000##FFFFFF
##1828181.0015.491.3615.49
#FFFFFF15.491.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#292517
Deuteranopia (green-blind)
#262419
Tritanopia (blue-blind)
#162724
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #182818;
/* rgb */ color: rgb(24, 40, 24);
/* oklch */ color: oklch(25.7% 0.037 144.4);
Tailwind
colors: {
  custom: {
    50: '#556254',
    500: '#182818',
    950: '#000000',
  },
}
SCSS
$custom: #182818;
$custom-light: #556254;
$custom-dark: #000000;
JSON
{
  "hex": "#182818",
  "rgb": {
    "r": 24,
    "g": 40,
    "b": 24
  },
  "hsl": {
    "h": 120,
    "s": 25,
    "l": 12.549
  },
  "oklch": {
    "l": 0.25715,
    "c": 0.03659,
    "h": 144.4
  },
  "luminance": 0.01778
}

Semantic roles & 50–950 ramp

primary
#182818
secondary
#5C405C
accent
#66C1C1
background
#F5F5F4
surface
#E8EAE7
border
#C4C6C3
text
#030502
muted
#787978

Preview Lab

Preview with #182818

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

Preview Lab → · Contrast checker → · Palette generator →

#182818 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva