#0F5338#0F5338

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

Color values

HEX#0F5338
RGBrgb(15, 83, 56)
HSLhsl(156, 69%, 19%)
HSVhsv(156, 82%, 33%)
CMYKcmyk(81.9%, 0%, 32.5%, 67.5%)
CIE-LABlab(30.81, -27.82, 10.07)
CIE-LCHlch(30.81, 29.58, 160.10°)
OKLaboklab(39.39% -0.0758 0.0256)
OKLCHoklch(39.39% 0.08 161.4)
XYZxyz(4.0036, 6.5731, 4.7983)
Luminance0.0657 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F5338 #530F2A
analogous
#0F5316 #0F5338 #0F4C53
triadic
#0F5338 #380F53 #53380F
tetradic
#0F5338 #160F53 #530F2A #4C530F
square
#0F5338 #160F53 #530F2A #4C530F
split-complementary
#0F5338 #530F4C #53160F
monochromatic
#051A11 #061F15 #0F5338 #18875B #22BB7E

Accessibility & contrast

On white

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

On black

2.31
#0F5338 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##0F5338#FFFFFF#000000##FFFFFF
##0F53381.009.072.319.07
#FFFFFF9.071.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.071.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0f5338;
/* rgb */ color: rgb(15, 83, 56);
/* oklch */ color: oklch(39.4% 0.080 161.4);
Tailwind
colors: {
  custom: {
    50: '#5a846e',
    500: '#0f5338',
    950: '#000000',
  },
}
SCSS
$custom: #0f5338;
$custom-light: #5a846e;
$custom-dark: #000000;
JSON
{
  "hex": "#0f5338",
  "rgb": {
    "r": 15,
    "g": 83,
    "b": 56
  },
  "hsl": {
    "h": 156.176,
    "s": 69.388,
    "l": 19.216
  },
  "oklch": {
    "l": 0.39392,
    "c": 0.08005,
    "h": 161.4
  },
  "luminance": 0.06574
}

Semantic roles & 50–950 ramp

primary
#0F5338
secondary
#8D3155
accent
#3C82EC
background
#F5F8F6
surface
#E9EFEC
border
#C5CAC7
text
#040B07
muted
#797C7A

Preview Lab

Preview with #0F5338

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

Preview Lab → · Contrast checker → · Palette generator →

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