#0F5C40#0F5C40

#0F5C40 is a dark, moderate teal. Relative luminance 0.081; OKLCH L 42.3% C 0.085 H 162.9°. Best body text is #FFFFFF at 8.00:1 contrast (WCAG AA passes).

Color values

HEX#0F5C40
RGBrgb(15, 92, 64)
HSLhsl(158, 72%, 21%)
HSVhsv(158, 84%, 36%)
CMYKcmyk(83.7%, 0%, 30.4%, 63.9%)
CIE-LABlab(34.24, -29.86, 9.86)
CIE-LCHlch(34.24, 31.44, 161.72°)
OKLaboklab(42.27% -0.0816 0.0251)
OKLCHoklch(42.27% 0.085 162.9)
XYZxyz(4.9490, 8.1254, 6.1570)
Luminance0.0813 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F5C40 #5C0F2B
analogous
#0F5C19 #0F5C40 #0F515C
triadic
#0F5C40 #400F5C #5C400F
tetradic
#0F5C40 #190F5C #5C0F2B #515C0F
square
#0F5C40 #190F5C #5C0F2B #515C0F
split-complementary
#0F5C40 #5C0F51 #5C190F
monochromatic
#041A12 #06271B #0F5C40 #189165 #20C589

Accessibility & contrast

On white

8.00
#0F5C40 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#0F5C40 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F5C40
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F5C40#FFFFFF#000000##FFFFFF
##0F5C401.008.002.638.00
#FFFFFF8.001.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF8.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A553E
Deuteranopia (green-blind)
#514E42
Tritanopia (blue-blind)
#005C54
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #0f5c40;
/* rgb */ color: rgb(15, 92, 64);
/* oklch */ color: oklch(42.3% 0.085 162.9);
Tailwind
colors: {
  custom: {
    50: '#5c8b75',
    500: '#0f5c40',
    950: '#000000',
  },
}
SCSS
$custom: #0f5c40;
$custom-light: #5c8b75;
$custom-dark: #000000;
JSON
{
  "hex": "#0f5c40",
  "rgb": {
    "r": 15,
    "g": 92,
    "b": 64
  },
  "hsl": {
    "h": 158.182,
    "s": 71.963,
    "l": 20.98
  },
  "oklch": {
    "l": 0.42274,
    "c": 0.08539,
    "h": 162.9
  },
  "luminance": 0.08126
}

Semantic roles & 50–950 ramp

primary
#0F5C40
secondary
#953156
accent
#397BEF
background
#F5F8F7
surface
#E9F0ED
border
#C5CBC8
text
#050C08
muted
#797D7B

Preview Lab

Preview with #0F5C40

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

Preview Lab → · Contrast checker → · Palette generator →

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