#042718#042718

#042718 is a very dark, muted teal. Relative luminance 0.015; OKLCH L 24.3% C 0.049 H 160.8°. Best body text is #FFFFFF at 16.05:1 contrast (WCAG AA passes).

Color values

HEX#042718
RGBrgb(4, 39, 24)
HSLhsl(154, 81%, 8%)
HSVhsv(154, 90%, 15%)
CMYKcmyk(89.7%, 0%, 38.5%, 84.7%)
CIE-LABlab(12.88, -17.13, 6.39)
CIE-LCHlch(12.88, 18.28, 159.53°)
OKLaboklab(24.3% -0.0467 0.0162)
OKLCHoklch(24.3% 0.049 160.8)
XYZxyz(0.9404, 1.5427, 1.1122)
Luminance0.0154 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#042718 #270413
analogous
#042706 #042718 #042427
triadic
#042718 #180427 #271804
tetradic
#042718 #060427 #270413 #242704
square
#042718 #060427 #270413 #242704
split-complementary
#042718 #270424 #270604
monochromatic
#031C11 #031C11 #042718 #0A5F3A #0F965C

Accessibility & contrast

On white

16.05
#042718 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#042718 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #042718
16.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##042718#FFFFFF#000000##FFFFFF
##0427181.0016.051.3116.05
#FFFFFF16.051.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#262317
Deuteranopia (green-blind)
#222019
Tritanopia (blue-blind)
#002723
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #042718;
/* rgb */ color: rgb(4, 39, 24);
/* oklch */ color: oklch(24.3% 0.049 160.8);
Tailwind
colors: {
  custom: {
    50: '#496154',
    500: '#042718',
    950: '#000000',
  },
}
SCSS
$custom: #042718;
$custom-light: #496154;
$custom-dark: #000000;
JSON
{
  "hex": "#042718",
  "rgb": {
    "r": 4,
    "g": 39,
    "b": 24
  },
  "hsl": {
    "h": 154.286,
    "s": 81.395,
    "l": 8.431
  },
  "oklch": {
    "l": 0.243,
    "c": 0.04942,
    "h": 160.8
  },
  "luminance": 0.01543
}

Semantic roles & 50–950 ramp

primary
#042718
secondary
#6A1D3E
accent
#3086F8
background
#F4F5F4
surface
#E7EAE7
border
#C3C6C3
text
#010502
muted
#777978

Preview Lab

Preview with #042718

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

Preview Lab → · Contrast checker → · Palette generator →

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