#0F6542#0F6542

#0F6542 is a dark, moderate teal. Relative luminance 0.098; OKLCH L 45.0% C 0.096 H 159.9°. Best body text is #FFFFFF at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#0F6542
RGBrgb(15, 101, 66)
HSLhsl(156, 74%, 23%)
HSVhsv(156, 85%, 40%)
CMYKcmyk(85.1%, 0%, 34.7%, 60.4%)
CIE-LABlab(37.48, -33.31, 13.11)
CIE-LCHlch(37.48, 35.79, 158.52°)
OKLaboklab(44.96% -0.0904 0.0331)
OKLCHoklch(44.96% 0.096 159.9)
XYZxyz(5.8334, 9.8015, 6.7376)
Luminance0.0980 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F6542 #650F32
analogous
#0F6517 #0F6542 #0F5D65
triadic
#0F6542 #420F65 #65420F
tetradic
#0F6542 #170F65 #650F32 #5D650F
square
#0F6542 #170F65 #650F32 #5D650F
split-complementary
#0F6542 #650F5D #65170F
monochromatic
#041B11 #07301F #0F6542 #179A65 #1FD088

Accessibility & contrast

On white

7.09
#0F6542 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#0F6542 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F6542
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F6542#FFFFFF#000000##FFFFFF
##0F65421.007.092.967.09
#FFFFFF7.091.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#645D40
Deuteranopia (green-blind)
#5A5544
Tritanopia (blue-blind)
#00655C
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #0f6542;
/* rgb */ color: rgb(15, 101, 66);
/* oklch */ color: oklch(45.0% 0.096 159.9);
Tailwind
colors: {
  custom: {
    50: '#5f9276',
    500: '#0f6542',
    950: '#000000',
  },
}
SCSS
$custom: #0f6542;
$custom-light: #5f9276;
$custom-dark: #000000;
JSON
{
  "hex": "#0f6542",
  "rgb": {
    "r": 15,
    "g": 101,
    "b": 66
  },
  "hsl": {
    "h": 155.581,
    "s": 74.138,
    "l": 22.745
  },
  "oklch": {
    "l": 0.44958,
    "c": 0.09627,
    "h": 159.9
  },
  "luminance": 0.09802
}

Semantic roles & 50–950 ramp

primary
#0F6542
secondary
#9E325E
accent
#3783F1
background
#F5F9F7
surface
#EAF1ED
border
#C6CBC8
text
#050D08
muted
#797E7B

Preview Lab

Preview with #0F6542

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

Preview Lab → · Contrast checker → · Palette generator →

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