#0F5138#0F5138

#0F5138 is a dark, moderate teal. Relative luminance 0.063; OKLCH L 38.8% C 0.077 H 162.6°. Best body text is #FFFFFF at 9.32:1 contrast (WCAG AA passes).

Color values

HEX#0F5138
RGBrgb(15, 81, 56)
HSLhsl(157, 69%, 19%)
HSVhsv(157, 81%, 32%)
CMYKcmyk(81.5%, 0%, 30.9%, 68.2%)
CIE-LABlab(30.09, -26.89, 9.06)
CIE-LCHlch(30.09, 28.38, 161.37°)
OKLaboklab(38.79% -0.0735 0.0231)
OKLCHoklch(38.79% 0.077 162.6)
XYZxyz(3.8528, 6.2715, 4.7481)
Luminance0.0627 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F5138 #510F28
analogous
#0F5117 #0F5138 #0F4951
triadic
#0F5138 #380F51 #51380F
tetradic
#0F5138 #170F51 #510F28 #49510F
square
#0F5138 #170F51 #510F28 #49510F
split-complementary
#0F5138 #510F49 #51170F
monochromatic
#051A12 #051D14 #0F5138 #19855C #22B87F

Accessibility & contrast

On white

9.32
#0F5138 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#0F5138 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F5138
9.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F5138#FFFFFF#000000##FFFFFF
##0F51381.009.322.259.32
#FFFFFF9.321.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#504A37
Deuteranopia (green-blind)
#47443A
Tritanopia (blue-blind)
#00514A
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #0f5138;
/* rgb */ color: rgb(15, 81, 56);
/* oklch */ color: oklch(38.8% 0.077 162.6);
Tailwind
colors: {
  custom: {
    50: '#59826e',
    500: '#0f5138',
    950: '#000000',
  },
}
SCSS
$custom: #0f5138;
$custom-light: #59826e;
$custom-dark: #000000;
JSON
{
  "hex": "#0f5138",
  "rgb": {
    "r": 15,
    "g": 81,
    "b": 56
  },
  "hsl": {
    "h": 157.273,
    "s": 68.75,
    "l": 18.824
  },
  "oklch": {
    "l": 0.38794,
    "c": 0.07708,
    "h": 162.6
  },
  "luminance": 0.06272
}

Semantic roles & 50–950 ramp

primary
#0F5138
secondary
#8B3153
accent
#3C7FEC
background
#F5F8F6
surface
#E9EFEC
border
#C5CAC7
text
#040A07
muted
#797C7A

Preview Lab

Preview with #0F5138

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

Preview Lab → · Contrast checker → · Palette generator →

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