#0F6540#0F6540

#0F6540 is a dark, moderate teal. Relative luminance 0.098; OKLCH L 44.9% C 0.098 H 158.6°. Best body text is #FFFFFF at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#0F6540
RGBrgb(15, 101, 64)
HSLhsl(154, 74%, 23%)
HSVhsv(154, 85%, 40%)
CMYKcmyk(85.1%, 0%, 36.6%, 60.4%)
CIE-LABlab(37.44, -33.78, 14.25)
CIE-LCHlch(37.44, 36.66, 157.13°)
OKLaboklab(44.91% -0.0914 0.0359)
OKLCHoklch(44.91% 0.098 158.6)
XYZxyz(5.7755, 9.7784, 6.4325)
Luminance0.0978 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F6540 #650F34
analogous
#0F6515 #0F6540 #0F5F65
triadic
#0F6540 #400F65 #65400F
tetradic
#0F6540 #150F65 #650F34 #5F650F
square
#0F6540 #150F65 #650F34 #5F650F
split-complementary
#0F6540 #650F5F #65150F
monochromatic
#041B11 #07301E #0F6540 #179A62 #1FD084

Accessibility & contrast

On white

7.10
#0F6540 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#0F6540 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F6540
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F6540#FFFFFF#000000##FFFFFF
##0F65401.007.102.967.10
#FFFFFF7.101.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#645C3E
Deuteranopia (green-blind)
#5A5542
Tritanopia (blue-blind)
#00645B
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #0f6540;
/* rgb */ color: rgb(15, 101, 64);
/* oklch */ color: oklch(44.9% 0.098 158.6);
Tailwind
colors: {
  custom: {
    50: '#5f9275',
    500: '#0f6540',
    950: '#000000',
  },
}
SCSS
$custom: #0f6540;
$custom-light: #5f9275;
$custom-dark: #000000;
JSON
{
  "hex": "#0f6540",
  "rgb": {
    "r": 15,
    "g": 101,
    "b": 64
  },
  "hsl": {
    "h": 154.186,
    "s": 74.138,
    "l": 22.745
  },
  "oklch": {
    "l": 0.44909,
    "c": 0.09824,
    "h": 158.6
  },
  "luminance": 0.09779
}

Semantic roles & 50–950 ramp

primary
#0F6540
secondary
#9E3260
accent
#3787F1
background
#F5F9F7
surface
#EAF1ED
border
#C6CBC8
text
#050D08
muted
#797E7B

Preview Lab

Preview with #0F6540

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

Preview Lab → · Contrast checker → · Palette generator →

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