#0F5146#0F5146

#0F5146 is a dark, moderate teal. Relative luminance 0.064; OKLCH L 39.2% C 0.066 H 178.6°. Best body text is #FFFFFF at 9.19:1 contrast (WCAG AA passes).

Color values

HEX#0F5146
RGBrgb(15, 81, 70)
HSLhsl(170, 69%, 19%)
HSVhsv(170, 81%, 32%)
CMYKcmyk(81.5%, 0%, 13.6%, 68.2%)
CIE-LABlab(30.47, -22.90, 0.73)
CIE-LCHlch(30.47, 22.91, 178.18°)
OKLaboklab(39.23% -0.0659 0.0016)
OKLCHoklch(39.23% 0.066 178.6)
XYZxyz(4.2444, 6.4281, 6.8102)
Luminance0.0643 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F5146 #510F1A
analogous
#0F5125 #0F5146 #0F3B51
triadic
#0F5146 #460F51 #51460F
tetradic
#0F5146 #250F51 #510F1A #3B510F
square
#0F5146 #250F51 #510F1A #3B510F
split-complementary
#0F5146 #510F3B #51250F
monochromatic
#051A16 #051D19 #0F5146 #198573 #22B89F

Accessibility & contrast

On white

9.19
#0F5146 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#0F5146 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F5146
9.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F5146#FFFFFF#000000##FFFFFF
##0F51461.009.192.299.19
#FFFFFF9.191.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D4C46
Deuteranopia (green-blind)
#444547
Tritanopia (blue-blind)
#00524E
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #0f5146;
/* rgb */ color: rgb(15, 81, 70);
/* oklch */ color: oklch(39.2% 0.066 178.6);
Tailwind
colors: {
  custom: {
    50: '#5a8279',
    500: '#0f5146',
    950: '#000000',
  },
}
SCSS
$custom: #0f5146;
$custom-light: #5a8279;
$custom-dark: #000000;
JSON
{
  "hex": "#0f5146",
  "rgb": {
    "r": 15,
    "g": 81,
    "b": 70
  },
  "hsl": {
    "h": 170,
    "s": 68.75,
    "l": 18.824
  },
  "oklch": {
    "l": 0.39231,
    "c": 0.06587,
    "h": 178.6
  },
  "luminance": 0.06429
}

Semantic roles & 50–950 ramp

primary
#0F5146
secondary
#8B3140
accent
#3C59EC
background
#F5F8F7
surface
#E9EFED
border
#C5CAC8
text
#040A09
muted
#797C7B

Preview Lab

Preview with #0F5146

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

Preview Lab → · Contrast checker → · Palette generator →

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