#0F6042#0F6042

#0F6042 is a dark, moderate teal. Relative luminance 0.089; OKLCH L 43.5% C 0.089 H 162.3°. Best body text is #FFFFFF at 7.58:1 contrast (WCAG AA passes).

Color values

HEX#0F6042
RGBrgb(15, 96, 66)
HSLhsl(158, 73%, 22%)
HSVhsv(158, 84%, 38%)
CMYKcmyk(84.4%, 0%, 31.3%, 62.4%)
CIE-LABlab(35.71, -31.13, 10.67)
CIE-LCHlch(35.71, 32.91, 161.08°)
OKLaboklab(43.5% -0.085 0.0271)
OKLCHoklch(43.5% 0.089 162.3)
XYZxyz(5.3626, 8.8600, 6.5807)
Luminance0.0886 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F6042 #600F2D
analogous
#0F601A #0F6042 #0F5660
triadic
#0F6042 #420F60 #60420F
tetradic
#0F6042 #1A0F60 #600F2D #56600F
square
#0F6042 #1A0F60 #600F2D #56600F
split-complementary
#0F6042 #600F56 #601A0F
monochromatic
#041A12 #072B1E #0F6042 #179566 #20CA8B

Accessibility & contrast

On white

7.58
#0F6042 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#0F6042 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F6042
7.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F6042#FFFFFF#000000##FFFFFF
##0F60421.007.582.777.58
#FFFFFF7.581.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E5840
Deuteranopia (green-blind)
#555144
Tritanopia (blue-blind)
#006058
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #0f6042;
/* rgb */ color: rgb(15, 96, 66);
/* oklch */ color: oklch(43.5% 0.089 162.3);
Tailwind
colors: {
  custom: {
    50: '#5d8e76',
    500: '#0f6042',
    950: '#000000',
  },
}
SCSS
$custom: #0f6042;
$custom-light: #5d8e76;
$custom-dark: #000000;
JSON
{
  "hex": "#0f6042",
  "rgb": {
    "r": 15,
    "g": 96,
    "b": 66
  },
  "hsl": {
    "h": 157.778,
    "s": 72.973,
    "l": 21.765
  },
  "oklch": {
    "l": 0.43499,
    "c": 0.08919,
    "h": 162.3
  },
  "luminance": 0.08861
}

Semantic roles & 50–950 ramp

primary
#0F6042
secondary
#993258
accent
#387CF0
background
#F5F8F7
surface
#EAF0ED
border
#C6CBC8
text
#050C08
muted
#797D7B

Preview Lab

Preview with #0F6042

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

Preview Lab → · Contrast checker → · Palette generator →

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