#042820#042820

#042820 is a very dark, muted teal. Relative luminance 0.016; OKLCH L 24.9% C 0.043 H 174.6°. Best body text is #FFFFFF at 15.79:1 contrast (WCAG AA passes).

Color values

HEX#042820
RGBrgb(4, 40, 32)
HSLhsl(167, 82%, 9%)
HSVhsv(167, 90%, 16%)
CMYKcmyk(90%, 0%, 20%, 84.3%)
CIE-LABlab(13.52, -15.19, 1.62)
CIE-LCHlch(13.52, 15.28, 173.91°)
OKLaboklab(24.9% -0.043 0.0041)
OKLCHoklch(24.9% 0.043 174.6)
XYZxyz(1.0694, 1.6476, 1.6279)
Luminance0.0165 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#042820 #28040C
analogous
#04280E #042820 #041E28
triadic
#042820 #200428 #282004
tetradic
#042820 #0E0428 #28040C #1E2804
square
#042820 #0E0428 #28040C #1E2804
split-complementary
#042820 #28041E #280E04
monochromatic
#031C16 #031C16 #042820 #0A604D #0F9779

Accessibility & contrast

On white

15.79
#042820 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#042820 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #042820
15.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##042820#FFFFFF#000000##FFFFFF
##0428201.0015.791.3315.79
#FFFFFF15.791.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#262520
Deuteranopia (green-blind)
#212121
Tritanopia (blue-blind)
#002926
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #042820;
/* rgb */ color: rgb(4, 40, 32);
/* oklch */ color: oklch(24.9% 0.043 174.6);
Tailwind
colors: {
  custom: {
    50: '#4a625b',
    500: '#042820',
    950: '#000000',
  },
}
SCSS
$custom: #042820;
$custom-light: #4a625b;
$custom-dark: #000000;
JSON
{
  "hex": "#042820",
  "rgb": {
    "r": 4,
    "g": 40,
    "b": 32
  },
  "hsl": {
    "h": 166.667,
    "s": 81.818,
    "l": 8.627
  },
  "oklch": {
    "l": 0.24902,
    "c": 0.04321,
    "h": 174.6
  },
  "luminance": 0.01648
}

Semantic roles & 50–950 ramp

primary
#042820
secondary
#6B1D2E
accent
#305CF8
background
#F4F5F5
surface
#E7EAE9
border
#C3C6C5
text
#010504
muted
#777979

Preview Lab

Preview with #042820

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

Preview Lab → · Contrast checker → · Palette generator →

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