#0F5937#0F5937

#0F5937 is a dark, moderate teal. Relative luminance 0.075; OKLCH L 41.2% C 0.090 H 157.6°. Best body text is #FFFFFF at 8.39:1 contrast (WCAG AA passes).

Color values

HEX#0F5937
RGBrgb(15, 89, 55)
HSLhsl(152, 71%, 20%)
HSVhsv(152, 83%, 35%)
CMYKcmyk(83.1%, 0%, 38.2%, 65.1%)
CIE-LABlab(32.97, -30.74, 13.62)
CIE-LCHlch(32.97, 33.62, 156.10°)
OKLaboklab(41.16% -0.0831 0.0343)
OKLCHoklch(41.16% 0.09 157.6)
XYZxyz(4.4585, 7.5216, 4.8305)
Luminance0.0752 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F5937 #590F31
analogous
#0F5912 #0F5937 #0F5659
triadic
#0F5937 #370F59 #59370F
tetradic
#0F5937 #120F59 #590F31 #56590F
square
#0F5937 #120F59 #590F31 #56590F
split-complementary
#0F5937 #590F56 #59120F
monochromatic
#041A10 #062517 #0F5937 #188D57 #21C278

Accessibility & contrast

On white

8.39
#0F5937 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#0F5937 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F5937
8.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F5937#FFFFFF#000000##FFFFFF
##0F59371.008.392.508.39
#FFFFFF8.391.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#585135
Deuteranopia (green-blind)
#4F4B39
Tritanopia (blue-blind)
#005850
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #0f5937;
/* rgb */ color: rgb(15, 89, 55);
/* oklch */ color: oklch(41.2% 0.090 157.6);
Tailwind
colors: {
  custom: {
    50: '#5b896e',
    500: '#0f5937',
    950: '#000000',
  },
}
SCSS
$custom: #0f5937;
$custom-light: #5b896e;
$custom-dark: #000000;
JSON
{
  "hex": "#0f5937",
  "rgb": {
    "r": 15,
    "g": 89,
    "b": 55
  },
  "hsl": {
    "h": 152.432,
    "s": 71.154,
    "l": 20.392
  },
  "oklch": {
    "l": 0.41157,
    "c": 0.08993,
    "h": 157.6
  },
  "luminance": 0.07522
}

Semantic roles & 50–950 ramp

primary
#0F5937
secondary
#93315E
accent
#3A8DEE
background
#F5F8F6
surface
#E9F0EB
border
#C5CBC6
text
#040B07
muted
#797C7A

Preview Lab

Preview with #0F5937

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

Preview Lab → · Contrast checker → · Palette generator →

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