#0F5A42#0F5A42

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

Color values

HEX#0F5A42
RGBrgb(15, 90, 66)
HSLhsl(161, 71%, 21%)
HSVhsv(161, 83%, 35%)
CMYKcmyk(83.3%, 0%, 26.7%, 64.7%)
CIE-LABlab(33.58, -28.42, 7.69)
CIE-LCHlch(33.58, 29.44, 164.85°)
OKLaboklab(41.74% -0.0783 0.0197)
OKLCHoklch(41.74% 0.081 165.9)
XYZxyz(4.8360, 7.8066, 6.4052)
Luminance0.0781 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F5A42 #5A0F27
analogous
#0F5A1C #0F5A42 #0F4C5A
triadic
#0F5A42 #420F5A #5A420F
tetradic
#0F5A42 #1C0F5A #5A0F27 #4C5A0F
square
#0F5A42 #1C0F5A #5A0F27 #4C5A0F
split-complementary
#0F5A42 #5A0F4C #5A1C0F
monochromatic
#041A13 #06261C #0F5A42 #188E68 #20C38F

Accessibility & contrast

On white

8.20
#0F5A42 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F5A42
8.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F5A42#FFFFFF#000000##FFFFFF
##0F5A421.008.202.568.20
#FFFFFF8.201.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.201.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0f5a42;
/* rgb */ color: rgb(15, 90, 66);
/* oklch */ color: oklch(41.7% 0.081 165.9);
Tailwind
colors: {
  custom: {
    50: '#5c8976',
    500: '#0f5a42',
    950: '#000000',
  },
}
SCSS
$custom: #0f5a42;
$custom-light: #5c8976;
$custom-dark: #000000;
JSON
{
  "hex": "#0f5a42",
  "rgb": {
    "r": 15,
    "g": 90,
    "b": 66
  },
  "hsl": {
    "h": 160.8,
    "s": 71.429,
    "l": 20.588
  },
  "oklch": {
    "l": 0.41742,
    "c": 0.08073,
    "h": 165.9
  },
  "luminance": 0.07807
}

Semantic roles & 50–950 ramp

primary
#0F5A42
secondary
#943151
accent
#3A73EE
background
#F5F8F7
surface
#E9F0ED
border
#C5CBC8
text
#050B08
muted
#797C7B

Preview Lab

Preview with #0F5A42

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

Preview Lab → · Contrast checker → · Palette generator →

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