#0F5245#0F5245

#0F5245 is a dark, moderate teal. Relative luminance 0.066; OKLCH L 39.5% C 0.068 H 176.2°. Best body text is #FFFFFF at 9.08:1 contrast (WCAG AA passes).

Color values

HEX#0F5245
RGBrgb(15, 82, 69)
HSLhsl(168, 69%, 19%)
HSVhsv(168, 82%, 32%)
CMYKcmyk(81.7%, 0%, 15.9%, 67.8%)
CIE-LABlab(30.80, -23.71, 1.84)
CIE-LCHlch(30.80, 23.78, 175.56°)
OKLaboklab(39.49% -0.0675 0.0045)
OKLCHoklch(39.49% 0.068 176.2)
XYZxyz(4.2879, 6.5653, 6.6703)
Luminance0.0657 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F5245 #520F1C
analogous
#0F5224 #0F5245 #0F3E52
triadic
#0F5245 #450F52 #52450F
tetradic
#0F5245 #240F52 #520F1C #3E520F
square
#0F5245 #240F52 #520F1C #3E520F
split-complementary
#0F5245 #520F3E #52240F
monochromatic
#051A16 #061E19 #0F5245 #188671 #22B99C

Accessibility & contrast

On white

9.08
#0F5245 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F5245
9.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F5245#FFFFFF#000000##FFFFFF
##0F52451.009.082.319.08
#FFFFFF9.081.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F4C44
Deuteranopia (green-blind)
#464646
Tritanopia (blue-blind)
#00534E
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #0f5245;
/* rgb */ color: rgb(15, 82, 69);
/* oklch */ color: oklch(39.5% 0.068 176.2);
Tailwind
colors: {
  custom: {
    50: '#5a8378',
    500: '#0f5245',
    950: '#000000',
  },
}
SCSS
$custom: #0f5245;
$custom-light: #5a8378;
$custom-dark: #000000;
JSON
{
  "hex": "#0f5245",
  "rgb": {
    "r": 15,
    "g": 82,
    "b": 69
  },
  "hsl": {
    "h": 168.358,
    "s": 69.072,
    "l": 19.02
  },
  "oklch": {
    "l": 0.3949,
    "c": 0.06769,
    "h": 176.2
  },
  "luminance": 0.06566
}

Semantic roles & 50–950 ramp

primary
#0F5245
secondary
#8C3142
accent
#3C5EEC
background
#F5F8F7
surface
#E9EFED
border
#C5CAC8
text
#040A09
muted
#797C7B

Preview Lab

Preview with #0F5245

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

Preview Lab → · Contrast checker → · Palette generator →

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