#0F5845#0F5845

#0F5845 is a dark, moderate teal. Relative luminance 0.075; OKLCH L 41.2% C 0.075 H 170.4°. Best body text is #FFFFFF at 8.39:1 contrast (WCAG AA passes).

Color values

HEX#0F5845
RGBrgb(15, 88, 69)
HSLhsl(164, 71%, 20%)
HSVhsv(164, 83%, 35%)
CMYKcmyk(83%, 0%, 21.6%, 65.5%)
CIE-LABlab(32.94, -26.65, 4.92)
CIE-LCHlch(32.94, 27.10, 169.53°)
OKLaboklab(41.25% -0.0744 0.0126)
OKLCHoklch(41.25% 0.075 170.4)
XYZxyz(4.7603, 7.5101, 6.8278)
Luminance0.0751 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F5845 #580F22
analogous
#0F5821 #0F5845 #0F4658
triadic
#0F5845 #450F58 #58450F
tetradic
#0F5845 #210F58 #580F22 #46580F
square
#0F5845 #210F58 #580F22 #46580F
split-complementary
#0F5845 #580F46 #58210F
monochromatic
#041A14 #06241C #0F5845 #188C6E #21C197

Accessibility & contrast

On white

8.39
#0F5845 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#0F5845 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F5845
8.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F5845#FFFFFF#000000##FFFFFF
##0F58451.008.392.508.39
#FFFFFF8.391.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#555144
Deuteranopia (green-blind)
#4C4B46
Tritanopia (blue-blind)
#005953
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #0f5845;
/* rgb */ color: rgb(15, 88, 69);
/* oklch */ color: oklch(41.2% 0.075 170.4);
Tailwind
colors: {
  custom: {
    50: '#5c8878',
    500: '#0f5845',
    950: '#000000',
  },
}
SCSS
$custom: #0f5845;
$custom-light: #5c8878;
$custom-dark: #000000;
JSON
{
  "hex": "#0f5845",
  "rgb": {
    "r": 15,
    "g": 88,
    "b": 69
  },
  "hsl": {
    "h": 164.384,
    "s": 70.874,
    "l": 20.196
  },
  "oklch": {
    "l": 0.41246,
    "c": 0.07546,
    "h": 170.4
  },
  "luminance": 0.07511
}

Semantic roles & 50–950 ramp

primary
#0F5845
secondary
#92314A
accent
#3A69EE
background
#F5F8F7
surface
#E9EFED
border
#C5CAC8
text
#050B09
muted
#797C7B

Preview Lab

Preview with #0F5845

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

Preview Lab → · Contrast checker → · Palette generator →

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