#0F5F38#0F5F38

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

Color values

HEX#0F5F38
RGBrgb(15, 95, 56)
HSLhsl(151, 73%, 22%)
HSVhsv(151, 84%, 37%)
CMYKcmyk(84.2%, 0%, 41.1%, 62.7%)
CIE-LABlab(35.14, -33.07, 15.94)
CIE-LCHlch(35.14, 36.71, 154.27°)
OKLaboklab(42.96% -0.0892 0.0398)
OKLCHoklch(42.96% 0.098 155.9)
XYZxyz(5.0025, 8.5709, 5.1313)
Luminance0.0857 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F5F38 #5F0F36
analogous
#0F5F10 #0F5F38 #0F5E5F
triadic
#0F5F38 #380F5F #5F380F
tetradic
#0F5F38 #100F5F #5F0F36 #5E5F0F
square
#0F5F38 #100F5F #5F0F36 #5E5F0F
split-complementary
#0F5F38 #5F0F5E #5F100F
monochromatic
#041A10 #072A19 #0F5F38 #179457 #20C976

Accessibility & contrast

On white

7.74
#0F5F38 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#0F5F38 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F5F38
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F5F38#FFFFFF#000000##FFFFFF
##0F5F381.007.742.717.74
#FFFFFF7.741.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E5735
Deuteranopia (green-blind)
#55503B
Tritanopia (blue-blind)
#005E55
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #0f5f38;
/* rgb */ color: rgb(15, 95, 56);
/* oklch */ color: oklch(43.0% 0.098 155.9);
Tailwind
colors: {
  custom: {
    50: '#5d8d6f',
    500: '#0f5f38',
    950: '#000000',
  },
}
SCSS
$custom: #0f5f38;
$custom-light: #5d8d6f;
$custom-dark: #000000;
JSON
{
  "hex": "#0f5f38",
  "rgb": {
    "r": 15,
    "g": 95,
    "b": 56
  },
  "hsl": {
    "h": 150.75,
    "s": 72.727,
    "l": 21.569
  },
  "oklch": {
    "l": 0.42961,
    "c": 0.09769,
    "h": 155.9
  },
  "luminance": 0.08571
}

Semantic roles & 50–950 ramp

primary
#0F5F38
secondary
#983264
accent
#3892EF
background
#F5F8F6
surface
#EAF0EC
border
#C6CBC7
text
#050C07
muted
#797D7A

Preview Lab

Preview with #0F5F38

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

Preview Lab → · Contrast checker → · Palette generator →

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