#0F5237#0F5237

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

Color values

HEX#0F5237
RGBrgb(15, 82, 55)
HSLhsl(156, 69%, 19%)
HSVhsv(156, 82%, 32%)
CMYKcmyk(81.7%, 0%, 32.9%, 67.8%)
CIE-LABlab(30.43, -27.61, 10.16)
CIE-LCHlch(30.43, 29.42, 159.79°)
OKLaboklab(39.07% -0.0753 0.0258)
OKLCHoklch(39.07% 0.08 161.1)
XYZxyz(3.9035, 6.4115, 4.6455)
Luminance0.0641 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F5237 #520F2A
analogous
#0F5216 #0F5237 #0F4C52
triadic
#0F5237 #370F52 #52370F
tetradic
#0F5237 #160F52 #520F2A #4C520F
square
#0F5237 #160F52 #520F2A #4C520F
split-complementary
#0F5237 #520F4C #52160F
monochromatic
#051A11 #061E14 #0F5237 #18865A #22B97C

Accessibility & contrast

On white

9.20
#0F5237 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F5237
9.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F5237#FFFFFF#000000##FFFFFF
##0F52371.009.202.289.20
#FFFFFF9.201.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#514B35
Deuteranopia (green-blind)
#484539
Tritanopia (blue-blind)
#00524B
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #0f5237;
/* rgb */ color: rgb(15, 82, 55);
/* oklch */ color: oklch(39.1% 0.080 161.1);
Tailwind
colors: {
  custom: {
    50: '#5a836e',
    500: '#0f5237',
    950: '#000000',
  },
}
SCSS
$custom: #0f5237;
$custom-light: #5a836e;
$custom-dark: #000000;
JSON
{
  "hex": "#0f5237",
  "rgb": {
    "r": 15,
    "g": 82,
    "b": 55
  },
  "hsl": {
    "h": 155.821,
    "s": 69.072,
    "l": 19.02
  },
  "oklch": {
    "l": 0.39066,
    "c": 0.07956,
    "h": 161.1
  },
  "luminance": 0.06412
}

Semantic roles & 50–950 ramp

primary
#0F5237
secondary
#8C3156
accent
#3C83EC
background
#F5F8F6
surface
#E9EFEB
border
#C5CAC6
text
#040B07
muted
#797C7A

Preview Lab

Preview with #0F5237

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

Preview Lab → · Contrast checker → · Palette generator →

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