#0F5A40#0F5A40

#0F5A40 is a dark, moderate teal. Relative luminance 0.078; OKLCH L 41.7% C 0.083 H 164.1°. Best body text is #FFFFFF at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#0F5A40
RGBrgb(15, 90, 64)
HSLhsl(159, 71%, 21%)
HSVhsv(159, 83%, 35%)
CMYKcmyk(83.3%, 0%, 28.9%, 64.7%)
CIE-LABlab(33.53, -28.95, 8.87)
CIE-LCHlch(33.53, 30.28, 162.97°)
OKLaboklab(41.69% -0.0794 0.0226)
OKLCHoklch(41.69% 0.083 164.1)
XYZxyz(4.7780, 7.7835, 6.1000)
Luminance0.0778 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F5A40 #5A0F29
analogous
#0F5A1A #0F5A40 #0F4E5A
triadic
#0F5A40 #400F5A #5A400F
tetradic
#0F5A40 #1A0F5A #5A0F29 #4E5A0F
square
#0F5A40 #1A0F5A #5A0F29 #4E5A0F
split-complementary
#0F5A40 #5A0F4E #5A1A0F
monochromatic
#041A13 #06261B #0F5A40 #188E65 #20C38B

Accessibility & contrast

On white

8.21
#0F5A40 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#0F5A40 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F5A40
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F5A40#FFFFFF#000000##FFFFFF
##0F5A401.008.212.568.21
#FFFFFF8.211.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#58533F
Deuteranopia (green-blind)
#4F4C42
Tritanopia (blue-blind)
#005A53
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #0f5a40;
/* rgb */ color: rgb(15, 90, 64);
/* oklch */ color: oklch(41.7% 0.083 164.1);
Tailwind
colors: {
  custom: {
    50: '#5c8974',
    500: '#0f5a40',
    950: '#000000',
  },
}
SCSS
$custom: #0f5a40;
$custom-light: #5c8974;
$custom-dark: #000000;
JSON
{
  "hex": "#0f5a40",
  "rgb": {
    "r": 15,
    "g": 90,
    "b": 64
  },
  "hsl": {
    "h": 159.2,
    "s": 71.429,
    "l": 20.588
  },
  "oklch": {
    "l": 0.41686,
    "c": 0.08254,
    "h": 164.1
  },
  "luminance": 0.07784
}

Semantic roles & 50–950 ramp

primary
#0F5A40
secondary
#943153
accent
#3A78EE
background
#F5F8F7
surface
#E9F0ED
border
#C5CBC8
text
#050B08
muted
#797C7B

Preview Lab

Preview with #0F5A40

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

Preview Lab → · Contrast checker → · Palette generator →

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