#0F5336#0F5336

#0F5336 is a dark, moderate teal. Relative luminance 0.066; OKLCH L 39.3% C 0.082 H 159.7°. Best body text is #FFFFFF at 9.09:1 contrast (WCAG AA passes).

Color values

HEX#0F5336
RGBrgb(15, 83, 54)
HSLhsl(154, 69%, 19%)
HSVhsv(154, 82%, 33%)
CMYKcmyk(81.9%, 0%, 34.9%, 67.5%)
CIE-LABlab(30.77, -28.32, 11.25)
CIE-LCHlch(30.77, 30.47, 158.33°)
OKLaboklab(39.34% -0.0769 0.0285)
OKLCHoklch(39.34% 0.082 159.7)
XYZxyz(3.9557, 6.5539, 4.5459)
Luminance0.0655 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F5336 #530F2C
analogous
#0F5314 #0F5336 #0F4E53
triadic
#0F5336 #360F53 #53360F
tetradic
#0F5336 #140F53 #530F2C #4E530F
square
#0F5336 #140F53 #530F2C #4E530F
split-complementary
#0F5336 #530F4E #53140F
monochromatic
#051A11 #061F14 #0F5336 #188758 #22BB79

Accessibility & contrast

On white

9.09
#0F5336 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F5336
9.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F5336#FFFFFF#000000##FFFFFF
##0F53361.009.092.319.09
#FFFFFF9.091.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#524C34
Deuteranopia (green-blind)
#4A4638
Tritanopia (blue-blind)
#00534B
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #0f5336;
/* rgb */ color: rgb(15, 83, 54);
/* oklch */ color: oklch(39.3% 0.082 159.7);
Tailwind
colors: {
  custom: {
    50: '#5a846d',
    500: '#0f5336',
    950: '#000000',
  },
}
SCSS
$custom: #0f5336;
$custom-light: #5a846d;
$custom-dark: #000000;
JSON
{
  "hex": "#0f5336",
  "rgb": {
    "r": 15,
    "g": 83,
    "b": 54
  },
  "hsl": {
    "h": 154.412,
    "s": 69.388,
    "l": 19.216
  },
  "oklch": {
    "l": 0.39339,
    "c": 0.08205,
    "h": 159.7
  },
  "luminance": 0.06554
}

Semantic roles & 50–950 ramp

primary
#0F5336
secondary
#8D3158
accent
#3C87EC
background
#F5F8F6
surface
#E9EFEB
border
#C5CAC6
text
#040B07
muted
#797C7A

Preview Lab

Preview with #0F5336

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

Preview Lab → · Contrast checker → · Palette generator →

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