#0F6242#0F6242

#0F6242 is a dark, moderate teal. Relative luminance 0.092; OKLCH L 44.1% C 0.092 H 161.3°. Best body text is #FFFFFF at 7.38:1 contrast (WCAG AA passes).

Color values

HEX#0F6242
RGBrgb(15, 98, 66)
HSLhsl(157, 73%, 22%)
HSVhsv(157, 85%, 38%)
CMYKcmyk(84.7%, 0%, 32.7%, 61.6%)
CIE-LABlab(36.42, -32.01, 11.65)
CIE-LCHlch(36.42, 34.07, 160.00°)
OKLaboklab(44.08% -0.0871 0.0296)
OKLCHoklch(44.08% 0.092 161.3)
XYZxyz(5.5474, 9.2296, 6.6423)
Luminance0.0923 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F6242 #620F2F
analogous
#0F6218 #0F6242 #0F5962
triadic
#0F6242 #420F62 #62420F
tetradic
#0F6242 #180F62 #620F2F #59620F
square
#0F6242 #180F62 #620F2F #59620F
split-complementary
#0F6242 #620F59 #62180F
monochromatic
#041B12 #072D1E #0F6242 #179766 #1FCC89

Accessibility & contrast

On white

7.38
#0F6242 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#0F6242 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F6242
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F6242#FFFFFF#000000##FFFFFF
##0F62421.007.382.857.38
#FFFFFF7.381.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#605A40
Deuteranopia (green-blind)
#575344
Tritanopia (blue-blind)
#006259
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #0f6242;
/* rgb */ color: rgb(15, 98, 66);
/* oklch */ color: oklch(44.1% 0.092 161.3);
Tailwind
colors: {
  custom: {
    50: '#5e8f76',
    500: '#0f6242',
    950: '#000000',
  },
}
SCSS
$custom: #0f6242;
$custom-light: #5e8f76;
$custom-dark: #000000;
JSON
{
  "hex": "#0f6242",
  "rgb": {
    "r": 15,
    "g": 98,
    "b": 66
  },
  "hsl": {
    "h": 156.867,
    "s": 73.451,
    "l": 22.157
  },
  "oklch": {
    "l": 0.44083,
    "c": 0.09202,
    "h": 161.3
  },
  "luminance": 0.0923
}

Semantic roles & 50–950 ramp

primary
#0F6242
secondary
#9B325A
accent
#387FF0
background
#F5F8F7
surface
#EAF0ED
border
#C6CBC8
text
#050C08
muted
#797D7B

Preview Lab

Preview with #0F6242

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

Preview Lab → · Contrast checker → · Palette generator →

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