#0F4938#0F4938

#0F4938 is a dark, moderate teal. Relative luminance 0.052; OKLCH L 36.4% C 0.065 H 168.8°. Best body text is #FFFFFF at 10.34:1 contrast (WCAG AA passes).

Color values

HEX#0F4938
RGBrgb(15, 73, 56)
HSLhsl(162, 66%, 17%)
HSVhsv(162, 79%, 29%)
CMYKcmyk(79.5%, 0%, 23.3%, 71.4%)
CIE-LABlab(27.16, -23.05, 4.96)
CIE-LCHlch(27.16, 23.57, 167.86°)
OKLaboklab(36.39% -0.0641 0.0127)
OKLCHoklch(36.39% 0.065 168.8)
XYZxyz(3.2930, 5.1518, 4.5615)
Luminance0.0515 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F4938 #490F20
analogous
#0F491B #0F4938 #0F3D49
triadic
#0F4938 #380F49 #49380F
tetradic
#0F4938 #1B0F49 #490F20 #3D490F
square
#0F4938 #1B0F49 #490F20 #3D490F
split-complementary
#0F4938 #490F3D #491B0F
monochromatic
#051913 #051913 #0F4938 #197C5F #24AF86

Accessibility & contrast

On white

10.34
#0F4938 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#0F4938 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F4938
10.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F4938#FFFFFF#000000##FFFFFF
##0F49381.0010.342.0310.34
#FFFFFF10.341.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#474337
Deuteranopia (green-blind)
#3F3E39
Tritanopia (blue-blind)
#004944
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #0f4938;
/* rgb */ color: rgb(15, 73, 56);
/* oklch */ color: oklch(36.4% 0.065 168.8);
Tailwind
colors: {
  custom: {
    50: '#577c6e',
    500: '#0f4938',
    950: '#000000',
  },
}
SCSS
$custom: #0f4938;
$custom-light: #577c6e;
$custom-dark: #000000;
JSON
{
  "hex": "#0f4938",
  "rgb": {
    "r": 15,
    "g": 73,
    "b": 56
  },
  "hsl": {
    "h": 162.414,
    "s": 65.909,
    "l": 17.255
  },
  "oklch": {
    "l": 0.36394,
    "c": 0.06539,
    "h": 168.8
  },
  "luminance": 0.05152
}

Semantic roles & 50–950 ramp

primary
#0F4938
secondary
#833049
accent
#3F71E9
background
#F5F7F6
surface
#E9EEEB
border
#C5C9C6
text
#040907
muted
#797B7A

Preview Lab

Preview with #0F4938

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

Preview Lab → · Contrast checker → · Palette generator →

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