#18261C#18261C

#18261C is a dark, muted green. Relative luminance 0.017; OKLCH L 25.2% C 0.027 H 153.1°. Best body text is #FFFFFF at 15.76:1 contrast (WCAG AA passes).

Color values

HEX#18261C
RGBrgb(24, 38, 28)
HSLhsl(137, 23%, 12%)
HSVhsv(137, 37%, 15%)
CMYKcmyk(36.8%, 0%, 26.3%, 85.1%)
CIE-LABlab(13.62, -8.72, 4.75)
CIE-LCHlch(13.62, 9.93, 151.43°)
OKLaboklab(25.22% -0.024 0.0122)
OKLCHoklch(25.22% 0.027 153.1)
XYZxyz(1.2793, 1.6642, 1.3522)
Luminance0.0166 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18261C #261822
analogous
#1B2618 #18261C #182623
triadic
#18261C #1C1826 #261C18
tetradic
#18261C #181B26 #261822 #262318
square
#18261C #181B26 #261822 #262318
split-complementary
#18261C #231826 #26181B
monochromatic
#0C130E #0C130E #18261C #304C38 #477153

Accessibility & contrast

On white

15.76
#18261C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#18261C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18261C
15.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18261C#FFFFFF#000000##FFFFFF
##18261C1.0015.761.3315.76
#FFFFFF15.761.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#26241B
Deuteranopia (green-blind)
#24221D
Tritanopia (blue-blind)
#162623
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #18261c;
/* rgb */ color: rgb(24, 38, 28);
/* oklch */ color: oklch(25.2% 0.027 153.1);
Tailwind
colors: {
  custom: {
    50: '#556058',
    500: '#18261c',
    950: '#000000',
  },
}
SCSS
$custom: #18261c;
$custom-light: #556058;
$custom-dark: #000000;
JSON
{
  "hex": "#18261c",
  "rgb": {
    "r": 24,
    "g": 38,
    "b": 28
  },
  "hsl": {
    "h": 137.143,
    "s": 22.581,
    "l": 12.157
  },
  "oklch": {
    "l": 0.25218,
    "c": 0.02695,
    "h": 153.1
  },
  "luminance": 0.01664
}

Semantic roles & 50–950 ramp

primary
#18261C
secondary
#594152
accent
#69A6BF
background
#F4F5F5
surface
#E8E9E9
border
#C4C5C5
text
#030403
muted
#787978

Preview Lab

Preview with #18261C

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

Preview Lab → · Contrast checker → · Palette generator →

#18261C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva