#0F4837#0F4837

#0F4837 is a dark, moderate teal. Relative luminance 0.050; OKLCH L 36.1% C 0.065 H 168.5°. Best body text is #FFFFFF at 10.49:1 contrast (WCAG AA passes).

Color values

HEX#0F4837
RGBrgb(15, 72, 55)
HSLhsl(162, 66%, 17%)
HSVhsv(162, 79%, 28%)
CMYKcmyk(79.2%, 0%, 23.6%, 71.8%)
CIE-LABlab(26.77, -22.83, 5.04)
CIE-LCHlch(26.77, 23.39, 167.55°)
OKLaboklab(36.06% -0.0635 0.0129)
OKLCHoklch(36.06% 0.065 168.5)
XYZxyz(3.2036, 5.0118, 4.4122)
Luminance0.0501 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F4837 #480F20
analogous
#0F481B #0F4837 #0F3D48
triadic
#0F4837 #370F48 #48370F
tetradic
#0F4837 #1B0F48 #480F20 #3D480F
square
#0F4837 #1B0F48 #480F20 #3D480F
split-complementary
#0F4837 #480F3D #481B0F
monochromatic
#051913 #051913 #0F4837 #1A7B5E #24AD84

Accessibility & contrast

On white

10.49
#0F4837 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#0F4837 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F4837
10.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F4837#FFFFFF#000000##FFFFFF
##0F48371.0010.492.0010.49
#FFFFFF10.491.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#464236
Deuteranopia (green-blind)
#3E3D38
Tritanopia (blue-blind)
#004843
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #0f4837;
/* rgb */ color: rgb(15, 72, 55);
/* oklch */ color: oklch(36.1% 0.065 168.5);
Tailwind
colors: {
  custom: {
    50: '#577b6d',
    500: '#0f4837',
    950: '#000000',
  },
}
SCSS
$custom: #0f4837;
$custom-light: #577b6d;
$custom-dark: #000000;
JSON
{
  "hex": "#0f4837",
  "rgb": {
    "r": 15,
    "g": 72,
    "b": 55
  },
  "hsl": {
    "h": 162.105,
    "s": 65.517,
    "l": 17.059
  },
  "oklch": {
    "l": 0.36061,
    "c": 0.0648,
    "h": 168.5
  },
  "luminance": 0.05012
}

Semantic roles & 50–950 ramp

primary
#0F4837
secondary
#823049
accent
#3F72E8
background
#F5F7F6
surface
#E9EEEB
border
#C5C9C6
text
#040907
muted
#797B7A

Preview Lab

Preview with #0F4837

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

Preview Lab → · Contrast checker → · Palette generator →

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