#0F5251#0F5251

#0F5251 is a dark, moderate teal. Relative luminance 0.067; OKLCH L 39.9% C 0.063 H 193.4°. Best body text is #FFFFFF at 8.95:1 contrast (WCAG AA passes).

Color values

HEX#0F5251
RGBrgb(15, 82, 81)
HSLhsl(179, 69%, 19%)
HSVhsv(179, 82%, 32%)
CMYKcmyk(81.7%, 0%, 1.2%, 67.8%)
CIE-LABlab(31.18, -19.87, -5.23)
CIE-LCHlch(31.18, 20.55, 194.75°)
OKLaboklab(39.93% -0.0612 -0.0146)
OKLCHoklch(39.93% 0.063 193.4)
XYZxyz(4.6988, 6.7297, 8.8343)
Luminance0.0673 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F5251 #520F10
analogous
#0F5230 #0F5251 #0F3252
triadic
#0F5251 #510F52 #52510F
tetradic
#0F5251 #300F52 #520F10 #32520F
square
#0F5251 #300F52 #520F10 #32520F
split-complementary
#0F5251 #520F32 #52300F
monochromatic
#051A1A #061E1E #0F5251 #188684 #22B9B7

Accessibility & contrast

On white

8.95
#0F5251 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#0F5251 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F5251
8.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F5251#FFFFFF#000000##FFFFFF
##0F52511.008.952.358.95
#FFFFFF8.951.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C4D51
Deuteranopia (green-blind)
#434651
Tritanopia (blue-blind)
#005552
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #0f5251;
/* rgb */ color: rgb(15, 82, 81);
/* oklch */ color: oklch(39.9% 0.063 193.4);
Tailwind
colors: {
  custom: {
    50: '#5b8381',
    500: '#0f5251',
    950: '#000000',
  },
}
SCSS
$custom: #0f5251;
$custom-light: #5b8381;
$custom-dark: #000000;
JSON
{
  "hex": "#0f5251",
  "rgb": {
    "r": 15,
    "g": 82,
    "b": 81
  },
  "hsl": {
    "h": 179.104,
    "s": 69.072,
    "l": 19.02
  },
  "oklch": {
    "l": 0.39934,
    "c": 0.06289,
    "h": 193.4
  },
  "luminance": 0.0673
}

Semantic roles & 50–950 ramp

primary
#0F5251
secondary
#8C3132
accent
#3C3FEC
background
#F5F8F7
surface
#E9EFEE
border
#C5CAC9
text
#040A0A
muted
#797C7C

Preview Lab

Preview with #0F5251

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

Preview Lab → · Contrast checker → · Palette generator →

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