#042016#042016

#042016 is a very dark, muted teal. Relative luminance 0.011; OKLCH L 21.9% C 0.040 H 166.2°. Best body text is #FFFFFF at 17.17:1 contrast (WCAG AA passes).

Color values

HEX#042016
RGBrgb(4, 32, 22)
HSLhsl(159, 78%, 7%)
HSVhsv(159, 88%, 13%)
CMYKcmyk(87.5%, 0%, 31.2%, 87.5%)
CIE-LABlab(9.93, -13.66, 3.71)
CIE-LCHlch(9.93, 14.15, 164.78°)
OKLaboklab(21.86% -0.0386 0.0095)
OKLCHoklch(21.86% 0.04 166.2)
XYZxyz(0.7113, 1.1167, 0.9370)
Luminance0.0112 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#042016 #20040E
analogous
#042008 #042016 #041C20
triadic
#042016 #160420 #201604
tetradic
#042016 #080420 #20040E #1C2004
square
#042016 #080420 #20040E #1C2004
split-complementary
#042016 #20041C #200804
monochromatic
#031B13 #031B13 #042016 #0B563B #128D61

Accessibility & contrast

On white

17.17
#042016 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#042016 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #042016
17.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##042016#FFFFFF#000000##FFFFFF
##0420161.0017.171.2217.17
#FFFFFF17.171.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F1D15
Deuteranopia (green-blind)
#1B1A17
Tritanopia (blue-blind)
#00201D
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #042016;
/* rgb */ color: rgb(4, 32, 22);
/* oklch */ color: oklch(21.9% 0.040 166.2);
Tailwind
colors: {
  custom: {
    50: '#485b52',
    500: '#042016',
    950: '#000000',
  },
}
SCSS
$custom: #042016;
$custom-light: #485b52;
$custom-dark: #000000;
JSON
{
  "hex": "#042016",
  "rgb": {
    "r": 4,
    "g": 32,
    "b": 22
  },
  "hsl": {
    "h": 158.571,
    "s": 77.778,
    "l": 7.059
  },
  "oklch": {
    "l": 0.2186,
    "c": 0.03975,
    "h": 166.2
  },
  "luminance": 0.01117
}

Semantic roles & 50–950 ramp

primary
#042016
secondary
#631D36
accent
#3478F4
background
#F4F5F4
surface
#E6E9E7
border
#C2C5C3
text
#000402
muted
#777978

Preview Lab

Preview with #042016

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

Preview Lab → · Contrast checker → · Palette generator →

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