#0F5F3C#0F5F3C

#0F5F3C is a dark, moderate teal. Relative luminance 0.086; OKLCH L 43.1% C 0.094 H 158.4°. Best body text is #FFFFFF at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#0F5F3C
RGBrgb(15, 95, 60)
HSLhsl(154, 73%, 22%)
HSVhsv(154, 84%, 37%)
CMYKcmyk(84.2%, 0%, 36.8%, 62.7%)
CIE-LABlab(35.23, -32.16, 13.65)
CIE-LCHlch(35.23, 34.93, 157.01°)
OKLaboklab(43.05% -0.0871 0.0344)
OKLCHoklch(43.05% 0.094 158.4)
XYZxyz(5.1043, 8.6116, 5.6673)
Luminance0.0861 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F5F3C #5F0F32
analogous
#0F5F14 #0F5F3C #0F5A5F
triadic
#0F5F3C #3C0F5F #5F3C0F
tetradic
#0F5F3C #140F5F #5F0F32 #5A5F0F
square
#0F5F3C #140F5F #5F0F32 #5A5F0F
split-complementary
#0F5F3C #5F0F5A #5F140F
monochromatic
#041A11 #072A1B #0F5F3C #17945D #20C97F

Accessibility & contrast

On white

7.71
#0F5F3C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#0F5F3C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F5F3C
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F5F3C#FFFFFF#000000##FFFFFF
##0F5F3C1.007.712.727.71
#FFFFFF7.711.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E573A
Deuteranopia (green-blind)
#55503E
Tritanopia (blue-blind)
#005E56
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #0f5f3c;
/* rgb */ color: rgb(15, 95, 60);
/* oklch */ color: oklch(43.1% 0.094 158.4);
Tailwind
colors: {
  custom: {
    50: '#5d8d72',
    500: '#0f5f3c',
    950: '#000000',
  },
}
SCSS
$custom: #0f5f3c;
$custom-light: #5d8d72;
$custom-dark: #000000;
JSON
{
  "hex": "#0f5f3c",
  "rgb": {
    "r": 15,
    "g": 95,
    "b": 60
  },
  "hsl": {
    "h": 153.75,
    "s": 72.727,
    "l": 21.569
  },
  "oklch": {
    "l": 0.43054,
    "c": 0.09362,
    "h": 158.4
  },
  "luminance": 0.08612
}

Semantic roles & 50–950 ramp

primary
#0F5F3C
secondary
#98325E
accent
#3888EF
background
#F5F8F6
surface
#EAF0EC
border
#C6CBC7
text
#050C08
muted
#797D7B

Preview Lab

Preview with #0F5F3C

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

Preview Lab → · Contrast checker → · Palette generator →

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