#0F5045#0F5045

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

Color values

HEX#0F5045
RGBrgb(15, 80, 69)
HSLhsl(170, 68%, 19%)
HSVhsv(170, 81%, 31%)
CMYKcmyk(81.3%, 0%, 13.8%, 68.6%)
CIE-LABlab(30.08, -22.70, 0.80)
CIE-LCHlch(30.08, 22.72, 177.98°)
OKLaboklab(38.9% -0.0652 0.0018)
OKLCHoklch(38.9% 0.065 178.5)
XYZxyz(4.1393, 6.2681, 6.6208)
Luminance0.0627 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F5045 #500F1A
analogous
#0F5024 #0F5045 #0F3A50
triadic
#0F5045 #450F50 #50450F
tetradic
#0F5045 #240F50 #500F1A #3A500F
square
#0F5045 #240F50 #500F1A #3A500F
split-complementary
#0F5045 #500F3A #50240F
monochromatic
#051A16 #051C19 #0F5045 #198471 #22B79E

Accessibility & contrast

On white

9.32
#0F5045 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#0F5045 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F5045
9.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F5045#FFFFFF#000000##FFFFFF
##0F50451.009.322.259.32
#FFFFFF9.321.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C4B45
Deuteranopia (green-blind)
#444446
Tritanopia (blue-blind)
#00514D
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #0f5045;
/* rgb */ color: rgb(15, 80, 69);
/* oklch */ color: oklch(38.9% 0.065 178.5);
Tailwind
colors: {
  custom: {
    50: '#5a8178',
    500: '#0f5045',
    950: '#000000',
  },
}
SCSS
$custom: #0f5045;
$custom-light: #5a8178;
$custom-dark: #000000;
JSON
{
  "hex": "#0f5045",
  "rgb": {
    "r": 15,
    "g": 80,
    "b": 69
  },
  "hsl": {
    "h": 169.846,
    "s": 68.421,
    "l": 18.627
  },
  "oklch": {
    "l": 0.38904,
    "c": 0.06525,
    "h": 178.5
  },
  "luminance": 0.06269
}

Semantic roles & 50–950 ramp

primary
#0F5045
secondary
#8A3140
accent
#3D5AEB
background
#F5F7F7
surface
#E9EEED
border
#C5C9C8
text
#040A09
muted
#797C7B

Preview Lab

Preview with #0F5045

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

Preview Lab → · Contrast checker → · Palette generator →

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