#0F5242#0F5242

#0F5242 is a dark, moderate teal. Relative luminance 0.065; OKLCH L 39.4% C 0.070 H 172.4°. Best body text is #FFFFFF at 9.11:1 contrast (WCAG AA passes).

Color values

HEX#0F5242
RGBrgb(15, 82, 66)
HSLhsl(166, 69%, 19%)
HSVhsv(166, 82%, 32%)
CMYKcmyk(81.7%, 0%, 19.5%, 67.8%)
CIE-LABlab(30.71, -24.61, 3.62)
CIE-LCHlch(30.71, 24.87, 171.63°)
OKLaboklab(39.39% -0.0692 0.0092)
OKLCHoklch(39.39% 0.07 172.4)
XYZxyz(4.1971, 6.5290, 6.1922)
Luminance0.0653 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F5242 #520F1F
analogous
#0F5221 #0F5242 #0F4152
triadic
#0F5242 #420F52 #52420F
tetradic
#0F5242 #210F52 #520F1F #41520F
square
#0F5242 #210F52 #520F1F #41520F
split-complementary
#0F5242 #520F41 #52210F
monochromatic
#051A15 #061E18 #0F5242 #18866C #22B995

Accessibility & contrast

On white

9.11
#0F5242 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#0F5242 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F5242
9.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F5242#FFFFFF#000000##FFFFFF
##0F52421.009.112.319.11
#FFFFFF9.111.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F4C41
Deuteranopia (green-blind)
#464643
Tritanopia (blue-blind)
#00534D
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #0f5242;
/* rgb */ color: rgb(15, 82, 66);
/* oklch */ color: oklch(39.4% 0.070 172.4);
Tailwind
colors: {
  custom: {
    50: '#5a8376',
    500: '#0f5242',
    950: '#000000',
  },
}
SCSS
$custom: #0f5242;
$custom-light: #5a8376;
$custom-dark: #000000;
JSON
{
  "hex": "#0f5242",
  "rgb": {
    "r": 15,
    "g": 82,
    "b": 66
  },
  "hsl": {
    "h": 165.672,
    "s": 69.072,
    "l": 19.02
  },
  "oklch": {
    "l": 0.3939,
    "c": 0.06979,
    "h": 172.4
  },
  "luminance": 0.06529
}

Semantic roles & 50–950 ramp

primary
#0F5242
secondary
#8C3147
accent
#3C66EC
background
#F5F8F7
surface
#E9EFED
border
#C5CAC8
text
#040A08
muted
#797C7B

Preview Lab

Preview with #0F5242

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

Preview Lab → · Contrast checker → · Palette generator →

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