#0F5942#0F5942

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

Color values

HEX#0F5942
RGBrgb(15, 89, 66)
HSLhsl(161, 71%, 20%)
HSVhsv(161, 83%, 35%)
CMYKcmyk(83.1%, 0%, 25.8%, 65.1%)
CIE-LABlab(33.22, -27.95, 7.19)
CIE-LCHlch(33.22, 28.86, 165.57°)
OKLaboklab(41.45% -0.0772 0.0184)
OKLCHoklch(41.45% 0.079 166.6)
XYZxyz(4.7522, 7.6391, 6.3772)
Luminance0.0764 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F5942 #590F26
analogous
#0F591D #0F5942 #0F4B59
triadic
#0F5942 #420F59 #59420F
tetradic
#0F5942 #1D0F59 #590F26 #4B590F
square
#0F5942 #1D0F59 #590F26 #4B590F
split-complementary
#0F5942 #590F4B #591D0F
monochromatic
#041A13 #06251B #0F5942 #188D69 #21C290

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##0F5942#FFFFFF#000000##FFFFFF
##0F59421.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)
#575241
Deuteranopia (green-blind)
#4E4B44
Tritanopia (blue-blind)
#005953
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #0f5942;
/* rgb */ color: rgb(15, 89, 66);
/* oklch */ color: oklch(41.4% 0.079 166.6);
Tailwind
colors: {
  custom: {
    50: '#5c8876',
    500: '#0f5942',
    950: '#000000',
  },
}
SCSS
$custom: #0f5942;
$custom-light: #5c8876;
$custom-dark: #000000;
JSON
{
  "hex": "#0f5942",
  "rgb": {
    "r": 15,
    "g": 89,
    "b": 66
  },
  "hsl": {
    "h": 161.351,
    "s": 71.154,
    "l": 20.392
  },
  "oklch": {
    "l": 0.41449,
    "c": 0.07933,
    "h": 166.6
  },
  "luminance": 0.0764
}

Semantic roles & 50–950 ramp

primary
#0F5942
secondary
#93314F
accent
#3A72EE
background
#F5F8F7
surface
#E9F0ED
border
#C5CBC8
text
#050B08
muted
#797C7B

Preview Lab

Preview with #0F5942

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

Preview Lab → · Contrast checker → · Palette generator →

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