#0F5238#0F5238

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

Color values

HEX#0F5238
RGBrgb(15, 82, 56)
HSLhsl(157, 69%, 19%)
HSVhsv(157, 82%, 32%)
CMYKcmyk(81.7%, 0%, 31.7%, 67.8%)
CIE-LABlab(30.45, -27.36, 9.57)
CIE-LCHlch(30.45, 28.98, 160.72°)
OKLaboklab(39.09% -0.0747 0.0243)
OKLCHoklch(39.09% 0.079 162)
XYZxyz(3.9277, 6.4212, 4.7730)
Luminance0.0642 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F5238 #520F29
analogous
#0F5217 #0F5238 #0F4B52
triadic
#0F5238 #380F52 #52380F
tetradic
#0F5238 #170F52 #520F29 #4B520F
square
#0F5238 #170F52 #520F29 #4B520F
split-complementary
#0F5238 #520F4B #52170F
monochromatic
#051A12 #061E15 #0F5238 #18865B #22B97F

Accessibility & contrast

On white

9.19
#0F5238 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#0F5238 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F5238
9.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F5238#FFFFFF#000000##FFFFFF
##0F52381.009.192.289.19
#FFFFFF9.191.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#514B36
Deuteranopia (green-blind)
#48453A
Tritanopia (blue-blind)
#00524B
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #0f5238;
/* rgb */ color: rgb(15, 82, 56);
/* oklch */ color: oklch(39.1% 0.079 162.0);
Tailwind
colors: {
  custom: {
    50: '#5a836e',
    500: '#0f5238',
    950: '#000000',
  },
}
SCSS
$custom: #0f5238;
$custom-light: #5a836e;
$custom-dark: #000000;
JSON
{
  "hex": "#0f5238",
  "rgb": {
    "r": 15,
    "g": 82,
    "b": 56
  },
  "hsl": {
    "h": 156.716,
    "s": 69.072,
    "l": 19.02
  },
  "oklch": {
    "l": 0.39093,
    "c": 0.07857,
    "h": 162
  },
  "luminance": 0.06422
}

Semantic roles & 50–950 ramp

primary
#0F5238
secondary
#8C3154
accent
#3C80EC
background
#F5F8F6
surface
#E9EFEC
border
#C5CAC7
text
#040B07
muted
#797C7A

Preview Lab

Preview with #0F5238

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

Preview Lab → · Contrast checker → · Palette generator →

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