#0F5D45#0F5D45

#0F5D45 is a dark, moderate teal. Relative luminance 0.084; OKLCH L 42.7% C 0.082 H 166.6°. Best body text is #FFFFFF at 7.86:1 contrast (WCAG AA passes).

Color values

HEX#0F5D45
RGBrgb(15, 93, 69)
HSLhsl(162, 72%, 21%)
HSVhsv(162, 84%, 36%)
CMYKcmyk(83.9%, 0%, 25.8%, 63.5%)
CIE-LABlab(34.72, -28.99, 7.45)
CIE-LCHlch(34.72, 29.93, 165.60°)
OKLaboklab(42.71% -0.08 0.019)
OKLCHoklch(42.71% 0.082 166.6)
XYZxyz(5.1849, 8.3593, 6.9693)
Luminance0.0836 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F5D45 #5D0F27
analogous
#0F5D1E #0F5D45 #0F4E5D
triadic
#0F5D45 #450F5D #5D450F
tetradic
#0F5D45 #1E0F5D #5D0F27 #4E5D0F
square
#0F5D45 #1E0F5D #5D0F27 #4E5D0F
split-complementary
#0F5D45 #5D0F4E #5D1E0F
monochromatic
#041A14 #06281E #0F5D45 #17926C #20C693

Accessibility & contrast

On white

7.86
#0F5D45 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#0F5D45 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F5D45
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F5D45#FFFFFF#000000##FFFFFF
##0F5D451.007.862.677.86
#FFFFFF7.861.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B5644
Deuteranopia (green-blind)
#514F47
Tritanopia (blue-blind)
#005D56
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #0f5d45;
/* rgb */ color: rgb(15, 93, 69);
/* oklch */ color: oklch(42.7% 0.082 166.6);
Tailwind
colors: {
  custom: {
    50: '#5d8b78',
    500: '#0f5d45',
    950: '#000000',
  },
}
SCSS
$custom: #0f5d45;
$custom-light: #5d8b78;
$custom-dark: #000000;
JSON
{
  "hex": "#0f5d45",
  "rgb": {
    "r": 15,
    "g": 93,
    "b": 69
  },
  "hsl": {
    "h": 161.538,
    "s": 72.222,
    "l": 21.176
  },
  "oklch": {
    "l": 0.42706,
    "c": 0.08225,
    "h": 166.6
  },
  "luminance": 0.0836
}

Semantic roles & 50–950 ramp

primary
#0F5D45
secondary
#963150
accent
#3971EF
background
#F5F8F7
surface
#E9F0ED
border
#C5CBC8
text
#050C09
muted
#797D7B

Preview Lab

Preview with #0F5D45

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

Preview Lab → · Contrast checker → · Palette generator →

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