#0F5A41#0F5A41

#0F5A41 is a dark, moderate teal. Relative luminance 0.078; OKLCH L 41.7% C 0.082 H 165.0°. Best body text is #FFFFFF at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#0F5A41
RGBrgb(15, 90, 65)
HSLhsl(160, 71%, 21%)
HSVhsv(160, 83%, 35%)
CMYKcmyk(83.3%, 0%, 27.8%, 64.7%)
CIE-LABlab(33.55, -28.68, 8.28)
CIE-LCHlch(33.55, 29.86, 163.90°)
OKLaboklab(41.71% -0.0788 0.0211)
OKLCHoklch(41.71% 0.082 165)
XYZxyz(4.8068, 7.7950, 6.2512)
Luminance0.0780 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F5A41 #5A0F28
analogous
#0F5A1B #0F5A41 #0F4D5A
triadic
#0F5A41 #410F5A #5A410F
tetradic
#0F5A41 #1B0F5A #5A0F28 #4D5A0F
square
#0F5A41 #1B0F5A #5A0F28 #4D5A0F
split-complementary
#0F5A41 #5A0F4D #5A1B0F
monochromatic
#041A13 #06261B #0F5A41 #188E67 #20C38D

Accessibility & contrast

On white

8.21
#0F5A41 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#0F5A41 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F5A41
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F5A41#FFFFFF#000000##FFFFFF
##0F5A411.008.212.568.21
#FFFFFF8.211.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#585340
Deuteranopia (green-blind)
#4F4C43
Tritanopia (blue-blind)
#005A53
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #0f5a41;
/* rgb */ color: rgb(15, 90, 65);
/* oklch */ color: oklch(41.7% 0.082 165.0);
Tailwind
colors: {
  custom: {
    50: '#5c8975',
    500: '#0f5a41',
    950: '#000000',
  },
}
SCSS
$custom: #0f5a41;
$custom-light: #5c8975;
$custom-dark: #000000;
JSON
{
  "hex": "#0f5a41",
  "rgb": {
    "r": 15,
    "g": 90,
    "b": 65
  },
  "hsl": {
    "h": 160,
    "s": 71.429,
    "l": 20.588
  },
  "oklch": {
    "l": 0.41714,
    "c": 0.08162,
    "h": 165
  },
  "luminance": 0.07796
}

Semantic roles & 50–950 ramp

primary
#0F5A41
secondary
#943152
accent
#3A76EE
background
#F5F8F7
surface
#E9F0ED
border
#C5CBC8
text
#050B08
muted
#797C7B

Preview Lab

Preview with #0F5A41

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

Preview Lab → · Contrast checker → · Palette generator →

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