#0F6842#0F6842

#0F6842 is a mid, moderate teal. Relative luminance 0.104; OKLCH L 45.8% C 0.101 H 158.6°. Best body text is #FFFFFF at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#0F6842
RGBrgb(15, 104, 66)
HSLhsl(154, 75%, 23%)
HSVhsv(154, 86%, 41%)
CMYKcmyk(85.6%, 0%, 36.5%, 59.2%)
CIE-LABlab(38.54, -34.58, 14.55)
CIE-LCHlch(38.54, 37.52, 157.19°)
OKLaboklab(45.83% -0.0936 0.0367)
OKLCHoklch(45.83% 0.101 158.6)
XYZxyz(6.1300, 10.3948, 6.8365)
Luminance0.1040 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F6842 #680F35
analogous
#0F6815 #0F6842 #0F6168
triadic
#0F6842 #420F68 #68420F
tetradic
#0F6842 #150F68 #680F35 #61680F
square
#0F6842 #150F68 #680F35 #61680F
split-complementary
#0F6842 #680F61 #68150F
monochromatic
#041B11 #073320 #0F6842 #179D64 #1ED386

Accessibility & contrast

On white

6.82
#0F6842 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#0F6842 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #0F6842
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F6842#FFFFFF#000000##FFFFFF
##0F68421.006.823.086.82
#FFFFFF6.821.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#675F40
Deuteranopia (green-blind)
#5D5845
Tritanopia (blue-blind)
#00675E
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #0f6842;
/* rgb */ color: rgb(15, 104, 66);
/* oklch */ color: oklch(45.8% 0.101 158.6);
Tailwind
colors: {
  custom: {
    50: '#5f9476',
    500: '#0f6842',
    950: '#000000',
  },
}
SCSS
$custom: #0f6842;
$custom-light: #5f9476;
$custom-dark: #000000;
JSON
{
  "hex": "#0f6842",
  "rgb": {
    "r": 15,
    "g": 104,
    "b": 66
  },
  "hsl": {
    "h": 154.382,
    "s": 74.79,
    "l": 23.333
  },
  "oklch": {
    "l": 0.4583,
    "c": 0.10052,
    "h": 158.6
  },
  "luminance": 0.10396
}

Semantic roles & 50–950 ramp

primary
#0F6842
secondary
#A13261
accent
#3686F1
background
#F6F9F7
surface
#EBF1ED
border
#C6CBC8
text
#050D08
muted
#7A7E7B

Preview Lab

Preview with #0F6842

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

Preview Lab → · Contrast checker → · Palette generator →

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