#0F5F37#0F5F37

#0F5F37 is a dark, moderate teal. Relative luminance 0.086; OKLCH L 42.9% C 0.099 H 155.4°. Best body text is #FFFFFF at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#0F5F37
RGBrgb(15, 95, 55)
HSLhsl(150, 73%, 22%)
HSVhsv(150, 84%, 37%)
CMYKcmyk(84.2%, 0%, 42.1%, 62.7%)
CIE-LABlab(35.13, -33.29, 16.51)
CIE-LCHlch(35.13, 37.16, 153.62°)
OKLaboklab(42.94% -0.0897 0.0412)
OKLCHoklch(42.94% 0.099 155.4)
XYZxyz(4.9783, 8.5612, 5.0038)
Luminance0.0856 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F5F37 #5F0F37
analogous
#0F5F0F #0F5F37 #0F5F5F
triadic
#0F5F37 #370F5F #5F370F
tetradic
#0F5F37 #0F0F5F #5F0F37 #5F5F0F
square
#0F5F37 #0F0F5F #5F0F37 #5F5F0F
split-complementary
#0F5F37 #5F0F5F #5F0F0F
monochromatic
#041A0F #072A18 #0F5F37 #179456 #20C974

Accessibility & contrast

On white

7.74
#0F5F37 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#0F5F37 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F5F37
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F5F37#FFFFFF#000000##FFFFFF
##0F5F371.007.742.717.74
#FFFFFF7.741.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F5734
Deuteranopia (green-blind)
#55503A
Tritanopia (blue-blind)
#005E55
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #0f5f37;
/* rgb */ color: rgb(15, 95, 55);
/* oklch */ color: oklch(42.9% 0.099 155.4);
Tailwind
colors: {
  custom: {
    50: '#5d8d6e',
    500: '#0f5f37',
    950: '#000000',
  },
}
SCSS
$custom: #0f5f37;
$custom-light: #5d8d6e;
$custom-dark: #000000;
JSON
{
  "hex": "#0f5f37",
  "rgb": {
    "r": 15,
    "g": 95,
    "b": 55
  },
  "hsl": {
    "h": 150,
    "s": 72.727,
    "l": 21.569
  },
  "oklch": {
    "l": 0.42939,
    "c": 0.09871,
    "h": 155.4
  },
  "luminance": 0.08562
}

Semantic roles & 50–950 ramp

primary
#0F5F37
secondary
#983265
accent
#3894EF
background
#F5F8F6
surface
#EAF0EC
border
#C6CBC7
text
#050C07
muted
#797D7A

Preview Lab

Preview with #0F5F37

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

Preview Lab → · Contrast checker → · Palette generator →

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