#0F5139#0F5139

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

Color values

HEX#0F5139
RGBrgb(15, 81, 57)
HSLhsl(158, 69%, 19%)
HSVhsv(158, 81%, 32%)
CMYKcmyk(81.5%, 0%, 29.6%, 68.2%)
CIE-LABlab(30.11, -26.63, 8.47)
CIE-LCHlch(30.11, 27.95, 162.36°)
OKLaboklab(38.82% -0.073 0.0216)
OKLCHoklch(38.82% 0.076 163.5)
XYZxyz(3.8775, 6.2814, 4.8782)
Luminance0.0628 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F5139 #510F27
analogous
#0F5118 #0F5139 #0F4851
triadic
#0F5139 #390F51 #51390F
tetradic
#0F5139 #180F51 #510F27 #48510F
square
#0F5139 #180F51 #510F27 #48510F
split-complementary
#0F5139 #510F48 #51180F
monochromatic
#051A12 #051D15 #0F5139 #19855D #22B882

Accessibility & contrast

On white

9.31
#0F5139 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#0F5139 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F5139
9.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F5139#FFFFFF#000000##FFFFFF
##0F51391.009.312.269.31
#FFFFFF9.311.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F4A38
Deuteranopia (green-blind)
#47443B
Tritanopia (blue-blind)
#00514A
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #0f5139;
/* rgb */ color: rgb(15, 81, 57);
/* oklch */ color: oklch(38.8% 0.076 163.5);
Tailwind
colors: {
  custom: {
    50: '#59826f',
    500: '#0f5139',
    950: '#000000',
  },
}
SCSS
$custom: #0f5139;
$custom-light: #59826f;
$custom-dark: #000000;
JSON
{
  "hex": "#0f5139",
  "rgb": {
    "r": 15,
    "g": 81,
    "b": 57
  },
  "hsl": {
    "h": 158.182,
    "s": 68.75,
    "l": 18.824
  },
  "oklch": {
    "l": 0.38822,
    "c": 0.07613,
    "h": 163.5
  },
  "luminance": 0.06282
}

Semantic roles & 50–950 ramp

primary
#0F5139
secondary
#8B3152
accent
#3C7CEC
background
#F5F8F6
surface
#E9EFEC
border
#C5CAC7
text
#040A07
muted
#797C7A

Preview Lab

Preview with #0F5139

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

Preview Lab → · Contrast checker → · Palette generator →

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