#0F4937#0F4937

#0F4937 is a dark, moderate teal. Relative luminance 0.051; OKLCH L 36.4% C 0.066 H 167.6°. Best body text is #FFFFFF at 10.35:1 contrast (WCAG AA passes).

Color values

HEX#0F4937
RGBrgb(15, 73, 55)
HSLhsl(161, 66%, 17%)
HSVhsv(161, 79%, 29%)
CMYKcmyk(79.5%, 0%, 24.7%, 71.4%)
CIE-LABlab(27.14, -23.33, 5.56)
CIE-LCHlch(27.14, 23.98, 166.59°)
OKLaboklab(36.36% -0.0647 0.0142)
OKLCHoklch(36.36% 0.066 167.6)
XYZxyz(3.2688, 5.1421, 4.4339)
Luminance0.0514 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F4937 #490F21
analogous
#0F491A #0F4937 #0F3E49
triadic
#0F4937 #370F49 #49370F
tetradic
#0F4937 #1A0F49 #490F21 #3E490F
square
#0F4937 #1A0F49 #490F21 #3E490F
split-complementary
#0F4937 #490F3E #491A0F
monochromatic
#051913 #051913 #0F4937 #197C5D #24AF83

Accessibility & contrast

On white

10.35
#0F4937 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#0F4937 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F4937
10.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F4937#FFFFFF#000000##FFFFFF
##0F49371.0010.352.0310.35
#FFFFFF10.351.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#474336
Deuteranopia (green-blind)
#3F3E38
Tritanopia (blue-blind)
#004944
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #0f4937;
/* rgb */ color: rgb(15, 73, 55);
/* oklch */ color: oklch(36.4% 0.066 167.6);
Tailwind
colors: {
  custom: {
    50: '#577c6d',
    500: '#0f4937',
    950: '#000000',
  },
}
SCSS
$custom: #0f4937;
$custom-light: #577c6d;
$custom-dark: #000000;
JSON
{
  "hex": "#0f4937",
  "rgb": {
    "r": 15,
    "g": 73,
    "b": 55
  },
  "hsl": {
    "h": 161.379,
    "s": 65.909,
    "l": 17.255
  },
  "oklch": {
    "l": 0.36363,
    "c": 0.06626,
    "h": 167.6
  },
  "luminance": 0.05142
}

Semantic roles & 50–950 ramp

primary
#0F4937
secondary
#83304A
accent
#3F74E9
background
#F5F7F6
surface
#E9EEEB
border
#C5C9C6
text
#040907
muted
#797B7A

Preview Lab

Preview with #0F4937

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

Preview Lab → · Contrast checker → · Palette generator →

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