#0F5841#0F5841

#0F5841 is a dark, moderate teal. Relative luminance 0.075; OKLCH L 41.1% C 0.079 H 166.4°. Best body text is #FFFFFF at 8.42:1 contrast (WCAG AA passes).

Color values

HEX#0F5841
RGBrgb(15, 88, 65)
HSLhsl(161, 71%, 20%)
HSVhsv(161, 83%, 35%)
CMYKcmyk(83%, 0%, 26.1%, 65.5%)
CIE-LABlab(32.84, -27.76, 7.27)
CIE-LCHlch(32.84, 28.70, 165.32°)
OKLaboklab(41.13% -0.0766 0.0186)
OKLCHoklch(41.13% 0.079 166.4)
XYZxyz(4.6403, 7.4621, 6.1958)
Luminance0.0746 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F5841 #580F26
analogous
#0F581C #0F5841 #0F4A58
triadic
#0F5841 #410F58 #58410F
tetradic
#0F5841 #1C0F58 #580F26 #4A580F
square
#0F5841 #1C0F58 #580F26 #4A580F
split-complementary
#0F5841 #580F4A #581C0F
monochromatic
#041A13 #06241A #0F5841 #188C68 #21C18E

Accessibility & contrast

On white

8.42
#0F5841 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#0F5841 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F5841
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F5841#FFFFFF#000000##FFFFFF
##0F58411.008.422.498.42
#FFFFFF8.421.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#565140
Deuteranopia (green-blind)
#4D4B43
Tritanopia (blue-blind)
#005852
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #0f5841;
/* rgb */ color: rgb(15, 88, 65);
/* oklch */ color: oklch(41.1% 0.079 166.4);
Tailwind
colors: {
  custom: {
    50: '#5b8875',
    500: '#0f5841',
    950: '#000000',
  },
}
SCSS
$custom: #0f5841;
$custom-light: #5b8875;
$custom-dark: #000000;
JSON
{
  "hex": "#0f5841",
  "rgb": {
    "r": 15,
    "g": 88,
    "b": 65
  },
  "hsl": {
    "h": 161.096,
    "s": 70.874,
    "l": 20.196
  },
  "oklch": {
    "l": 0.41126,
    "c": 0.07881,
    "h": 166.4
  },
  "luminance": 0.07463
}

Semantic roles & 50–950 ramp

primary
#0F5841
secondary
#923150
accent
#3A73EE
background
#F5F8F7
surface
#E9F0ED
border
#C5CBC8
text
#040B08
muted
#797C7B

Preview Lab

Preview with #0F5841

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

Preview Lab → · Contrast checker → · Palette generator →

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