#0F5638#0F5638

#0F5638 is a dark, moderate teal. Relative luminance 0.070; OKLCH L 40.3% C 0.084 H 159.7°. Best body text is #FFFFFF at 8.72:1 contrast (WCAG AA passes).

Color values

HEX#0F5638
RGBrgb(15, 86, 56)
HSLhsl(155, 70%, 20%)
HSVhsv(155, 83%, 34%)
CMYKcmyk(82.6%, 0%, 34.9%, 66.3%)
CIE-LABlab(31.90, -29.17, 11.57)
CIE-LCHlch(31.90, 31.38, 158.37°)
OKLaboklab(40.29% -0.0793 0.0293)
OKLCHoklch(40.29% 0.084 159.7)
XYZxyz(4.2382, 7.0422, 4.8765)
Luminance0.0704 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F5638 #560F2D
analogous
#0F5615 #0F5638 #0F5156
triadic
#0F5638 #380F56 #56380F
tetradic
#0F5638 #150F56 #560F2D #51560F
square
#0F5638 #150F56 #560F2D #51560F
split-complementary
#0F5638 #560F51 #56150F
monochromatic
#051A11 #062216 #0F5638 #188A5A #21BE7C

Accessibility & contrast

On white

8.72
#0F5638 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#0F5638 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F5638
8.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F5638#FFFFFF#000000##FFFFFF
##0F56381.008.722.418.72
#FFFFFF8.721.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#554F36
Deuteranopia (green-blind)
#4C493A
Tritanopia (blue-blind)
#00564E
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #0f5638;
/* rgb */ color: rgb(15, 86, 56);
/* oklch */ color: oklch(40.3% 0.084 159.7);
Tailwind
colors: {
  custom: {
    50: '#5b866e',
    500: '#0f5638',
    950: '#000000',
  },
}
SCSS
$custom: #0f5638;
$custom-light: #5b866e;
$custom-dark: #000000;
JSON
{
  "hex": "#0f5638",
  "rgb": {
    "r": 15,
    "g": 86,
    "b": 56
  },
  "hsl": {
    "h": 154.648,
    "s": 70.297,
    "l": 19.804
  },
  "oklch": {
    "l": 0.40287,
    "c": 0.08449,
    "h": 159.7
  },
  "luminance": 0.07043
}

Semantic roles & 50–950 ramp

primary
#0F5638
secondary
#903159
accent
#3B86ED
background
#F5F8F6
surface
#E9EFEC
border
#C5CAC7
text
#040B07
muted
#797C7A

Preview Lab

Preview with #0F5638

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

Preview Lab → · Contrast checker → · Palette generator →

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