#0F5C38#0F5C38

#0F5C38 is a dark, moderate teal. Relative luminance 0.080; OKLCH L 42.1% C 0.093 H 157.0°. Best body text is #FFFFFF at 8.05:1 contrast (WCAG AA passes).

Color values

HEX#0F5C38
RGBrgb(15, 92, 56)
HSLhsl(152, 72%, 21%)
HSVhsv(152, 84%, 36%)
CMYKcmyk(83.7%, 0%, 39.1%, 63.9%)
CIE-LABlab(34.07, -31.80, 14.50)
CIE-LCHlch(34.07, 34.95, 155.49°)
OKLaboklab(42.07% -0.0859 0.0364)
OKLCHoklch(42.07% 0.093 157)
XYZxyz(4.7375, 8.0408, 5.0430)
Luminance0.0804 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F5C38 #5C0F33
analogous
#0F5C11 #0F5C38 #0F595C
triadic
#0F5C38 #380F5C #5C380F
tetradic
#0F5C38 #110F5C #5C0F33 #595C0F
square
#0F5C38 #110F5C #5C0F33 #595C0F
split-complementary
#0F5C38 #5C0F59 #5C110F
monochromatic
#041A10 #062718 #0F5C38 #189158 #20C578

Accessibility & contrast

On white

8.05
#0F5C38 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#0F5C38 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F5C38
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F5C38#FFFFFF#000000##FFFFFF
##0F5C381.008.052.618.05
#FFFFFF8.051.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B5436
Deuteranopia (green-blind)
#524D3A
Tritanopia (blue-blind)
#005B53
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #0f5c38;
/* rgb */ color: rgb(15, 92, 56);
/* oklch */ color: oklch(42.1% 0.093 157.0);
Tailwind
colors: {
  custom: {
    50: '#5c8b6f',
    500: '#0f5c38',
    950: '#000000',
  },
}
SCSS
$custom: #0f5c38;
$custom-light: #5c8b6f;
$custom-dark: #000000;
JSON
{
  "hex": "#0f5c38",
  "rgb": {
    "r": 15,
    "g": 92,
    "b": 56
  },
  "hsl": {
    "h": 151.948,
    "s": 71.963,
    "l": 20.98
  },
  "oklch": {
    "l": 0.42072,
    "c": 0.09332,
    "h": 157
  },
  "luminance": 0.08041
}

Semantic roles & 50–950 ramp

primary
#0F5C38
secondary
#953160
accent
#398EEF
background
#F5F8F6
surface
#E9F0EC
border
#C5CBC7
text
#050C07
muted
#797D7A

Preview Lab

Preview with #0F5C38

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

Preview Lab → · Contrast checker → · Palette generator →

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