#0F5F42#0F5F42

#0F5F42 is a dark, moderate teal. Relative luminance 0.087; OKLCH L 43.2% C 0.088 H 162.8°. Best body text is #FFFFFF at 7.68:1 contrast (WCAG AA passes).

Color values

HEX#0F5F42
RGBrgb(15, 95, 66)
HSLhsl(158, 73%, 22%)
HSVhsv(158, 84%, 37%)
CMYKcmyk(84.2%, 0%, 30.5%, 62.7%)
CIE-LABlab(35.36, -30.69, 10.18)
CIE-LCHlch(35.36, 32.33, 161.65°)
OKLaboklab(43.21% -0.0839 0.0259)
OKLCHoklch(43.21% 0.088 162.8)
XYZxyz(5.2720, 8.6787, 6.5505)
Luminance0.0868 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F5F42 #5F0F2C
analogous
#0F5F1A #0F5F42 #0F545F
triadic
#0F5F42 #420F5F #5F420F
tetradic
#0F5F42 #1A0F5F #5F0F2C #545F0F
square
#0F5F42 #1A0F5F #5F0F2C #545F0F
split-complementary
#0F5F42 #5F0F54 #5F1A0F
monochromatic
#041A12 #072A1D #0F5F42 #179467 #20C98B

Accessibility & contrast

On white

7.68
#0F5F42 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#0F5F42 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F5F42
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F5F42#FFFFFF#000000##FFFFFF
##0F5F421.007.682.747.68
#FFFFFF7.681.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D5740
Deuteranopia (green-blind)
#545044
Tritanopia (blue-blind)
#005F57
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #0f5f42;
/* rgb */ color: rgb(15, 95, 66);
/* oklch */ color: oklch(43.2% 0.088 162.8);
Tailwind
colors: {
  custom: {
    50: '#5d8d76',
    500: '#0f5f42',
    950: '#000000',
  },
}
SCSS
$custom: #0f5f42;
$custom-light: #5d8d76;
$custom-dark: #000000;
JSON
{
  "hex": "#0f5f42",
  "rgb": {
    "r": 15,
    "g": 95,
    "b": 66
  },
  "hsl": {
    "h": 158.25,
    "s": 72.727,
    "l": 21.569
  },
  "oklch": {
    "l": 0.43207,
    "c": 0.08777,
    "h": 162.8
  },
  "luminance": 0.08679
}

Semantic roles & 50–950 ramp

primary
#0F5F42
secondary
#983257
accent
#387BEF
background
#F5F8F7
surface
#EAF0ED
border
#C6CBC8
text
#050C08
muted
#797D7B

Preview Lab

Preview with #0F5F42

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

Preview Lab → · Contrast checker → · Palette generator →

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