#0F5946#0F5946

#0F5946 is a dark, moderate teal. Relative luminance 0.077; OKLCH L 41.6% C 0.076 H 170.6°. Best body text is #FFFFFF at 8.27:1 contrast (WCAG AA passes).

Color values

HEX#0F5946
RGBrgb(15, 89, 70)
HSLhsl(165, 71%, 20%)
HSVhsv(165, 83%, 35%)
CMYKcmyk(83.1%, 0%, 21.3%, 65.1%)
CIE-LABlab(33.32, -26.84, 4.84)
CIE-LCHlch(33.32, 27.27, 169.77°)
OKLaboklab(41.57% -0.075 0.0124)
OKLCHoklch(41.57% 0.076 170.6)
XYZxyz(4.8743, 7.6879, 7.0202)
Luminance0.0769 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F5946 #590F22
analogous
#0F5921 #0F5946 #0F4759
triadic
#0F5946 #460F59 #59460F
tetradic
#0F5946 #210F59 #590F22 #47590F
square
#0F5946 #210F59 #590F22 #47590F
split-complementary
#0F5946 #590F47 #59210F
monochromatic
#041A15 #06251D #0F5946 #188D6F #21C298

Accessibility & contrast

On white

8.27
#0F5946 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#0F5946 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F5946
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F5946#FFFFFF#000000##FFFFFF
##0F59461.008.272.548.27
#FFFFFF8.271.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#565245
Deuteranopia (green-blind)
#4D4C47
Tritanopia (blue-blind)
#005A54
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #0f5946;
/* rgb */ color: rgb(15, 89, 70);
/* oklch */ color: oklch(41.6% 0.076 170.6);
Tailwind
colors: {
  custom: {
    50: '#5c8879',
    500: '#0f5946',
    950: '#000000',
  },
}
SCSS
$custom: #0f5946;
$custom-light: #5c8879;
$custom-dark: #000000;
JSON
{
  "hex": "#0f5946",
  "rgb": {
    "r": 15,
    "g": 89,
    "b": 70
  },
  "hsl": {
    "h": 164.595,
    "s": 71.154,
    "l": 20.392
  },
  "oklch": {
    "l": 0.41569,
    "c": 0.076,
    "h": 170.6
  },
  "luminance": 0.07689
}

Semantic roles & 50–950 ramp

primary
#0F5946
secondary
#93314A
accent
#3A68EE
background
#F5F8F7
surface
#E9F0ED
border
#C5CBC8
text
#050B09
muted
#797C7B

Preview Lab

Preview with #0F5946

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

Preview Lab → · Contrast checker → · Palette generator →

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