#0F4F31#0F4F31

#0F4F31 is a dark, moderate teal. Relative luminance 0.059; OKLCH L 38.0% C 0.081 H 157.7°. Best body text is #FFFFFF at 9.62:1 contrast (WCAG AA passes).

Color values

HEX#0F4F31
RGBrgb(15, 79, 49)
HSLhsl(152, 68%, 18%)
HSVhsv(152, 81%, 31%)
CMYKcmyk(81%, 0%, 38%, 69%)
CIE-LABlab(29.20, -27.73, 12.22)
CIE-LCHlch(29.20, 30.30, 156.21°)
OKLaboklab(38.01% -0.0751 0.0308)
OKLCHoklch(38.01% 0.081 157.7)
XYZxyz(3.5470, 5.9149, 3.8599)
Luminance0.0592 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F4F31 #4F0F2D
analogous
#0F4F11 #0F4F31 #0F4D4F
triadic
#0F4F31 #310F4F #4F310F
tetradic
#0F4F31 #110F4F #4F0F2D #4D4F0F
square
#0F4F31 #110F4F #4F0F2D #4D4F0F
split-complementary
#0F4F31 #4F0F4D #4F110F
monochromatic
#051A10 #051C11 #0F4F31 #198251 #23B671

Accessibility & contrast

On white

9.62
#0F4F31 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#0F4F31 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F4F31
9.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F4F31#FFFFFF#000000##FFFFFF
##0F4F311.009.622.189.62
#FFFFFF9.621.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E482F
Deuteranopia (green-blind)
#464333
Tritanopia (blue-blind)
#004E47
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #0f4f31;
/* rgb */ color: rgb(15, 79, 49);
/* oklch */ color: oklch(38.0% 0.081 157.7);
Tailwind
colors: {
  custom: {
    50: '#598169',
    500: '#0f4f31',
    950: '#000000',
  },
}
SCSS
$custom: #0f4f31;
$custom-light: #598169;
$custom-dark: #000000;
JSON
{
  "hex": "#0f4f31",
  "rgb": {
    "r": 15,
    "g": 79,
    "b": 49
  },
  "hsl": {
    "h": 151.875,
    "s": 68.085,
    "l": 18.431
  },
  "oklch": {
    "l": 0.38008,
    "c": 0.08118,
    "h": 157.7
  },
  "luminance": 0.05915
}

Semantic roles & 50–950 ramp

primary
#0F4F31
secondary
#89315A
accent
#3D8EEB
background
#F5F7F6
surface
#E9EEEB
border
#C5C9C6
text
#040A06
muted
#797C7A

Preview Lab

Preview with #0F4F31

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

Preview Lab → · Contrast checker → · Palette generator →

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