#052218#052218

#052218 is a very dark, muted teal. Relative luminance 0.012; OKLCH L 22.7% C 0.040 H 166.8°. Best body text is #FFFFFF at 16.82:1 contrast (WCAG AA passes).

Color values

HEX#052218
RGBrgb(5, 34, 24)
HSLhsl(159, 74%, 8%)
HSVhsv(159, 85%, 13%)
CMYKcmyk(85.3%, 0%, 29.4%, 86.7%)
CIE-LABlab(10.87, -14.09, 3.59)
CIE-LCHlch(10.87, 14.54, 165.69°)
OKLaboklab(22.66% -0.0391 0.0092)
OKLCHoklch(22.66% 0.04 166.8)
XYZxyz(0.7994, 1.2422, 1.0616)
Luminance0.0124 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#052218 #22050F
analogous
#052209 #052218 #051D22
triadic
#052218 #180522 #221805
tetradic
#052218 #090522 #22050F #1D2205
square
#052218 #090522 #22050F #1D2205
split-complementary
#052218 #22051D #220905
monochromatic
#041B13 #041B13 #052218 #0D573E #158D63

Accessibility & contrast

On white

16.82
#052218 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.25
#052218 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #052218
16.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##052218#FFFFFF#000000##FFFFFF
##0522181.0016.821.2516.82
#FFFFFF16.821.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#211F17
Deuteranopia (green-blind)
#1D1C19
Tritanopia (blue-blind)
#00221F
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #052218;
/* rgb */ color: rgb(5, 34, 24);
/* oklch */ color: oklch(22.7% 0.040 166.8);
Tailwind
colors: {
  custom: {
    50: '#485d54',
    500: '#052218',
    950: '#000000',
  },
}
SCSS
$custom: #052218;
$custom-light: #485d54;
$custom-dark: #000000;
JSON
{
  "hex": "#052218",
  "rgb": {
    "r": 5,
    "g": 34,
    "b": 24
  },
  "hsl": {
    "h": 159.31,
    "s": 74.359,
    "l": 7.647
  },
  "oklch": {
    "l": 0.22661,
    "c": 0.04019,
    "h": 166.8
  },
  "luminance": 0.01242
}

Semantic roles & 50–950 ramp

primary
#052218
secondary
#631F37
accent
#3777F1
background
#F4F5F4
surface
#E7E9E7
border
#C3C5C3
text
#010402
muted
#777978

Preview Lab

Preview with #052218

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

Preview Lab → · Contrast checker → · Palette generator →

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