#0F4F2F#0F4F2F

#0F4F2F is a dark, moderate teal. Relative luminance 0.059; OKLCH L 38.0% C 0.083 H 156.2°. Best body text is #FFFFFF at 9.63:1 contrast (WCAG AA passes).

Color values

HEX#0F4F2F
RGBrgb(15, 79, 47)
HSLhsl(150, 68%, 18%)
HSVhsv(150, 81%, 31%)
CMYKcmyk(81%, 0%, 40.5%, 69%)
CIE-LABlab(29.15, -28.19, 13.41)
CIE-LCHlch(29.15, 31.22, 154.56°)
OKLaboklab(37.96% -0.0762 0.0336)
OKLCHoklch(37.96% 0.083 156.2)
XYZxyz(3.5057, 5.8983, 3.6425)
Luminance0.0590 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F4F2F #4F0F2F
analogous
#0F4F0F #0F4F2F #0F4F4F
triadic
#0F4F2F #2F0F4F #4F2F0F
tetradic
#0F4F2F #0F0F4F #4F0F2F #4F4F0F
square
#0F4F2F #0F0F4F #4F0F2F #4F4F0F
split-complementary
#0F4F2F #4F0F4F #4F0F0F
monochromatic
#051A0F #051C10 #0F4F2F #19824E #23B66C

Accessibility & contrast

On white

9.63
#0F4F2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#0F4F2F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F4F2F
9.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F4F2F#FFFFFF#000000##FFFFFF
##0F4F2F1.009.632.189.63
#FFFFFF9.631.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F482D
Deuteranopia (green-blind)
#474231
Tritanopia (blue-blind)
#004E47
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #0f4f2f;
/* rgb */ color: rgb(15, 79, 47);
/* oklch */ color: oklch(38.0% 0.083 156.2);
Tailwind
colors: {
  custom: {
    50: '#598167',
    500: '#0f4f2f',
    950: '#000000',
  },
}
SCSS
$custom: #0f4f2f;
$custom-light: #598167;
$custom-dark: #000000;
JSON
{
  "hex": "#0f4f2f",
  "rgb": {
    "r": 15,
    "g": 79,
    "b": 47
  },
  "hsl": {
    "h": 150,
    "s": 68.085,
    "l": 18.431
  },
  "oklch": {
    "l": 0.3796,
    "c": 0.08328,
    "h": 156.2
  },
  "luminance": 0.05899
}

Semantic roles & 50–950 ramp

primary
#0F4F2F
secondary
#89315D
accent
#3D94EB
background
#F5F7F6
surface
#E9EEEB
border
#C5C9C6
text
#040A06
muted
#797C7A

Preview Lab

Preview with #0F4F2F

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

Preview Lab → · Contrast checker → · Palette generator →

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