#0F5046#0F5046

#0F5046 is a dark, moderate teal. Relative luminance 0.063; OKLCH L 38.9% C 0.065 H 179.8°. Best body text is #FFFFFF at 9.31:1 contrast (WCAG AA passes).

Color values

HEX#0F5046
RGBrgb(15, 80, 70)
HSLhsl(171, 68%, 19%)
HSVhsv(171, 81%, 31%)
CMYKcmyk(81.3%, 0%, 12.5%, 68.6%)
CIE-LABlab(30.11, -22.39, 0.21)
CIE-LCHlch(30.11, 22.39, 179.47°)
OKLaboklab(38.94% -0.0647 0.0002)
OKLCHoklch(38.94% 0.065 179.8)
XYZxyz(4.1706, 6.2806, 6.7856)
Luminance0.0628 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F5046 #500F19
analogous
#0F5025 #0F5046 #0F3950
triadic
#0F5046 #460F50 #50460F
tetradic
#0F5046 #250F50 #500F19 #39500F
square
#0F5046 #250F50 #500F19 #39500F
split-complementary
#0F5046 #500F39 #50250F
monochromatic
#051A17 #051C19 #0F5046 #198473 #22B7A0

Accessibility & contrast

On white

9.31
#0F5046 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#0F5046 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F5046
9.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F5046#FFFFFF#000000##FFFFFF
##0F50461.009.312.269.31
#FFFFFF9.311.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C4B46
Deuteranopia (green-blind)
#434447
Tritanopia (blue-blind)
#00524D
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #0f5046;
/* rgb */ color: rgb(15, 80, 70);
/* oklch */ color: oklch(38.9% 0.065 179.8);
Tailwind
colors: {
  custom: {
    50: '#5a8179',
    500: '#0f5046',
    950: '#000000',
  },
}
SCSS
$custom: #0f5046;
$custom-light: #5a8179;
$custom-dark: #000000;
JSON
{
  "hex": "#0f5046",
  "rgb": {
    "r": 15,
    "g": 80,
    "b": 70
  },
  "hsl": {
    "h": 170.769,
    "s": 68.421,
    "l": 18.627
  },
  "oklch": {
    "l": 0.38939,
    "c": 0.06469,
    "h": 179.8
  },
  "luminance": 0.06281
}

Semantic roles & 50–950 ramp

primary
#0F5046
secondary
#8A313E
accent
#3D57EB
background
#F5F7F7
surface
#E9EEED
border
#C5C9C8
text
#040A09
muted
#797C7B

Preview Lab

Preview with #0F5046

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

Preview Lab → · Contrast checker → · Palette generator →

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