#0F5851#0F5851

#0F5851 is a dark, moderate teal. Relative luminance 0.077; OKLCH L 41.7% C 0.068 H 185.1°. Best body text is #FFFFFF at 8.28:1 contrast (WCAG AA passes).

Color values

HEX#0F5851
RGBrgb(15, 88, 81)
HSLhsl(174, 71%, 20%)
HSVhsv(174, 83%, 35%)
CMYKcmyk(83%, 0%, 8%, 65.5%)
CIE-LABlab(33.30, -23.02, -2.10)
CIE-LCHlch(33.30, 23.11, 185.22°)
OKLaboklab(41.65% -0.068 -0.0061)
OKLCHoklch(41.65% 0.068 185.1)
XYZxyz(5.1712, 7.6744, 8.9918)
Luminance0.0767 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F5851 #580F16
analogous
#0F582D #0F5851 #0F3A58
triadic
#0F5851 #510F58 #58510F
tetradic
#0F5851 #2D0F58 #580F16 #3A580F
square
#0F5851 #2D0F58 #580F16 #3A580F
split-complementary
#0F5851 #580F3A #582D0F
monochromatic
#041A18 #062421 #0F5851 #188C81 #21C1B1

Accessibility & contrast

On white

8.28
#0F5851 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#0F5851 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F5851
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F5851#FFFFFF#000000##FFFFFF
##0F58511.008.282.538.28
#FFFFFF8.281.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#535351
Deuteranopia (green-blind)
#494B52
Tritanopia (blue-blind)
#005A56
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #0f5851;
/* rgb */ color: rgb(15, 88, 81);
/* oklch */ color: oklch(41.7% 0.068 185.1);
Tailwind
colors: {
  custom: {
    50: '#5d8781',
    500: '#0f5851',
    950: '#000000',
  },
}
SCSS
$custom: #0f5851;
$custom-light: #5d8781;
$custom-dark: #000000;
JSON
{
  "hex": "#0f5851",
  "rgb": {
    "r": 15,
    "g": 88,
    "b": 81
  },
  "hsl": {
    "h": 174.247,
    "s": 70.874,
    "l": 20.196
  },
  "oklch": {
    "l": 0.41653,
    "c": 0.06824,
    "h": 185.1
  },
  "luminance": 0.07675
}

Semantic roles & 50–950 ramp

primary
#0F5851
secondary
#92313A
accent
#3A4BEE
background
#F5F8F7
surface
#E9EFEE
border
#C5CAC9
text
#050B0A
muted
#797C7C

Preview Lab

Preview with #0F5851

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

Preview Lab → · Contrast checker → · Palette generator →

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