#0F5839#0F5839

#0F5839 is a dark, moderate teal. Relative luminance 0.074; OKLCH L 40.9% C 0.086 H 159.5°. Best body text is #FFFFFF at 8.48:1 contrast (WCAG AA passes).

Color values

HEX#0F5839
RGBrgb(15, 88, 57)
HSLhsl(155, 71%, 20%)
HSVhsv(155, 83%, 35%)
CMYKcmyk(83%, 0%, 35.2%, 65.5%)
CIE-LABlab(32.65, -29.82, 11.97)
CIE-LCHlch(32.65, 32.13, 158.13°)
OKLaboklab(40.91% -0.081 0.0303)
OKLCHoklch(40.91% 0.086 159.5)
XYZxyz(4.4248, 7.3759, 5.0606)
Luminance0.0738 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F5839 #580F2E
analogous
#0F5815 #0F5839 #0F5258
triadic
#0F5839 #390F58 #58390F
tetradic
#0F5839 #150F58 #580F2E #52580F
square
#0F5839 #150F58 #580F2E #52580F
split-complementary
#0F5839 #580F52 #58150F
monochromatic
#041A11 #062417 #0F5839 #188C5B #21C17D

Accessibility & contrast

On white

8.48
#0F5839 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#0F5839 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F5839
8.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F5839#FFFFFF#000000##FFFFFF
##0F58391.008.482.488.48
#FFFFFF8.481.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#575137
Deuteranopia (green-blind)
#4E4A3B
Tritanopia (blue-blind)
#005850
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #0f5839;
/* rgb */ color: rgb(15, 88, 57);
/* oklch */ color: oklch(40.9% 0.086 159.5);
Tailwind
colors: {
  custom: {
    50: '#5b886f',
    500: '#0f5839',
    950: '#000000',
  },
}
SCSS
$custom: #0f5839;
$custom-light: #5b886f;
$custom-dark: #000000;
JSON
{
  "hex": "#0f5839",
  "rgb": {
    "r": 15,
    "g": 88,
    "b": 57
  },
  "hsl": {
    "h": 154.521,
    "s": 70.874,
    "l": 20.196
  },
  "oklch": {
    "l": 0.40908,
    "c": 0.08643,
    "h": 159.5
  },
  "luminance": 0.07376
}

Semantic roles & 50–950 ramp

primary
#0F5839
secondary
#92315A
accent
#3A86EE
background
#F5F8F6
surface
#E9F0EC
border
#C5CBC7
text
#040B07
muted
#797C7A

Preview Lab

Preview with #0F5839

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

Preview Lab → · Contrast checker → · Palette generator →

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