#0F5E42#0F5E42

#0F5E42 is a dark, moderate teal. Relative luminance 0.085; OKLCH L 42.9% C 0.086 H 163.4°. Best body text is #FFFFFF at 7.78:1 contrast (WCAG AA passes).

Color values

HEX#0F5E42
RGBrgb(15, 94, 66)
HSLhsl(159, 72%, 21%)
HSVhsv(159, 84%, 37%)
CMYKcmyk(84%, 0%, 29.8%, 63.1%)
CIE-LABlab(35.00, -30.24, 9.69)
CIE-LCHlch(35.00, 31.75, 162.24°)
OKLaboklab(42.91% -0.0827 0.0247)
OKLCHoklch(42.91% 0.086 163.4)
XYZxyz(5.1825, 8.4997, 6.5207)
Luminance0.0850 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F5E42 #5E0F2B
analogous
#0F5E1B #0F5E42 #0F535E
triadic
#0F5E42 #420F5E #5E420F
tetradic
#0F5E42 #1B0F5E #5E0F2B #535E0F
square
#0F5E42 #1B0F5E #5E0F2B #535E0F
split-complementary
#0F5E42 #5E0F53 #5E1B0F
monochromatic
#041A13 #07291D #0F5E42 #179367 #20C88C

Accessibility & contrast

On white

7.78
#0F5E42 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#0F5E42 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F5E42
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F5E42#FFFFFF#000000##FFFFFF
##0F5E421.007.782.707.78
#FFFFFF7.781.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C5640
Deuteranopia (green-blind)
#534F44
Tritanopia (blue-blind)
#005E56
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #0f5e42;
/* rgb */ color: rgb(15, 94, 66);
/* oklch */ color: oklch(42.9% 0.086 163.4);
Tailwind
colors: {
  custom: {
    50: '#5d8c76',
    500: '#0f5e42',
    950: '#000000',
  },
}
SCSS
$custom: #0f5e42;
$custom-light: #5d8c76;
$custom-dark: #000000;
JSON
{
  "hex": "#0f5e42",
  "rgb": {
    "r": 15,
    "g": 94,
    "b": 66
  },
  "hsl": {
    "h": 158.734,
    "s": 72.477,
    "l": 21.373
  },
  "oklch": {
    "l": 0.42914,
    "c": 0.08635,
    "h": 163.4
  },
  "luminance": 0.085
}

Semantic roles & 50–950 ramp

primary
#0F5E42
secondary
#973156
accent
#3979EF
background
#F5F8F7
surface
#E9F0ED
border
#C5CBC8
text
#050C08
muted
#797D7B

Preview Lab

Preview with #0F5E42

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

Preview Lab → · Contrast checker → · Palette generator →

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