#0F5C45#0F5C45

#0F5C45 is a dark, moderate teal. Relative luminance 0.082; OKLCH L 42.4% C 0.081 H 167.3°. Best body text is #FFFFFF at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#0F5C45
RGBrgb(15, 92, 69)
HSLhsl(162, 72%, 21%)
HSVhsv(162, 84%, 36%)
CMYKcmyk(83.7%, 0%, 25%, 63.9%)
CIE-LABlab(34.37, -28.53, 6.94)
CIE-LCHlch(34.37, 29.36, 166.32°)
OKLaboklab(42.42% -0.0789 0.0177)
OKLCHoklch(42.42% 0.081 167.3)
XYZxyz(5.0977, 8.1849, 6.9402)
Luminance0.0819 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F5C45 #5C0F26
analogous
#0F5C1E #0F5C45 #0F4C5C
triadic
#0F5C45 #450F5C #5C450F
tetradic
#0F5C45 #1E0F5C #5C0F26 #4C5C0F
square
#0F5C45 #1E0F5C #5C0F26 #4C5C0F
split-complementary
#0F5C45 #5C0F4C #5C1E0F
monochromatic
#041A14 #06271E #0F5C45 #18916C #20C594

Accessibility & contrast

On white

7.96
#0F5C45 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#0F5C45 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F5C45
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F5C45#FFFFFF#000000##FFFFFF
##0F5C451.007.962.647.96
#FFFFFF7.961.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A5544
Deuteranopia (green-blind)
#504E47
Tritanopia (blue-blind)
#005C56
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #0f5c45;
/* rgb */ color: rgb(15, 92, 69);
/* oklch */ color: oklch(42.4% 0.081 167.3);
Tailwind
colors: {
  custom: {
    50: '#5c8b78',
    500: '#0f5c45',
    950: '#000000',
  },
}
SCSS
$custom: #0f5c45;
$custom-light: #5c8b78;
$custom-dark: #000000;
JSON
{
  "hex": "#0f5c45",
  "rgb": {
    "r": 15,
    "g": 92,
    "b": 69
  },
  "hsl": {
    "h": 162.078,
    "s": 71.963,
    "l": 20.98
  },
  "oklch": {
    "l": 0.42415,
    "c": 0.08087,
    "h": 167.3
  },
  "luminance": 0.08186
}

Semantic roles & 50–950 ramp

primary
#0F5C45
secondary
#95314F
accent
#396FEF
background
#F5F8F7
surface
#E9F0ED
border
#C5CBC8
text
#050C09
muted
#797D7B

Preview Lab

Preview with #0F5C45

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

Preview Lab → · Contrast checker → · Palette generator →

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