#052F1C#052F1C

#052F1C is a dark, muted teal. Relative luminance 0.021; OKLCH L 27.1% C 0.058 H 158.8°. Best body text is #FFFFFF at 14.69:1 contrast (WCAG AA passes).

Color values

HEX#052F1C
RGBrgb(5, 47, 28)
HSLhsl(153, 81%, 10%)
HSVhsv(153, 89%, 18%)
CMYKcmyk(89.4%, 0%, 40.4%, 81.6%)
CIE-LABlab(16.25, -19.79, 8.25)
CIE-LCHlch(16.25, 21.44, 157.37°)
OKLaboklab(27.12% -0.0537 0.0208)
OKLCHoklch(27.12% 0.058 158.8)
XYZxyz(1.2886, 2.1490, 1.4453)
Luminance0.0215 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#052F1C #2F0518
analogous
#052F07 #052F1C #052D2F
triadic
#052F1C #1C052F #2F1C05
tetradic
#052F1C #07052F #2F0518 #2D2F05
square
#052F1C #07052F #2F0518 #2D2F05
split-complementary
#052F1C #2F052D #2F0705
monochromatic
#031C10 #031C10 #052F1C #0B663D #119E5E

Accessibility & contrast

On white

14.69
#052F1C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#052F1C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #052F1C
14.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##052F1C#FFFFFF#000000##FFFFFF
##052F1C1.0014.691.4314.69
#FFFFFF14.691.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E2B1B
Deuteranopia (green-blind)
#29271D
Tritanopia (blue-blind)
#002F2A
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #052f1c;
/* rgb */ color: rgb(5, 47, 28);
/* oklch */ color: oklch(27.1% 0.058 158.8);
Tailwind
colors: {
  custom: {
    50: '#4c6858',
    500: '#052f1c',
    950: '#000000',
  },
}
SCSS
$custom: #052f1c;
$custom-light: #4c6858;
$custom-dark: #000000;
JSON
{
  "hex": "#052f1c",
  "rgb": {
    "r": 5,
    "g": 47,
    "b": 28
  },
  "hsl": {
    "h": 152.857,
    "s": 80.769,
    "l": 10.196
  },
  "oklch": {
    "l": 0.2712,
    "c": 0.05757,
    "h": 158.8
  },
  "luminance": 0.02149
}

Semantic roles & 50–950 ramp

primary
#052F1C
secondary
#711F44
accent
#318AF7
background
#F4F6F5
surface
#E7EBE9
border
#C3C6C5
text
#010603
muted
#777A78

Preview Lab

Preview with #052F1C

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

Preview Lab → · Contrast checker → · Palette generator →

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