#0F5A3A#0F5A3A

#0F5A3A is a dark, moderate teal. Relative luminance 0.077; OKLCH L 41.5% C 0.088 H 159.3°. Best body text is #FFFFFF at 8.26:1 contrast (WCAG AA passes).

Color values

HEX#0F5A3A
RGBrgb(15, 90, 58)
HSLhsl(154, 71%, 21%)
HSVhsv(154, 83%, 35%)
CMYKcmyk(83.3%, 0%, 35.6%, 64.7%)
CIE-LABlab(33.39, -30.46, 12.37)
CIE-LCHlch(33.39, 32.88, 157.90°)
OKLaboklab(41.53% -0.0826 0.0313)
OKLCHoklch(41.53% 0.088 159.3)
XYZxyz(4.6164, 7.7188, 5.2487)
Luminance0.0772 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F5A3A #5A0F2F
analogous
#0F5A14 #0F5A3A #0F545A
triadic
#0F5A3A #3A0F5A #5A3A0F
tetradic
#0F5A3A #140F5A #5A0F2F #545A0F
square
#0F5A3A #140F5A #5A0F2F #545A0F
split-complementary
#0F5A3A #5A0F54 #5A140F
monochromatic
#041A11 #062618 #0F5A3A #188E5C #20C37E

Accessibility & contrast

On white

8.26
#0F5A3A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#0F5A3A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F5A3A
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F5A3A#FFFFFF#000000##FFFFFF
##0F5A3A1.008.262.548.26
#FFFFFF8.261.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#595238
Deuteranopia (green-blind)
#504C3C
Tritanopia (blue-blind)
#005952
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #0f5a3a;
/* rgb */ color: rgb(15, 90, 58);
/* oklch */ color: oklch(41.5% 0.088 159.3);
Tailwind
colors: {
  custom: {
    50: '#5c8970',
    500: '#0f5a3a',
    950: '#000000',
  },
}
SCSS
$custom: #0f5a3a;
$custom-light: #5c8970;
$custom-dark: #000000;
JSON
{
  "hex": "#0f5a3a",
  "rgb": {
    "r": 15,
    "g": 90,
    "b": 58
  },
  "hsl": {
    "h": 154.4,
    "s": 71.429,
    "l": 20.588
  },
  "oklch": {
    "l": 0.41527,
    "c": 0.08836,
    "h": 159.3
  },
  "luminance": 0.07719
}

Semantic roles & 50–950 ramp

primary
#0F5A3A
secondary
#94315B
accent
#3A87EE
background
#F5F8F6
surface
#E9F0EC
border
#C5CBC7
text
#050B07
muted
#797C7A

Preview Lab

Preview with #0F5A3A

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

Preview Lab → · Contrast checker → · Palette generator →

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