#0F5941#0F5941

#0F5941 is a dark, moderate teal. Relative luminance 0.076; OKLCH L 41.4% C 0.080 H 165.7°. Best body text is #FFFFFF at 8.31:1 contrast (WCAG AA passes).

Color values

HEX#0F5941
RGBrgb(15, 89, 65)
HSLhsl(161, 71%, 20%)
HSVhsv(161, 83%, 35%)
CMYKcmyk(83.1%, 0%, 27%, 65.1%)
CIE-LABlab(33.19, -28.22, 7.78)
CIE-LCHlch(33.19, 29.28, 164.59°)
OKLaboklab(41.42% -0.0777 0.0199)
OKLCHoklch(41.42% 0.08 165.7)
XYZxyz(4.7230, 7.6274, 6.2233)
Luminance0.0763 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F5941 #590F27
analogous
#0F591C #0F5941 #0F4C59
triadic
#0F5941 #410F59 #59410F
tetradic
#0F5941 #1C0F59 #590F27 #4C590F
square
#0F5941 #1C0F59 #590F27 #4C590F
split-complementary
#0F5941 #590F4C #591C0F
monochromatic
#041A13 #06251B #0F5941 #188D67 #21C28E

Accessibility & contrast

On white

8.31
#0F5941 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F5941
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F5941#FFFFFF#000000##FFFFFF
##0F59411.008.312.538.31
#FFFFFF8.311.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#575240
Deuteranopia (green-blind)
#4E4B43
Tritanopia (blue-blind)
#005952
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #0f5941;
/* rgb */ color: rgb(15, 89, 65);
/* oklch */ color: oklch(41.4% 0.080 165.7);
Tailwind
colors: {
  custom: {
    50: '#5c8875',
    500: '#0f5941',
    950: '#000000',
  },
}
SCSS
$custom: #0f5941;
$custom-light: #5c8875;
$custom-dark: #000000;
JSON
{
  "hex": "#0f5941",
  "rgb": {
    "r": 15,
    "g": 89,
    "b": 65
  },
  "hsl": {
    "h": 160.541,
    "s": 71.154,
    "l": 20.392
  },
  "oklch": {
    "l": 0.4142,
    "c": 0.08022,
    "h": 165.7
  },
  "luminance": 0.07628
}

Semantic roles & 50–950 ramp

primary
#0F5941
secondary
#933151
accent
#3A74EE
background
#F5F8F7
surface
#E9F0ED
border
#C5CBC8
text
#050B08
muted
#797C7B

Preview Lab

Preview with #0F5941

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

Preview Lab → · Contrast checker → · Palette generator →

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