#042818#042818

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

Color values

HEX#042818
RGBrgb(4, 40, 24)
HSLhsl(153, 82%, 9%)
HSVhsv(153, 90%, 16%)
CMYKcmyk(90%, 0%, 40%, 84.3%)
CIE-LABlab(13.29, -17.64, 6.95)
CIE-LCHlch(13.29, 18.97, 158.49°)
OKLaboklab(24.64% -0.048 0.0176)
OKLCHoklch(24.64% 0.051 159.8)
XYZxyz(0.9736, 1.6092, 1.1233)
Luminance0.0161 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#042818 #280414
analogous
#042806 #042818 #042628
triadic
#042818 #180428 #281804
tetradic
#042818 #060428 #280414 #262804
square
#042818 #060428 #280414 #262804
split-complementary
#042818 #280426 #280604
monochromatic
#031C11 #031C11 #042818 #0A6039 #0F975B

Accessibility & contrast

On white

15.89
#042818 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #042818
15.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##042818#FFFFFF#000000##FFFFFF
##0428181.0015.891.3215.89
#FFFFFF15.891.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#272417
Deuteranopia (green-blind)
#232119
Tritanopia (blue-blind)
#002824
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #042818;
/* rgb */ color: rgb(4, 40, 24);
/* oklch */ color: oklch(24.6% 0.051 159.8);
Tailwind
colors: {
  custom: {
    50: '#4a6254',
    500: '#042818',
    950: '#000000',
  },
}
SCSS
$custom: #042818;
$custom-light: #4a6254;
$custom-dark: #000000;
JSON
{
  "hex": "#042818",
  "rgb": {
    "r": 4,
    "g": 40,
    "b": 24
  },
  "hsl": {
    "h": 153.333,
    "s": 81.818,
    "l": 8.627
  },
  "oklch": {
    "l": 0.24636,
    "c": 0.0511,
    "h": 159.8
  },
  "luminance": 0.01609
}

Semantic roles & 50–950 ramp

primary
#042818
secondary
#6B1D40
accent
#3089F8
background
#F4F5F4
surface
#E7EAE7
border
#C3C6C3
text
#010502
muted
#777978

Preview Lab

Preview with #042818

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

Preview Lab → · Contrast checker → · Palette generator →

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