#0F5B42#0F5B42

#0F5B42 is a dark, moderate teal. Relative luminance 0.080; OKLCH L 42.0% C 0.082 H 165.2°. Best body text is #FFFFFF at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#0F5B42
RGBrgb(15, 91, 66)
HSLhsl(160, 72%, 21%)
HSVhsv(160, 84%, 36%)
CMYKcmyk(83.5%, 0%, 27.5%, 64.3%)
CIE-LABlab(33.93, -28.88, 8.20)
CIE-LCHlch(33.93, 30.02, 164.16°)
OKLaboklab(42.04% -0.0794 0.0209)
OKLCHoklch(42.04% 0.082 165.2)
XYZxyz(4.9209, 7.9765, 6.4335)
Luminance0.0798 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F5B42 #5B0F28
analogous
#0F5B1C #0F5B42 #0F4E5B
triadic
#0F5B42 #420F5B #5B420F
tetradic
#0F5B42 #1C0F5B #5B0F28 #4E5B0F
square
#0F5B42 #1C0F5B #5B0F28 #4E5B0F
split-complementary
#0F5B42 #5B0F4E #5B1C0F
monochromatic
#041A13 #06261C #0F5B42 #189068 #20C48E

Accessibility & contrast

On white

8.09
#0F5B42 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#0F5B42 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F5B42
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F5B42#FFFFFF#000000##FFFFFF
##0F5B421.008.092.608.09
#FFFFFF8.091.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#595441
Deuteranopia (green-blind)
#504D44
Tritanopia (blue-blind)
#005B54
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #0f5b42;
/* rgb */ color: rgb(15, 91, 66);
/* oklch */ color: oklch(42.0% 0.082 165.2);
Tailwind
colors: {
  custom: {
    50: '#5c8a76',
    500: '#0f5b42',
    950: '#000000',
  },
}
SCSS
$custom: #0f5b42;
$custom-light: #5c8a76;
$custom-dark: #000000;
JSON
{
  "hex": "#0f5b42",
  "rgb": {
    "r": 15,
    "g": 91,
    "b": 66
  },
  "hsl": {
    "h": 160.263,
    "s": 71.698,
    "l": 20.784
  },
  "oklch": {
    "l": 0.42036,
    "c": 0.08213,
    "h": 165.2
  },
  "luminance": 0.07977
}

Semantic roles & 50–950 ramp

primary
#0F5B42
secondary
#953152
accent
#3975EE
background
#F5F8F7
surface
#E9F0ED
border
#C5CBC8
text
#050C08
muted
#797D7B

Preview Lab

Preview with #0F5B42

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

Preview Lab → · Contrast checker → · Palette generator →

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