#0F5837#0F5837

#0F5837 is a dark, moderate teal. Relative luminance 0.074; OKLCH L 40.9% C 0.088 H 158.0°. Best body text is #FFFFFF at 8.50:1 contrast (WCAG AA passes).

Color values

HEX#0F5837
RGBrgb(15, 88, 55)
HSLhsl(153, 71%, 20%)
HSVhsv(153, 83%, 35%)
CMYKcmyk(83%, 0%, 37.5%, 65.5%)
CIE-LABlab(32.60, -30.30, 13.13)
CIE-LCHlch(32.60, 33.02, 156.56°)
OKLaboklab(40.86% -0.082 0.0331)
OKLCHoklch(40.86% 0.088 158)
XYZxyz(4.3759, 7.3563, 4.8030)
Luminance0.0736 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F5837 #580F30
analogous
#0F5813 #0F5837 #0F5458
triadic
#0F5837 #370F58 #58370F
tetradic
#0F5837 #130F58 #580F30 #54580F
square
#0F5837 #130F58 #580F30 #54580F
split-complementary
#0F5837 #580F54 #58130F
monochromatic
#041A10 #062416 #0F5837 #188C58 #21C178

Accessibility & contrast

On white

8.50
#0F5837 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#0F5837 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F5837
8.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F5837#FFFFFF#000000##FFFFFF
##0F58371.008.502.478.50
#FFFFFF8.501.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#575035
Deuteranopia (green-blind)
#4E4A39
Tritanopia (blue-blind)
#00574F
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #0f5837;
/* rgb */ color: rgb(15, 88, 55);
/* oklch */ color: oklch(40.9% 0.088 158.0);
Tailwind
colors: {
  custom: {
    50: '#5b886e',
    500: '#0f5837',
    950: '#000000',
  },
}
SCSS
$custom: #0f5837;
$custom-light: #5b886e;
$custom-dark: #000000;
JSON
{
  "hex": "#0f5837",
  "rgb": {
    "r": 15,
    "g": 88,
    "b": 55
  },
  "hsl": {
    "h": 152.877,
    "s": 70.874,
    "l": 20.196
  },
  "oklch": {
    "l": 0.40859,
    "c": 0.08846,
    "h": 158
  },
  "luminance": 0.07357
}

Semantic roles & 50–950 ramp

primary
#0F5837
secondary
#92315D
accent
#3A8BEE
background
#F5F8F6
surface
#E9F0EB
border
#C5CBC6
text
#040B07
muted
#797C7A

Preview Lab

Preview with #0F5837

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

Preview Lab → · Contrast checker → · Palette generator →

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