#0F5642#0F5642

#0F5642 is a dark, moderate teal. Relative luminance 0.071; OKLCH L 40.6% C 0.075 H 168.9°. Best body text is #FFFFFF at 8.64:1 contrast (WCAG AA passes).

Color values

HEX#0F5642
RGBrgb(15, 86, 66)
HSLhsl(163, 70%, 20%)
HSVhsv(163, 83%, 34%)
CMYKcmyk(82.6%, 0%, 23.3%, 66.3%)
CIE-LABlab(32.15, -26.54, 5.67)
CIE-LCHlch(32.15, 27.14, 167.94°)
OKLaboklab(40.57% -0.0738 0.0145)
OKLCHoklch(40.57% 0.075 168.9)
XYZxyz(4.5076, 7.1499, 6.2957)
Luminance0.0715 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F5642 #560F23
analogous
#0F561F #0F5642 #0F4656
triadic
#0F5642 #420F56 #56420F
tetradic
#0F5642 #1F0F56 #560F23 #46560F
square
#0F5642 #1F0F56 #560F23 #46560F
split-complementary
#0F5642 #560F46 #561F0F
monochromatic
#051A14 #06221A #0F5642 #188A6A #21BE92

Accessibility & contrast

On white

8.64
#0F5642 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#0F5642 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F5642
8.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F5642#FFFFFF#000000##FFFFFF
##0F56421.008.642.438.64
#FFFFFF8.641.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#534F41
Deuteranopia (green-blind)
#4B4943
Tritanopia (blue-blind)
#005750
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #0f5642;
/* rgb */ color: rgb(15, 86, 66);
/* oklch */ color: oklch(40.6% 0.075 168.9);
Tailwind
colors: {
  custom: {
    50: '#5b8676',
    500: '#0f5642',
    950: '#000000',
  },
}
SCSS
$custom: #0f5642;
$custom-light: #5b8676;
$custom-dark: #000000;
JSON
{
  "hex": "#0f5642",
  "rgb": {
    "r": 15,
    "g": 86,
    "b": 66
  },
  "hsl": {
    "h": 163.099,
    "s": 70.297,
    "l": 19.804
  },
  "oklch": {
    "l": 0.40567,
    "c": 0.07518,
    "h": 168.9
  },
  "luminance": 0.0715
}

Semantic roles & 50–950 ramp

primary
#0F5642
secondary
#90314C
accent
#3B6DED
background
#F5F8F7
surface
#E9EFED
border
#C5CAC8
text
#040B08
muted
#797C7B

Preview Lab

Preview with #0F5642

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

Preview Lab → · Contrast checker → · Palette generator →

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