#0F5240#0F5240

#0F5240 is a dark, moderate teal. Relative luminance 0.065; OKLCH L 39.3% C 0.071 H 170.1°. Best body text is #FFFFFF at 9.13:1 contrast (WCAG AA passes).

Color values

HEX#0F5240
RGBrgb(15, 82, 64)
HSLhsl(164, 69%, 19%)
HSVhsv(164, 82%, 32%)
CMYKcmyk(81.7%, 0%, 22%, 67.8%)
CIE-LABlab(30.65, -25.18, 4.81)
CIE-LCHlch(30.65, 25.64, 169.18°)
OKLaboklab(39.33% -0.0703 0.0123)
OKLCHoklch(39.33% 0.071 170.1)
XYZxyz(4.1392, 6.5058, 5.8871)
Luminance0.0651 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F5240 #520F21
analogous
#0F521F #0F5240 #0F4352
triadic
#0F5240 #400F52 #52400F
tetradic
#0F5240 #1F0F52 #520F21 #43520F
square
#0F5240 #1F0F52 #520F21 #43520F
split-complementary
#0F5240 #520F43 #521F0F
monochromatic
#051A14 #061E18 #0F5240 #188668 #22B991

Accessibility & contrast

On white

9.13
#0F5240 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#0F5240 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F5240
9.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F5240#FFFFFF#000000##FFFFFF
##0F52401.009.132.309.13
#FFFFFF9.131.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F4C3F
Deuteranopia (green-blind)
#474641
Tritanopia (blue-blind)
#00534D
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #0f5240;
/* rgb */ color: rgb(15, 82, 64);
/* oklch */ color: oklch(39.3% 0.071 170.1);
Tailwind
colors: {
  custom: {
    50: '#5a8374',
    500: '#0f5240',
    950: '#000000',
  },
}
SCSS
$custom: #0f5240;
$custom-light: #5a8374;
$custom-dark: #000000;
JSON
{
  "hex": "#0f5240",
  "rgb": {
    "r": 15,
    "g": 82,
    "b": 64
  },
  "hsl": {
    "h": 163.881,
    "s": 69.072,
    "l": 19.02
  },
  "oklch": {
    "l": 0.39327,
    "c": 0.07134,
    "h": 170.1
  },
  "luminance": 0.06506
}

Semantic roles & 50–950 ramp

primary
#0F5240
secondary
#8C3149
accent
#3C6BEC
background
#F5F8F7
surface
#E9EFED
border
#C5CAC8
text
#040A08
muted
#797C7B

Preview Lab

Preview with #0F5240

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

Preview Lab → · Contrast checker → · Palette generator →

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