#052B18#052B18

#052B18 is a dark, muted teal. Relative luminance 0.018; OKLCH L 25.7% C 0.056 H 156.9°. Best body text is #FFFFFF at 15.38:1 contrast (WCAG AA passes).

Color values

HEX#052B18
RGBrgb(5, 43, 24)
HSLhsl(150, 79%, 9%)
HSVhsv(150, 88%, 17%)
CMYKcmyk(88.4%, 0%, 44.2%, 83.1%)
CIE-LABlab(14.55, -18.86, 8.67)
CIE-LCHlch(14.55, 20.76, 155.32°)
OKLaboklab(25.68% -0.051 0.0218)
OKLCHoklch(25.68% 0.056 156.9)
XYZxyz(1.0912, 1.8258, 1.1589)
Luminance0.0183 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#052B18 #2B0518
analogous
#052B05 #052B18 #052B2B
triadic
#052B18 #18052B #2B1805
tetradic
#052B18 #05052B #2B0518 #2B2B05
square
#052B18 #05052B #2B0518 #2B2B05
split-complementary
#052B18 #2B052B #2B0505
monochromatic
#031B0F #031B0F #052B18 #0B6237 #129955

Accessibility & contrast

On white

15.38
#052B18 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#052B18 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #052B18
15.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##052B18#FFFFFF#000000##FFFFFF
##052B181.0015.381.3715.38
#FFFFFF15.381.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B2717
Deuteranopia (green-blind)
#262319
Tritanopia (blue-blind)
#002B26
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #052b18;
/* rgb */ color: rgb(5, 43, 24);
/* oklch */ color: oklch(25.7% 0.056 156.9);
Tailwind
colors: {
  custom: {
    50: '#4b6554',
    500: '#052b18',
    950: '#000000',
  },
}
SCSS
$custom: #052b18;
$custom-light: #4b6554;
$custom-dark: #000000;
JSON
{
  "hex": "#052b18",
  "rgb": {
    "r": 5,
    "g": 43,
    "b": 24
  },
  "hsl": {
    "h": 150,
    "s": 79.167,
    "l": 9.412
  },
  "oklch": {
    "l": 0.25684,
    "c": 0.0555,
    "h": 156.9
  },
  "luminance": 0.01826
}

Semantic roles & 50–950 ramp

primary
#052B18
secondary
#6D1F46
accent
#3294F6
background
#F4F6F4
surface
#E7EBE7
border
#C3C6C3
text
#010502
muted
#777A78

Preview Lab

Preview with #052B18

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

Preview Lab → · Contrast checker → · Palette generator →

#052B18 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva