#0F5342#0F5342

#0F5342 is a dark, moderate teal. Relative luminance 0.067; OKLCH L 39.7% C 0.071 H 171.5°. Best body text is #FFFFFF at 8.99:1 contrast (WCAG AA passes).

Color values

HEX#0F5342
RGBrgb(15, 83, 66)
HSLhsl(165, 69%, 19%)
HSVhsv(165, 82%, 33%)
CMYKcmyk(81.9%, 0%, 20.5%, 67.5%)
CIE-LABlab(31.07, -25.10, 4.14)
CIE-LCHlch(31.07, 25.43, 170.64°)
OKLaboklab(39.68% -0.0703 0.0105)
OKLCHoklch(39.68% 0.071 171.5)
XYZxyz(4.2731, 6.6809, 6.2175)
Luminance0.0668 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F5342 #530F20
analogous
#0F5320 #0F5342 #0F4253
triadic
#0F5342 #420F53 #53420F
tetradic
#0F5342 #200F53 #530F20 #42530F
square
#0F5342 #200F53 #530F20 #42530F
split-complementary
#0F5342 #530F42 #53200F
monochromatic
#051A15 #061F19 #0F5342 #18876B #22BB94

Accessibility & contrast

On white

8.99
#0F5342 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#0F5342 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F5342
8.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F5342#FFFFFF#000000##FFFFFF
##0F53421.008.992.348.99
#FFFFFF8.991.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#504D41
Deuteranopia (green-blind)
#474643
Tritanopia (blue-blind)
#00544E
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #0f5342;
/* rgb */ color: rgb(15, 83, 66);
/* oklch */ color: oklch(39.7% 0.071 171.5);
Tailwind
colors: {
  custom: {
    50: '#5a8476',
    500: '#0f5342',
    950: '#000000',
  },
}
SCSS
$custom: #0f5342;
$custom-light: #5a8476;
$custom-dark: #000000;
JSON
{
  "hex": "#0f5342",
  "rgb": {
    "r": 15,
    "g": 83,
    "b": 66
  },
  "hsl": {
    "h": 165,
    "s": 69.388,
    "l": 19.216
  },
  "oklch": {
    "l": 0.39685,
    "c": 0.07112,
    "h": 171.5
  },
  "luminance": 0.06681
}

Semantic roles & 50–950 ramp

primary
#0F5342
secondary
#8D3148
accent
#3C68EC
background
#F5F8F7
surface
#E9EFED
border
#C5CAC8
text
#040B08
muted
#797C7B

Preview Lab

Preview with #0F5342

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

Preview Lab → · Contrast checker → · Palette generator →

#0F5342 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva