#0F5339#0F5339

#0F5339 is a dark, moderate teal. Relative luminance 0.066; OKLCH L 39.4% C 0.079 H 162.2°. Best body text is #FFFFFF at 9.07:1 contrast (WCAG AA passes).

Color values

HEX#0F5339
RGBrgb(15, 83, 57)
HSLhsl(157, 69%, 19%)
HSVhsv(157, 82%, 33%)
CMYKcmyk(81.9%, 0%, 31.3%, 67.5%)
CIE-LABlab(30.84, -27.56, 9.48)
CIE-LCHlch(30.84, 29.15, 161.02°)
OKLaboklab(39.42% -0.0753 0.0241)
OKLCHoklch(39.42% 0.079 162.2)
XYZxyz(4.0283, 6.5830, 4.9284)
Luminance0.0658 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F5339 #530F29
analogous
#0F5317 #0F5339 #0F4B53
triadic
#0F5339 #390F53 #53390F
tetradic
#0F5339 #170F53 #530F29 #4B530F
square
#0F5339 #170F53 #530F29 #4B530F
split-complementary
#0F5339 #530F4B #53170F
monochromatic
#051A12 #061F15 #0F5339 #18875D #22BB80

Accessibility & contrast

On white

9.07
#0F5339 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#0F5339 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F5339
9.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F5339#FFFFFF#000000##FFFFFF
##0F53391.009.072.329.07
#FFFFFF9.071.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#524C37
Deuteranopia (green-blind)
#49463B
Tritanopia (blue-blind)
#00534C
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #0f5339;
/* rgb */ color: rgb(15, 83, 57);
/* oklch */ color: oklch(39.4% 0.079 162.2);
Tailwind
colors: {
  custom: {
    50: '#5a846f',
    500: '#0f5339',
    950: '#000000',
  },
}
SCSS
$custom: #0f5339;
$custom-light: #5a846f;
$custom-dark: #000000;
JSON
{
  "hex": "#0f5339",
  "rgb": {
    "r": 15,
    "g": 83,
    "b": 57
  },
  "hsl": {
    "h": 157.059,
    "s": 69.388,
    "l": 19.216
  },
  "oklch": {
    "l": 0.39419,
    "c": 0.07907,
    "h": 162.2
  },
  "luminance": 0.06583
}

Semantic roles & 50–950 ramp

primary
#0F5339
secondary
#8D3154
accent
#3C7FEC
background
#F5F8F6
surface
#E9EFEC
border
#C5CAC7
text
#040B07
muted
#797C7A

Preview Lab

Preview with #0F5339

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

Preview Lab → · Contrast checker → · Palette generator →

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