#0F5B38#0F5B38

#0F5B38 is a dark, moderate teal. Relative luminance 0.079; OKLCH L 41.8% C 0.092 H 157.5°. Best body text is #FFFFFF at 8.16:1 contrast (WCAG AA passes).

Color values

HEX#0F5B38
RGBrgb(15, 91, 56)
HSLhsl(152, 72%, 21%)
HSVhsv(152, 84%, 36%)
CMYKcmyk(83.5%, 0%, 38.5%, 64.3%)
CIE-LABlab(33.71, -31.37, 14.02)
CIE-LCHlch(33.71, 34.36, 155.93°)
OKLaboklab(41.78% -0.0848 0.0352)
OKLCHoklch(41.78% 0.092 157.5)
XYZxyz(4.6514, 7.8687, 5.0143)
Luminance0.0787 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F5B38 #5B0F32
analogous
#0F5B12 #0F5B38 #0F585B
triadic
#0F5B38 #380F5B #5B380F
tetradic
#0F5B38 #120F5B #5B0F32 #585B0F
square
#0F5B38 #120F5B #5B0F32 #585B0F
split-complementary
#0F5B38 #5B0F58 #5B120F
monochromatic
#041A10 #062618 #0F5B38 #189058 #20C479

Accessibility & contrast

On white

8.16
#0F5B38 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#0F5B38 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F5B38
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F5B38#FFFFFF#000000##FFFFFF
##0F5B381.008.162.578.16
#FFFFFF8.161.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A5336
Deuteranopia (green-blind)
#514D3A
Tritanopia (blue-blind)
#005A52
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #0f5b38;
/* rgb */ color: rgb(15, 91, 56);
/* oklch */ color: oklch(41.8% 0.092 157.5);
Tailwind
colors: {
  custom: {
    50: '#5c8a6f',
    500: '#0f5b38',
    950: '#000000',
  },
}
SCSS
$custom: #0f5b38;
$custom-light: #5c8a6f;
$custom-dark: #000000;
JSON
{
  "hex": "#0f5b38",
  "rgb": {
    "r": 15,
    "g": 91,
    "b": 56
  },
  "hsl": {
    "h": 152.368,
    "s": 71.698,
    "l": 20.784
  },
  "oklch": {
    "l": 0.41775,
    "c": 0.09185,
    "h": 157.5
  },
  "luminance": 0.07869
}

Semantic roles & 50–950 ramp

primary
#0F5B38
secondary
#95315F
accent
#398DEE
background
#F5F8F6
surface
#E9F0EC
border
#C5CBC7
text
#050C07
muted
#797D7A

Preview Lab

Preview with #0F5B38

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

Preview Lab → · Contrast checker → · Palette generator →

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