#0F5A3C#0F5A3C

#0F5A3C is a dark, moderate teal. Relative luminance 0.077; OKLCH L 41.6% C 0.086 H 160.8°. Best body text is #FFFFFF at 8.24:1 contrast (WCAG AA passes).

Color values

HEX#0F5A3C
RGBrgb(15, 90, 60)
HSLhsl(156, 71%, 21%)
HSVhsv(156, 83%, 35%)
CMYKcmyk(83.3%, 0%, 33.3%, 64.7%)
CIE-LABlab(33.43, -29.97, 11.20)
CIE-LCHlch(33.43, 32.00, 159.51°)
OKLaboklab(41.58% -0.0816 0.0284)
OKLCHoklch(41.58% 0.086 160.8)
XYZxyz(4.6683, 7.7396, 5.5219)
Luminance0.0774 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F5A3C #5A0F2D
analogous
#0F5A16 #0F5A3C #0F525A
triadic
#0F5A3C #3C0F5A #5A3C0F
tetradic
#0F5A3C #160F5A #5A0F2D #525A0F
square
#0F5A3C #160F5A #5A0F2D #525A0F
split-complementary
#0F5A3C #5A0F52 #5A160F
monochromatic
#041A11 #062619 #0F5A3C #188E5F #20C382

Accessibility & contrast

On white

8.24
#0F5A3C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#0F5A3C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F5A3C
8.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F5A3C#FFFFFF#000000##FFFFFF
##0F5A3C1.008.242.558.24
#FFFFFF8.241.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#59523A
Deuteranopia (green-blind)
#504C3E
Tritanopia (blue-blind)
#005A52
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #0f5a3c;
/* rgb */ color: rgb(15, 90, 60);
/* oklch */ color: oklch(41.6% 0.086 160.8);
Tailwind
colors: {
  custom: {
    50: '#5c8971',
    500: '#0f5a3c',
    950: '#000000',
  },
}
SCSS
$custom: #0f5a3c;
$custom-light: #5c8971;
$custom-dark: #000000;
JSON
{
  "hex": "#0f5a3c",
  "rgb": {
    "r": 15,
    "g": 90,
    "b": 60
  },
  "hsl": {
    "h": 156,
    "s": 71.429,
    "l": 20.588
  },
  "oklch": {
    "l": 0.41578,
    "c": 0.08637,
    "h": 160.8
  },
  "luminance": 0.0774
}

Semantic roles & 50–950 ramp

primary
#0F5A3C
secondary
#943159
accent
#3A82EE
background
#F5F8F6
surface
#E9F0EC
border
#C5CBC7
text
#050B07
muted
#797C7A

Preview Lab

Preview with #0F5A3C

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

Preview Lab → · Contrast checker → · Palette generator →

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