#0F5738#0F5738

#0F5738 is a dark, moderate teal. Relative luminance 0.072; OKLCH L 40.6% C 0.086 H 159.2°. Best body text is #FFFFFF at 8.60:1 contrast (WCAG AA passes).

Color values

HEX#0F5738
RGBrgb(15, 87, 56)
HSLhsl(154, 71%, 20%)
HSVhsv(154, 83%, 34%)
CMYKcmyk(82.8%, 0%, 35.6%, 65.9%)
CIE-LABlab(32.26, -29.62, 12.06)
CIE-LCHlch(32.26, 31.98, 157.85°)
OKLaboklab(40.59% -0.0804 0.0305)
OKLCHoklch(40.59% 0.086 159.2)
XYZxyz(4.3186, 7.2030, 4.9033)
Luminance0.0720 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F5738 #570F2E
analogous
#0F5714 #0F5738 #0F5257
triadic
#0F5738 #380F57 #57380F
tetradic
#0F5738 #140F57 #570F2E #52570F
square
#0F5738 #140F57 #570F2E #52570F
split-complementary
#0F5738 #570F52 #57140F
monochromatic
#051A11 #062316 #0F5738 #188B5A #21BF7B

Accessibility & contrast

On white

8.60
#0F5738 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#0F5738 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F5738
8.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F5738#FFFFFF#000000##FFFFFF
##0F57381.008.602.448.60
#FFFFFF8.601.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#565036
Deuteranopia (green-blind)
#4D493A
Tritanopia (blue-blind)
#00564F
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #0f5738;
/* rgb */ color: rgb(15, 87, 56);
/* oklch */ color: oklch(40.6% 0.086 159.2);
Tailwind
colors: {
  custom: {
    50: '#5b876e',
    500: '#0f5738',
    950: '#000000',
  },
}
SCSS
$custom: #0f5738;
$custom-light: #5b876e;
$custom-dark: #000000;
JSON
{
  "hex": "#0f5738",
  "rgb": {
    "r": 15,
    "g": 87,
    "b": 56
  },
  "hsl": {
    "h": 154.167,
    "s": 70.588,
    "l": 20
  },
  "oklch": {
    "l": 0.40585,
    "c": 0.08596,
    "h": 159.2
  },
  "luminance": 0.07203
}

Semantic roles & 50–950 ramp

primary
#0F5738
secondary
#91315A
accent
#3A87ED
background
#F5F8F6
surface
#E9EFEC
border
#C5CAC7
text
#040B07
muted
#797C7A

Preview Lab

Preview with #0F5738

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

Preview Lab → · Contrast checker → · Palette generator →

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