#0F5F3A#0F5F3A

#0F5F3A is a dark, moderate teal. Relative luminance 0.086; OKLCH L 43.0% C 0.096 H 157.2°. Best body text is #FFFFFF at 7.73:1 contrast (WCAG AA passes).

Color values

HEX#0F5F3A
RGBrgb(15, 95, 58)
HSLhsl(152, 73%, 22%)
HSVhsv(152, 84%, 37%)
CMYKcmyk(84.2%, 0%, 38.9%, 62.7%)
CIE-LABlab(35.18, -32.62, 14.79)
CIE-LCHlch(35.18, 35.82, 155.61°)
OKLaboklab(43.01% -0.0881 0.0371)
OKLCHoklch(43.01% 0.096 157.2)
XYZxyz(5.0524, 8.5908, 5.3941)
Luminance0.0859 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F5F3A #5F0F34
analogous
#0F5F12 #0F5F3A #0F5C5F
triadic
#0F5F3A #3A0F5F #5F3A0F
tetradic
#0F5F3A #120F5F #5F0F34 #5C5F0F
square
#0F5F3A #120F5F #5F0F34 #5C5F0F
split-complementary
#0F5F3A #5F0F5C #5F120F
monochromatic
#041A10 #072A1A #0F5F3A #17945A #20C97B

Accessibility & contrast

On white

7.73
#0F5F3A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F5F3A
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F5F3A#FFFFFF#000000##FFFFFF
##0F5F3A1.007.732.727.73
#FFFFFF7.731.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.731.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0f5f3a;
/* rgb */ color: rgb(15, 95, 58);
/* oklch */ color: oklch(43.0% 0.096 157.2);
Tailwind
colors: {
  custom: {
    50: '#5d8d70',
    500: '#0f5f3a',
    950: '#000000',
  },
}
SCSS
$custom: #0f5f3a;
$custom-light: #5d8d70;
$custom-dark: #000000;
JSON
{
  "hex": "#0f5f3a",
  "rgb": {
    "r": 15,
    "g": 95,
    "b": 58
  },
  "hsl": {
    "h": 152.25,
    "s": 72.727,
    "l": 21.569
  },
  "oklch": {
    "l": 0.43007,
    "c": 0.09565,
    "h": 157.2
  },
  "luminance": 0.08591
}

Semantic roles & 50–950 ramp

primary
#0F5F3A
secondary
#983261
accent
#388DEF
background
#F5F8F6
surface
#EAF0EC
border
#C6CBC7
text
#050C07
muted
#797D7A

Preview Lab

Preview with #0F5F3A

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

Preview Lab → · Contrast checker → · Palette generator →

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