#0F5540#0F5540

#0F5540 is a dark, moderate teal. Relative luminance 0.070; OKLCH L 40.2% C 0.075 H 167.6°. Best body text is #FFFFFF at 8.77:1 contrast (WCAG AA passes).

Color values

HEX#0F5540
RGBrgb(15, 85, 64)
HSLhsl(162, 70%, 20%)
HSVhsv(162, 82%, 33%)
CMYKcmyk(82.4%, 0%, 24.7%, 66.7%)
CIE-LABlab(31.73, -26.62, 6.34)
CIE-LCHlch(31.73, 27.37, 166.60°)
OKLaboklab(40.21% -0.0737 0.0162)
OKLCHoklch(40.21% 0.075 167.6)
XYZxyz(4.3704, 6.9682, 5.9642)
Luminance0.0697 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F5540 #550F24
analogous
#0F551D #0F5540 #0F4755
triadic
#0F5540 #400F55 #55400F
tetradic
#0F5540 #1D0F55 #550F24 #47550F
square
#0F5540 #1D0F55 #550F24 #47550F
split-complementary
#0F5540 #550F47 #551D0F
monochromatic
#051A14 #062119 #0F5540 #188967 #21BD8E

Accessibility & contrast

On white

8.77
#0F5540 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#0F5540 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F5540
8.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F5540#FFFFFF#000000##FFFFFF
##0F55401.008.772.398.77
#FFFFFF8.771.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#534E3F
Deuteranopia (green-blind)
#4A4841
Tritanopia (blue-blind)
#00554F
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #0f5540;
/* rgb */ color: rgb(15, 85, 64);
/* oklch */ color: oklch(40.2% 0.075 167.6);
Tailwind
colors: {
  custom: {
    50: '#5b8574',
    500: '#0f5540',
    950: '#000000',
  },
}
SCSS
$custom: #0f5540;
$custom-light: #5b8574;
$custom-dark: #000000;
JSON
{
  "hex": "#0f5540",
  "rgb": {
    "r": 15,
    "g": 85,
    "b": 64
  },
  "hsl": {
    "h": 162,
    "s": 70,
    "l": 19.608
  },
  "oklch": {
    "l": 0.40213,
    "c": 0.07549,
    "h": 167.6
  },
  "luminance": 0.06969
}

Semantic roles & 50–950 ramp

primary
#0F5540
secondary
#8F314D
accent
#3B70ED
background
#F5F8F7
surface
#E9EFED
border
#C5CAC8
text
#040B08
muted
#797C7B

Preview Lab

Preview with #0F5540

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

Preview Lab → · Contrast checker → · Palette generator →

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