#0F5239#0F5239

#0F5239 is a dark, moderate teal. Relative luminance 0.064; OKLCH L 39.1% C 0.078 H 162.9°. Best body text is #FFFFFF at 9.18:1 contrast (WCAG AA passes).

Color values

HEX#0F5239
RGBrgb(15, 82, 57)
HSLhsl(158, 69%, 19%)
HSVhsv(158, 82%, 32%)
CMYKcmyk(81.7%, 0%, 30.5%, 67.8%)
CIE-LABlab(30.48, -27.10, 8.98)
CIE-LCHlch(30.48, 28.55, 161.67°)
OKLaboklab(39.12% -0.0741 0.0229)
OKLCHoklch(39.12% 0.078 162.9)
XYZxyz(3.9524, 6.4311, 4.9031)
Luminance0.0643 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F5239 #520F28
analogous
#0F5218 #0F5239 #0F4A52
triadic
#0F5239 #390F52 #52390F
tetradic
#0F5239 #180F52 #520F28 #4A520F
square
#0F5239 #180F52 #520F28 #4A520F
split-complementary
#0F5239 #520F4A #52180F
monochromatic
#051A12 #061E15 #0F5239 #18865D #22B981

Accessibility & contrast

On white

9.18
#0F5239 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#0F5239 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F5239
9.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F5239#FFFFFF#000000##FFFFFF
##0F52391.009.182.299.18
#FFFFFF9.181.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#504B38
Deuteranopia (green-blind)
#48453B
Tritanopia (blue-blind)
#00524B
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #0f5239;
/* rgb */ color: rgb(15, 82, 57);
/* oklch */ color: oklch(39.1% 0.078 162.9);
Tailwind
colors: {
  custom: {
    50: '#5a836f',
    500: '#0f5239',
    950: '#000000',
  },
}
SCSS
$custom: #0f5239;
$custom-light: #5a836f;
$custom-dark: #000000;
JSON
{
  "hex": "#0f5239",
  "rgb": {
    "r": 15,
    "g": 82,
    "b": 57
  },
  "hsl": {
    "h": 157.612,
    "s": 69.072,
    "l": 19.02
  },
  "oklch": {
    "l": 0.3912,
    "c": 0.07759,
    "h": 162.9
  },
  "luminance": 0.06432
}

Semantic roles & 50–950 ramp

primary
#0F5239
secondary
#8C3153
accent
#3C7EEC
background
#F5F8F6
surface
#E9EFEC
border
#C5CAC7
text
#040B07
muted
#797C7A

Preview Lab

Preview with #0F5239

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

Preview Lab → · Contrast checker → · Palette generator →

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