#0F5538#0F5538

#0F5538 is a dark, moderate teal. Relative luminance 0.069; OKLCH L 40.0% C 0.083 H 160.3°. Best body text is #FFFFFF at 8.84:1 contrast (WCAG AA passes).

Color values

HEX#0F5538
RGBrgb(15, 85, 56)
HSLhsl(155, 70%, 20%)
HSVhsv(155, 82%, 33%)
CMYKcmyk(82.4%, 0%, 34.1%, 66.7%)
CIE-LABlab(31.54, -28.72, 11.07)
CIE-LCHlch(31.54, 30.78, 158.93°)
OKLaboklab(39.99% -0.0781 0.028)
OKLCHoklch(39.99% 0.083 160.3)
XYZxyz(4.1589, 6.8836, 4.8501)
Luminance0.0688 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F5538 #550F2C
analogous
#0F5515 #0F5538 #0F4F55
triadic
#0F5538 #380F55 #55380F
tetradic
#0F5538 #150F55 #550F2C #4F550F
square
#0F5538 #150F55 #550F2C #4F550F
split-complementary
#0F5538 #550F4F #55150F
monochromatic
#051A11 #062116 #0F5538 #18895A #21BD7D

Accessibility & contrast

On white

8.84
#0F5538 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#0F5538 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F5538
8.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F5538#FFFFFF#000000##FFFFFF
##0F55381.008.842.388.84
#FFFFFF8.841.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#544E36
Deuteranopia (green-blind)
#4B483A
Tritanopia (blue-blind)
#00554D
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #0f5538;
/* rgb */ color: rgb(15, 85, 56);
/* oklch */ color: oklch(40.0% 0.083 160.3);
Tailwind
colors: {
  custom: {
    50: '#5a856e',
    500: '#0f5538',
    950: '#000000',
  },
}
SCSS
$custom: #0f5538;
$custom-light: #5a856e;
$custom-dark: #000000;
JSON
{
  "hex": "#0f5538",
  "rgb": {
    "r": 15,
    "g": 85,
    "b": 56
  },
  "hsl": {
    "h": 155.143,
    "s": 70,
    "l": 19.608
  },
  "oklch": {
    "l": 0.39989,
    "c": 0.08301,
    "h": 160.3
  },
  "luminance": 0.06884
}

Semantic roles & 50–950 ramp

primary
#0F5538
secondary
#8F3158
accent
#3B85ED
background
#F5F8F6
surface
#E9EFEC
border
#C5CAC7
text
#040B07
muted
#797C7A

Preview Lab

Preview with #0F5538

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

Preview Lab → · Contrast checker → · Palette generator →

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