#0F5241#0F5241

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

Color values

HEX#0F5241
RGBrgb(15, 82, 65)
HSLhsl(165, 69%, 19%)
HSVhsv(165, 82%, 32%)
CMYKcmyk(81.7%, 0%, 20.7%, 67.8%)
CIE-LABlab(30.68, -24.90, 4.22)
CIE-LCHlch(30.68, 25.25, 170.39°)
OKLaboklab(39.36% -0.0697 0.0107)
OKLCHoklch(39.36% 0.071 171.2)
XYZxyz(4.1679, 6.5173, 6.0383)
Luminance0.0652 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F5241 #520F20
analogous
#0F5220 #0F5241 #0F4252
triadic
#0F5241 #410F52 #52410F
tetradic
#0F5241 #200F52 #520F20 #42520F
square
#0F5241 #200F52 #520F20 #42520F
split-complementary
#0F5241 #520F42 #52200F
monochromatic
#051A15 #061E18 #0F5241 #18866A #22B993

Accessibility & contrast

On white

9.12
#0F5241 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#0F5241 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F5241
9.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F5241#FFFFFF#000000##FFFFFF
##0F52411.009.122.309.12
#FFFFFF9.121.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.121.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0f5241;
/* rgb */ color: rgb(15, 82, 65);
/* oklch */ color: oklch(39.4% 0.071 171.2);
Tailwind
colors: {
  custom: {
    50: '#5a8375',
    500: '#0f5241',
    950: '#000000',
  },
}
SCSS
$custom: #0f5241;
$custom-light: #5a8375;
$custom-dark: #000000;
JSON
{
  "hex": "#0f5241",
  "rgb": {
    "r": 15,
    "g": 82,
    "b": 65
  },
  "hsl": {
    "h": 164.776,
    "s": 69.072,
    "l": 19.02
  },
  "oklch": {
    "l": 0.39358,
    "c": 0.07055,
    "h": 171.2
  },
  "luminance": 0.06518
}

Semantic roles & 50–950 ramp

primary
#0F5241
secondary
#8C3148
accent
#3C69EC
background
#F5F8F7
surface
#E9EFED
border
#C5CAC8
text
#040A08
muted
#797C7B

Preview Lab

Preview with #0F5241

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

Preview Lab → · Contrast checker → · Palette generator →

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