#0F5B3C#0F5B3C

#0F5B3C is a dark, moderate teal. Relative luminance 0.079; OKLCH L 41.9% C 0.088 H 160.3°. Best body text is #FFFFFF at 8.13:1 contrast (WCAG AA passes).

Color values

HEX#0F5B3C
RGBrgb(15, 91, 60)
HSLhsl(156, 72%, 21%)
HSVhsv(156, 84%, 36%)
CMYKcmyk(83.5%, 0%, 34.1%, 64.3%)
CIE-LABlab(33.79, -30.41, 11.69)
CIE-LCHlch(33.79, 32.59, 158.97°)
OKLaboklab(41.87% -0.0827 0.0296)
OKLCHoklch(41.87% 0.088 160.3)
XYZxyz(4.7532, 7.9094, 5.5502)
Luminance0.0791 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F5B3C #5B0F2E
analogous
#0F5B16 #0F5B3C #0F545B
triadic
#0F5B3C #3C0F5B #5B3C0F
tetradic
#0F5B3C #160F5B #5B0F2E #545B0F
square
#0F5B3C #160F5B #5B0F2E #545B0F
split-complementary
#0F5B3C #5B0F54 #5B160F
monochromatic
#041A11 #062619 #0F5B3C #18905F #20C481

Accessibility & contrast

On white

8.13
#0F5B3C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#0F5B3C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F5B3C
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F5B3C#FFFFFF#000000##FFFFFF
##0F5B3C1.008.132.588.13
#FFFFFF8.131.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A533A
Deuteranopia (green-blind)
#514D3E
Tritanopia (blue-blind)
#005B53
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #0f5b3c;
/* rgb */ color: rgb(15, 91, 60);
/* oklch */ color: oklch(41.9% 0.088 160.3);
Tailwind
colors: {
  custom: {
    50: '#5c8a71',
    500: '#0f5b3c',
    950: '#000000',
  },
}
SCSS
$custom: #0f5b3c;
$custom-light: #5c8a71;
$custom-dark: #000000;
JSON
{
  "hex": "#0f5b3c",
  "rgb": {
    "r": 15,
    "g": 91,
    "b": 60
  },
  "hsl": {
    "h": 155.526,
    "s": 71.698,
    "l": 20.784
  },
  "oklch": {
    "l": 0.41874,
    "c": 0.08783,
    "h": 160.3
  },
  "luminance": 0.0791
}

Semantic roles & 50–950 ramp

primary
#0F5B3C
secondary
#95315A
accent
#3983EE
background
#F5F8F6
surface
#E9F0EC
border
#C5CBC7
text
#050C07
muted
#797D7A

Preview Lab

Preview with #0F5B3C

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

Preview Lab → · Contrast checker → · Palette generator →

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