#18281E#18281E

#18281E is a dark, muted green. Relative luminance 0.018; OKLCH L 25.9% C 0.029 H 156.3°. Best body text is #FFFFFF at 15.43:1 contrast (WCAG AA passes).

Color values

HEX#18281E
RGBrgb(24, 40, 30)
HSLhsl(143, 25%, 13%)
HSVhsv(143, 40%, 16%)
CMYKcmyk(40%, 0%, 25%, 84.3%)
CIE-LABlab(14.43, -9.49, 4.48)
CIE-LCHlch(14.43, 10.50, 154.76°)
OKLaboklab(25.89% -0.0263 0.0115)
OKLCHoklch(25.89% 0.029 156.3)
XYZxyz(1.3697, 1.8054, 1.5044)
Luminance0.0181 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18281E #281822
analogous
#1A2818 #18281E #182826
triadic
#18281E #1E1828 #281E18
tetradic
#18281E #181A28 #281822 #282618
square
#18281E #181A28 #281822 #282618
split-complementary
#18281E #261828 #28181A
monochromatic
#0B130E #0B130E #18281E #2F4E3B #467457

Accessibility & contrast

On white

15.43
#18281E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #18281E
15.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18281E#FFFFFF#000000##FFFFFF
##18281E1.0015.431.3615.43
#FFFFFF15.431.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#28261D
Deuteranopia (green-blind)
#25241F
Tritanopia (blue-blind)
#152825
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #18281e;
/* rgb */ color: rgb(24, 40, 30);
/* oklch */ color: oklch(25.9% 0.029 156.3);
Tailwind
colors: {
  custom: {
    50: '#556259',
    500: '#18281e',
    950: '#000000',
  },
}
SCSS
$custom: #18281e;
$custom-light: #556259;
$custom-dark: #000000;
JSON
{
  "hex": "#18281e",
  "rgb": {
    "r": 24,
    "g": 40,
    "b": 30
  },
  "hsl": {
    "h": 142.5,
    "s": 25,
    "l": 12.549
  },
  "oklch": {
    "l": 0.25893,
    "c": 0.02869,
    "h": 156.3
  },
  "luminance": 0.01806
}

Semantic roles & 50–950 ramp

primary
#18281E
secondary
#5C4051
accent
#669FC1
background
#F4F5F5
surface
#E8EAE9
border
#C4C6C5
text
#030503
muted
#787978

Preview Lab

Preview with #18281E

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

Preview Lab → · Contrast checker → · Palette generator →

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