#18281A#18281A

#18281A is a dark, muted green. Relative luminance 0.018; OKLCH L 25.8% C 0.034 H 147.7°. Best body text is #FFFFFF at 15.47:1 contrast (WCAG AA passes).

Color values

HEX#18281A
RGBrgb(24, 40, 26)
HSLhsl(128, 25%, 13%)
HSVhsv(128, 40%, 16%)
CMYKcmyk(40%, 0%, 35%, 84.3%)
CIE-LABlab(14.32, -10.46, 7.14)
CIE-LCHlch(14.32, 12.66, 145.70°)
OKLaboklab(25.77% -0.0286 0.0181)
OKLCHoklch(25.77% 0.034 147.7)
XYZxyz(1.3219, 1.7863, 1.2522)
Luminance0.0179 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18281A #281826
analogous
#1E2818 #18281A #182822
triadic
#18281A #1A1828 #281A18
tetradic
#18281A #181E28 #281826 #282218
square
#18281A #181E28 #281826 #282218
split-complementary
#18281A #221828 #28181E
monochromatic
#0B130C #0B130C #18281A #2F4E33 #46744C

Accessibility & contrast

On white

15.47
#18281A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#18281A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18281A
15.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18281A#FFFFFF#000000##FFFFFF
##18281A1.0015.471.3615.47
#FFFFFF15.471.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#282519
Deuteranopia (green-blind)
#26241B
Tritanopia (blue-blind)
#162724
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #18281a;
/* rgb */ color: rgb(24, 40, 26);
/* oklch */ color: oklch(25.8% 0.034 147.7);
Tailwind
colors: {
  custom: {
    50: '#556256',
    500: '#18281a',
    950: '#000000',
  },
}
SCSS
$custom: #18281a;
$custom-light: #556256;
$custom-dark: #000000;
JSON
{
  "hex": "#18281a",
  "rgb": {
    "r": 24,
    "g": 40,
    "b": 26
  },
  "hsl": {
    "h": 127.5,
    "s": 25,
    "l": 12.549
  },
  "oklch": {
    "l": 0.25771,
    "c": 0.03385,
    "h": 147.7
  },
  "luminance": 0.01786
}

Semantic roles & 50–950 ramp

primary
#18281A
secondary
#5C4058
accent
#66B6C1
background
#F4F5F5
surface
#E8EAE9
border
#C4C6C5
text
#030503
muted
#787978

Preview Lab

Preview with #18281A

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

Preview Lab → · Contrast checker → · Palette generator →

#18281A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva