#0F5D38#0F5D38

#0F5D38 is a dark, moderate teal. Relative luminance 0.082; OKLCH L 42.4% C 0.095 H 156.7°. Best body text is #FFFFFF at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#0F5D38
RGBrgb(15, 93, 56)
HSLhsl(152, 72%, 21%)
HSVhsv(152, 84%, 36%)
CMYKcmyk(83.9%, 0%, 39.8%, 63.5%)
CIE-LABlab(34.43, -32.23, 14.98)
CIE-LCHlch(34.43, 35.54, 155.07°)
OKLaboklab(42.37% -0.087 0.0376)
OKLCHoklch(42.37% 0.095 156.7)
XYZxyz(4.8247, 8.2152, 5.0720)
Luminance0.0822 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F5D38 #5D0F34
analogous
#0F5D11 #0F5D38 #0F5B5D
triadic
#0F5D38 #380F5D #5D380F
tetradic
#0F5D38 #110F5D #5D0F34 #5B5D0F
square
#0F5D38 #110F5D #5D0F34 #5B5D0F
split-complementary
#0F5D38 #5D0F5B #5D110F
monochromatic
#041A10 #062818 #0F5D38 #179258 #20C677

Accessibility & contrast

On white

7.94
#0F5D38 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#0F5D38 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F5D38
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F5D38#FFFFFF#000000##FFFFFF
##0F5D381.007.942.647.94
#FFFFFF7.941.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C5536
Deuteranopia (green-blind)
#534E3A
Tritanopia (blue-blind)
#005C54
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #0f5d38;
/* rgb */ color: rgb(15, 93, 56);
/* oklch */ color: oklch(42.4% 0.095 156.7);
Tailwind
colors: {
  custom: {
    50: '#5c8c6f',
    500: '#0f5d38',
    950: '#000000',
  },
}
SCSS
$custom: #0f5d38;
$custom-light: #5c8c6f;
$custom-dark: #000000;
JSON
{
  "hex": "#0f5d38",
  "rgb": {
    "r": 15,
    "g": 93,
    "b": 56
  },
  "hsl": {
    "h": 151.538,
    "s": 72.222,
    "l": 21.176
  },
  "oklch": {
    "l": 0.42368,
    "c": 0.09478,
    "h": 156.7
  },
  "luminance": 0.08216
}

Semantic roles & 50–950 ramp

primary
#0F5D38
secondary
#963161
accent
#398FEF
background
#F5F8F6
surface
#E9F0EC
border
#C5CBC7
text
#050C07
muted
#797D7A

Preview Lab

Preview with #0F5D38

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

Preview Lab → · Contrast checker → · Palette generator →

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