#0F5939#0F5939

#0F5939 is a dark, moderate teal. Relative luminance 0.075; OKLCH L 41.2% C 0.088 H 159.0°. Best body text is #FFFFFF at 8.37:1 contrast (WCAG AA passes).

Color values

HEX#0F5939
RGBrgb(15, 89, 57)
HSLhsl(154, 71%, 20%)
HSVhsv(154, 83%, 35%)
CMYKcmyk(83.1%, 0%, 36%, 65.1%)
CIE-LABlab(33.01, -30.26, 12.46)
CIE-LCHlch(33.01, 32.73, 157.62°)
OKLaboklab(41.21% -0.0821 0.0315)
OKLCHoklch(41.21% 0.088 159)
XYZxyz(4.5074, 7.5412, 5.0881)
Luminance0.0754 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F5939 #590F2F
analogous
#0F5914 #0F5939 #0F5459
triadic
#0F5939 #390F59 #59390F
tetradic
#0F5939 #140F59 #590F2F #54590F
square
#0F5939 #140F59 #590F2F #54590F
split-complementary
#0F5939 #590F54 #59140F
monochromatic
#041A11 #062517 #0F5939 #188D5B #21C27C

Accessibility & contrast

On white

8.37
#0F5939 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#0F5939 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F5939
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F5939#FFFFFF#000000##FFFFFF
##0F59391.008.372.518.37
#FFFFFF8.371.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#585137
Deuteranopia (green-blind)
#4F4B3B
Tritanopia (blue-blind)
#005851
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #0f5939;
/* rgb */ color: rgb(15, 89, 57);
/* oklch */ color: oklch(41.2% 0.088 159.0);
Tailwind
colors: {
  custom: {
    50: '#5b886f',
    500: '#0f5939',
    950: '#000000',
  },
}
SCSS
$custom: #0f5939;
$custom-light: #5b886f;
$custom-dark: #000000;
JSON
{
  "hex": "#0f5939",
  "rgb": {
    "r": 15,
    "g": 89,
    "b": 57
  },
  "hsl": {
    "h": 154.054,
    "s": 71.154,
    "l": 20.392
  },
  "oklch": {
    "l": 0.41205,
    "c": 0.0879,
    "h": 159
  },
  "luminance": 0.07542
}

Semantic roles & 50–950 ramp

primary
#0F5939
secondary
#93315B
accent
#3A88EE
background
#F5F8F6
surface
#E9F0EC
border
#C5CBC7
text
#040B07
muted
#797C7A

Preview Lab

Preview with #0F5939

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

Preview Lab → · Contrast checker → · Palette generator →

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