#0F5A43#0F5A43

#0F5A43 is a dark, moderate teal. Relative luminance 0.078; OKLCH L 41.8% C 0.080 H 166.9°. Best body text is #FFFFFF at 8.19:1 contrast (WCAG AA passes).

Color values

HEX#0F5A43
RGBrgb(15, 90, 67)
HSLhsl(162, 71%, 21%)
HSVhsv(162, 83%, 35%)
CMYKcmyk(83.3%, 0%, 25.6%, 64.7%)
CIE-LABlab(33.60, -28.15, 7.11)
CIE-LCHlch(33.60, 29.03, 165.83°)
OKLaboklab(41.77% -0.0777 0.0182)
OKLCHoklch(41.77% 0.08 166.9)
XYZxyz(4.8657, 7.8185, 6.5618)
Luminance0.0782 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F5A43 #5A0F26
analogous
#0F5A1D #0F5A43 #0F4B5A
triadic
#0F5A43 #430F5A #5A430F
tetradic
#0F5A43 #1D0F5A #5A0F26 #4B5A0F
square
#0F5A43 #1D0F5A #5A0F26 #4B5A0F
split-complementary
#0F5A43 #5A0F4B #5A1D0F
monochromatic
#041A14 #06261C #0F5A43 #188E6A #20C391

Accessibility & contrast

On white

8.19
#0F5A43 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F5A43
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F5A43#FFFFFF#000000##FFFFFF
##0F5A431.008.192.568.19
#FFFFFF8.191.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#585342
Deuteranopia (green-blind)
#4E4C45
Tritanopia (blue-blind)
#005A54
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #0f5a43;
/* rgb */ color: rgb(15, 90, 67);
/* oklch */ color: oklch(41.8% 0.080 166.9);
Tailwind
colors: {
  custom: {
    50: '#5c8977',
    500: '#0f5a43',
    950: '#000000',
  },
}
SCSS
$custom: #0f5a43;
$custom-light: #5c8977;
$custom-dark: #000000;
JSON
{
  "hex": "#0f5a43",
  "rgb": {
    "r": 15,
    "g": 90,
    "b": 67
  },
  "hsl": {
    "h": 161.6,
    "s": 71.429,
    "l": 20.588
  },
  "oklch": {
    "l": 0.41771,
    "c": 0.07984,
    "h": 166.9
  },
  "luminance": 0.07819
}

Semantic roles & 50–950 ramp

primary
#0F5A43
secondary
#94314F
accent
#3A71EE
background
#F5F8F7
surface
#E9F0ED
border
#C5CBC8
text
#050B08
muted
#797C7B

Preview Lab

Preview with #0F5A43

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

Preview Lab → · Contrast checker → · Palette generator →

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