#0F5A4F#0F5A4F

#0F5A4F is a dark, moderate teal. Relative luminance 0.080; OKLCH L 42.2% C 0.071 H 180.1°. Best body text is #FFFFFF at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#0F5A4F
RGBrgb(15, 90, 79)
HSLhsl(171, 71%, 21%)
HSVhsv(171, 83%, 35%)
CMYKcmyk(83.3%, 0%, 12.2%, 64.7%)
CIE-LABlab(33.94, -24.66, 0.09)
CIE-LCHlch(33.94, 24.66, 179.78°)
OKLaboklab(42.16% -0.0713 -0.0002)
OKLCHoklch(42.16% 0.071 180.1)
XYZxyz(5.2637, 7.9778, 8.6581)
Luminance0.0798 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F5A4F #5A0F1A
analogous
#0F5A29 #0F5A4F #0F3F5A
triadic
#0F5A4F #4F0F5A #5A4F0F
tetradic
#0F5A4F #290F5A #5A0F1A #3F5A0F
square
#0F5A4F #290F5A #5A0F1A #3F5A0F
split-complementary
#0F5A4F #5A0F3F #5A290F
monochromatic
#041A17 #062621 #0F5A4F #188E7D #20C3AB

Accessibility & contrast

On white

8.09
#0F5A4F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#0F5A4F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F5A4F
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F5A4F#FFFFFF#000000##FFFFFF
##0F5A4F1.008.092.608.09
#FFFFFF8.091.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#56544F
Deuteranopia (green-blind)
#4C4D50
Tritanopia (blue-blind)
#005C57
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #0f5a4f;
/* rgb */ color: rgb(15, 90, 79);
/* oklch */ color: oklch(42.2% 0.071 180.1);
Tailwind
colors: {
  custom: {
    50: '#5d8980',
    500: '#0f5a4f',
    950: '#000000',
  },
}
SCSS
$custom: #0f5a4f;
$custom-light: #5d8980;
$custom-dark: #000000;
JSON
{
  "hex": "#0f5a4f",
  "rgb": {
    "r": 15,
    "g": 90,
    "b": 79
  },
  "hsl": {
    "h": 171.2,
    "s": 71.429,
    "l": 20.588
  },
  "oklch": {
    "l": 0.42156,
    "c": 0.07127,
    "h": 180.1
  },
  "luminance": 0.07978
}

Semantic roles & 50–950 ramp

primary
#0F5A4F
secondary
#943140
accent
#3A54EE
background
#F5F8F7
surface
#E9F0EE
border
#C5CBC9
text
#050B0A
muted
#797C7C

Preview Lab

Preview with #0F5A4F

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

Preview Lab → · Contrast checker → · Palette generator →

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