#0F5137#0F5137

#0F5137 is a dark, moderate teal. Relative luminance 0.063; OKLCH L 38.8% C 0.078 H 161.7°. Best body text is #FFFFFF at 9.32:1 contrast (WCAG AA passes).

Color values

HEX#0F5137
RGBrgb(15, 81, 55)
HSLhsl(156, 69%, 19%)
HSVhsv(156, 81%, 32%)
CMYKcmyk(81.5%, 0%, 32.1%, 68.2%)
CIE-LABlab(30.06, -27.15, 9.66)
CIE-LCHlch(30.06, 28.82, 160.42°)
OKLaboklab(38.77% -0.0741 0.0246)
OKLCHoklch(38.77% 0.078 161.7)
XYZxyz(3.8286, 6.2618, 4.6206)
Luminance0.0626 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F5137 #510F29
analogous
#0F5116 #0F5137 #0F4A51
triadic
#0F5137 #370F51 #51370F
tetradic
#0F5137 #160F51 #510F29 #4A510F
square
#0F5137 #160F51 #510F29 #4A510F
split-complementary
#0F5137 #510F4A #51160F
monochromatic
#051A12 #051D14 #0F5137 #19855A #22B87D

Accessibility & contrast

On white

9.32
#0F5137 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#0F5137 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F5137
9.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F5137#FFFFFF#000000##FFFFFF
##0F51371.009.322.259.32
#FFFFFF9.321.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#504A35
Deuteranopia (green-blind)
#474439
Tritanopia (blue-blind)
#00514A
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #0f5137;
/* rgb */ color: rgb(15, 81, 55);
/* oklch */ color: oklch(38.8% 0.078 161.7);
Tailwind
colors: {
  custom: {
    50: '#59826d',
    500: '#0f5137',
    950: '#000000',
  },
}
SCSS
$custom: #0f5137;
$custom-light: #59826d;
$custom-dark: #000000;
JSON
{
  "hex": "#0f5137",
  "rgb": {
    "r": 15,
    "g": 81,
    "b": 55
  },
  "hsl": {
    "h": 156.364,
    "s": 68.75,
    "l": 18.824
  },
  "oklch": {
    "l": 0.38766,
    "c": 0.07807,
    "h": 161.7
  },
  "luminance": 0.06262
}

Semantic roles & 50–950 ramp

primary
#0F5137
secondary
#8B3154
accent
#3C81EC
background
#F5F8F6
surface
#E9EFEB
border
#C5CAC6
text
#040A07
muted
#797C7A

Preview Lab

Preview with #0F5137

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

Preview Lab → · Contrast checker → · Palette generator →

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