#0F5F40#0F5F40

#0F5F40 is a dark, moderate teal. Relative luminance 0.087; OKLCH L 43.2% C 0.090 H 161.3°. Best body text is #FFFFFF at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#0F5F40
RGBrgb(15, 95, 64)
HSLhsl(157, 73%, 22%)
HSVhsv(157, 84%, 37%)
CMYKcmyk(84.2%, 0%, 32.6%, 62.7%)
CIE-LABlab(35.31, -31.19, 11.34)
CIE-LCHlch(35.31, 33.19, 160.02°)
OKLaboklab(43.15% -0.0849 0.0288)
OKLCHoklch(43.15% 0.09 161.3)
XYZxyz(5.2141, 8.6555, 6.2454)
Luminance0.0866 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F5F40 #5F0F2E
analogous
#0F5F18 #0F5F40 #0F565F
triadic
#0F5F40 #400F5F #5F400F
tetradic
#0F5F40 #180F5F #5F0F2E #565F0F
square
#0F5F40 #180F5F #5F0F2E #565F0F
split-complementary
#0F5F40 #5F0F56 #5F180F
monochromatic
#041A12 #072A1C #0F5F40 #179464 #20C987

Accessibility & contrast

On white

7.69
#0F5F40 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#0F5F40 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F5F40
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F5F40#FFFFFF#000000##FFFFFF
##0F5F401.007.692.737.69
#FFFFFF7.691.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D573E
Deuteranopia (green-blind)
#545042
Tritanopia (blue-blind)
#005F57
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #0f5f40;
/* rgb */ color: rgb(15, 95, 64);
/* oklch */ color: oklch(43.2% 0.090 161.3);
Tailwind
colors: {
  custom: {
    50: '#5d8d75',
    500: '#0f5f40',
    950: '#000000',
  },
}
SCSS
$custom: #0f5f40;
$custom-light: #5d8d75;
$custom-dark: #000000;
JSON
{
  "hex": "#0f5f40",
  "rgb": {
    "r": 15,
    "g": 95,
    "b": 64
  },
  "hsl": {
    "h": 156.75,
    "s": 72.727,
    "l": 21.569
  },
  "oklch": {
    "l": 0.43154,
    "c": 0.08968,
    "h": 161.3
  },
  "luminance": 0.08656
}

Semantic roles & 50–950 ramp

primary
#0F5F40
secondary
#983259
accent
#387FEF
background
#F5F8F7
surface
#EAF0ED
border
#C6CBC8
text
#050C08
muted
#797D7B

Preview Lab

Preview with #0F5F40

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

Preview Lab → · Contrast checker → · Palette generator →

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