#0F5A4A#0F5A4A

#0F5A4A is a dark, moderate teal. Relative luminance 0.079; OKLCH L 42.0% C 0.074 H 174.2°. Best body text is #FFFFFF at 8.13:1 contrast (WCAG AA passes).

Color values

HEX#0F5A4A
RGBrgb(15, 90, 74)
HSLhsl(167, 71%, 21%)
HSVhsv(167, 83%, 35%)
CMYKcmyk(83.3%, 0%, 17.8%, 64.7%)
CIE-LABlab(33.79, -26.16, 3.01)
CIE-LCHlch(33.79, 26.34, 173.43°)
OKLaboklab(41.99% -0.0739 0.0076)
OKLCHoklch(41.99% 0.074 174.2)
XYZxyz(5.0886, 7.9077, 7.7354)
Luminance0.0791 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F5A4A #5A0F1F
analogous
#0F5A24 #0F5A4A #0F445A
triadic
#0F5A4A #4A0F5A #5A4A0F
tetradic
#0F5A4A #240F5A #5A0F1F #445A0F
square
#0F5A4A #240F5A #5A0F1F #445A0F
split-complementary
#0F5A4A #5A0F44 #5A240F
monochromatic
#041A16 #06261F #0F5A4A #188E75 #20C3A0

Accessibility & contrast

On white

8.13
#0F5A4A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#0F5A4A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F5A4A
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F5A4A#FFFFFF#000000##FFFFFF
##0F5A4A1.008.132.588.13
#FFFFFF8.131.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#575449
Deuteranopia (green-blind)
#4D4D4B
Tritanopia (blue-blind)
#005B55
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #0f5a4a;
/* rgb */ color: rgb(15, 90, 74);
/* oklch */ color: oklch(42.0% 0.074 174.2);
Tailwind
colors: {
  custom: {
    50: '#5c897c',
    500: '#0f5a4a',
    950: '#000000',
  },
}
SCSS
$custom: #0f5a4a;
$custom-light: #5c897c;
$custom-dark: #000000;
JSON
{
  "hex": "#0f5a4a",
  "rgb": {
    "r": 15,
    "g": 90,
    "b": 74
  },
  "hsl": {
    "h": 167.2,
    "s": 71.429,
    "l": 20.588
  },
  "oklch": {
    "l": 0.41987,
    "c": 0.07434,
    "h": 174.2
  },
  "luminance": 0.07908
}

Semantic roles & 50–950 ramp

primary
#0F5A4A
secondary
#943146
accent
#3A60EE
background
#F5F8F7
surface
#E9F0EE
border
#C5CBC9
text
#050B09
muted
#797C7B

Preview Lab

Preview with #0F5A4A

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

Preview Lab → · Contrast checker → · Palette generator →

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