#052F21#052F21

#052F21 is a dark, muted teal. Relative luminance 0.022; OKLCH L 27.3% C 0.052 H 165.8°. Best body text is #FFFFFF at 14.63:1 contrast (WCAG AA passes).

Color values

HEX#052F21
RGBrgb(5, 47, 33)
HSLhsl(160, 81%, 10%)
HSVhsv(160, 89%, 18%)
CMYKcmyk(89.4%, 0%, 29.8%, 81.6%)
CIE-LABlab(16.38, -18.37, 5.00)
CIE-LCHlch(16.38, 19.04, 164.77°)
OKLaboklab(27.27% -0.0506 0.0128)
OKLCHoklch(27.27% 0.052 165.8)
XYZxyz(1.3535, 2.1749, 1.7870)
Luminance0.0217 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#052F21 #2F0513
analogous
#052F0C #052F21 #05282F
triadic
#052F21 #21052F #2F2105
tetradic
#052F21 #0C052F #2F0513 #282F05
square
#052F21 #0C052F #2F0513 #282F05
split-complementary
#052F21 #2F0528 #2F0C05
monochromatic
#031C13 #031C13 #052F21 #0B6648 #119E6F

Accessibility & contrast

On white

14.63
#052F21 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#052F21 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #052F21
14.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##052F21#FFFFFF#000000##FFFFFF
##052F211.0014.631.4414.63
#FFFFFF14.631.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E2B20
Deuteranopia (green-blind)
#282722
Tritanopia (blue-blind)
#002F2B
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #052f21;
/* rgb */ color: rgb(5, 47, 33);
/* oklch */ color: oklch(27.3% 0.052 165.8);
Tailwind
colors: {
  custom: {
    50: '#4c685c',
    500: '#052f21',
    950: '#000000',
  },
}
SCSS
$custom: #052f21;
$custom-light: #4c685c;
$custom-dark: #000000;
JSON
{
  "hex": "#052f21",
  "rgb": {
    "r": 5,
    "g": 47,
    "b": 33
  },
  "hsl": {
    "h": 160,
    "s": 80.769,
    "l": 10.196
  },
  "oklch": {
    "l": 0.27269,
    "c": 0.05224,
    "h": 165.8
  },
  "luminance": 0.02175
}

Semantic roles & 50–950 ramp

primary
#052F21
secondary
#711F3A
accent
#3173F7
background
#F4F6F5
surface
#E7EBE9
border
#C3C6C5
text
#010604
muted
#777A79

Preview Lab

Preview with #052F21

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

Preview Lab → · Contrast checker → · Palette generator →

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