#042816#042816

#042816 is a very dark, muted teal. Relative luminance 0.016; OKLCH L 24.6% C 0.053 H 157.1°. Best body text is #FFFFFF at 15.91:1 contrast (WCAG AA passes).

Color values

HEX#042816
RGBrgb(4, 40, 22)
HSLhsl(150, 82%, 9%)
HSVhsv(150, 90%, 16%)
CMYKcmyk(90%, 0%, 45%, 84.3%)
CIE-LABlab(13.24, -18.18, 8.28)
CIE-LCHlch(13.24, 19.98, 155.52°)
OKLaboklab(24.58% -0.0492 0.0208)
OKLCHoklch(24.58% 0.053 157.1)
XYZxyz(0.9536, 1.6012, 1.0177)
Luminance0.0160 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#042816 #280416
analogous
#042804 #042816 #042828
triadic
#042816 #160428 #281604
tetradic
#042816 #040428 #280416 #282804
square
#042816 #040428 #280416 #282804
split-complementary
#042816 #280428 #280404
monochromatic
#031C0F #031C0F #042816 #0A6035 #0F9753

Accessibility & contrast

On white

15.91
#042816 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#042816 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #042816
15.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##042816#FFFFFF#000000##FFFFFF
##0428161.0015.911.3215.91
#FFFFFF15.911.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#282415
Deuteranopia (green-blind)
#232117
Tritanopia (blue-blind)
#002823
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #042816;
/* rgb */ color: rgb(4, 40, 22);
/* oklch */ color: oklch(24.6% 0.053 157.1);
Tailwind
colors: {
  custom: {
    50: '#4a6253',
    500: '#042816',
    950: '#000000',
  },
}
SCSS
$custom: #042816;
$custom-light: #4a6253;
$custom-dark: #000000;
JSON
{
  "hex": "#042816",
  "rgb": {
    "r": 4,
    "g": 40,
    "b": 22
  },
  "hsl": {
    "h": 150,
    "s": 81.818,
    "l": 8.627
  },
  "oklch": {
    "l": 0.2458,
    "c": 0.05341,
    "h": 157.1
  },
  "luminance": 0.01601
}

Semantic roles & 50–950 ramp

primary
#042816
secondary
#6B1D44
accent
#3094F8
background
#F4F5F4
surface
#E7EAE7
border
#C3C6C3
text
#010502
muted
#777978

Preview Lab

Preview with #042816

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

Preview Lab → · Contrast checker → · Palette generator →

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