#0F6840#0F6840

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

Color values

HEX#0F6840
RGBrgb(15, 104, 64)
HSLhsl(153, 75%, 23%)
HSVhsv(153, 86%, 41%)
CMYKcmyk(85.6%, 0%, 38.5%, 59.2%)
CIE-LABlab(38.50, -35.04, 15.68)
CIE-LCHlch(38.50, 38.39, 155.90°)
OKLaboklab(45.78% -0.0946 0.0394)
OKLCHoklch(45.78% 0.103 157.4)
XYZxyz(6.0721, 10.3716, 6.5314)
Luminance0.1037 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F6840 #680F37
analogous
#0F6814 #0F6840 #0F6368
triadic
#0F6840 #400F68 #68400F
tetradic
#0F6840 #140F68 #680F37 #63680F
square
#0F6840 #140F68 #680F37 #63680F
split-complementary
#0F6840 #680F63 #68140F
monochromatic
#041B10 #07331F #0F6840 #179D61 #1ED382

Accessibility & contrast

On white

6.83
#0F6840 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#0F6840 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #0F6840
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F6840#FFFFFF#000000##FFFFFF
##0F68401.006.833.076.83
#FFFFFF6.831.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.831.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0f6840;
/* rgb */ color: rgb(15, 104, 64);
/* oklch */ color: oklch(45.8% 0.103 157.4);
Tailwind
colors: {
  custom: {
    50: '#5f9475',
    500: '#0f6840',
    950: '#000000',
  },
}
SCSS
$custom: #0f6840;
$custom-light: #5f9475;
$custom-dark: #000000;
JSON
{
  "hex": "#0f6840",
  "rgb": {
    "r": 15,
    "g": 104,
    "b": 64
  },
  "hsl": {
    "h": 153.034,
    "s": 74.79,
    "l": 23.333
  },
  "oklch": {
    "l": 0.45784,
    "c": 0.10251,
    "h": 157.4
  },
  "luminance": 0.10372
}

Semantic roles & 50–950 ramp

primary
#0F6840
secondary
#A13264
accent
#368AF1
background
#F6F9F7
surface
#EBF1ED
border
#C6CBC8
text
#050D08
muted
#7A7E7B

Preview Lab

Preview with #0F6840

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

Preview Lab → · Contrast checker → · Palette generator →

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